in Search

VB6 Pro ActiveX DLL's

Last post 04-24-2006, 16:21 by Branden Russell. 7 replies.
Sort Posts: Previous Next
  •  04-23-2006, 20:34 16736

    VB6 Pro ActiveX DLL's

    I just got the dev. kit and it says VB can't make DLL's. I have VB6 Pro which can create ActiveX DLL's. Shouldn't this work for MSX?
  •  04-23-2006, 20:53 16738 in reply to 16736

    Re: VB6 Pro ActiveX DLL's

    No. You cannot make an external 32bit dll using VB. You can use VB to work with the MSFL, but not MSX. The closest alternative available might be Power Basic, but there are quite a few differences. Still, IMO, it is better than learning a language that is altogether different. There is more info available on this topic in the programming forum. Truly, it has disappointed quite a few of us; but, there remains no light at the end of the tunnel. It would require a complete rewrite of the source code to allow this to ever take place... at least that's what my reliable sources state... :(
    Traders' Consortium
  •  04-23-2006, 23:17 16742 in reply to 16736

    Re:

    There is no rewrite that we could do to allow VB 6 to do MSX. It is not capable of compiling Win32 DLLs.

    Yes, VB.NET can compile a .NET DLL and MetaStock would have to be rewritten completely, to allow .NET DLLs to work properly.
    Equis International, Inc.
    A Thomson Reuters Company
    90 S. 400 W Suite 620
    SLC, UT 84101
  •  04-24-2006, 0:03 16744 in reply to 16736

    Re: Re:

    VB.NET... that's what I meant. Sorry for not being clear.
    Traders' Consortium
  •  04-24-2006, 0:14 16747 in reply to 16736

    Re: Re:

    Ahhh, I remember the sadness of when I got my dev kit and finding the same thing :cry:
  •  04-24-2006, 3:26 16751 in reply to 16736

    Re: Re:

    I used to be a big VB programmer, never did much work in C++....

    There is not a lot of differences. Contextually there are, but logically, programatically there isn't. So it should not be that hard for you to "learn" another language.

    If you're going to use VisualStudio6 as your IDE, books I recommend:
    "Beginning Visual C++", Ivor Horton, Wrox Press
    "Teach Yourself Visual C++ 6 in 21 Days", Davis Chapman, SAMS publishing


    wabbit :D

    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  04-24-2006, 16:01 16759 in reply to 16736

    Re: Re:

    Thanks for the replies. By the way, it turns out my Firefox browser doesn't work with the forum. When I use it, I log on fine but I don't see the reply boxes at the bottom. When I use Internet explorer they show up. I have books on C++, etc. as well as three new ones on VS2005 covering VB and C++. I have put them away and gone back to VB6, which, for me, are obvious reasons and which, for the rest of the world, don't seem to be. Can't fix my car, tv, and I can't stand managed code. Oh well.

    Just thought of an experiment I could try. Can someone send me the most simple PowerBasic program possible that does something in Metastock. I can try compiling it as an ActiveX DLL and see, for myself, if it works or doesn't. I'll let you know the results.
    Bill
  •  04-24-2006, 16:21 16761 in reply to 16736

    Re:

    wjhorsley:
    ...By the way, it turns out my Firefox browser doesn't work with the forum....

    I often use FireFox on the forum. What version are you on? I am on the latest, but haven't ever noticed a problem.

    wjhorsley:
    ...I have put them away and gone back to VB6, which, for me, are obvious reasons and which, for the rest of the world, don't seem to be. Can't fix my car, tv, and I can't stand managed code. Oh well.

    C++ MSX DLLs don't need to be managed code. Just do a plain Win32 DLL (which is, I believe, all VC6 can do).
    What is the problem with managed anyway?

    wjhorsley:
    Just thought of an experiment I could try. Can someone send me the most simple PowerBasic program possible that does something in Metastock. I can try compiling it as an ActiveX DLL and see, for myself, if it works or doesn't. I'll let you know the results.

    A PowerBasic example comes with the MetaStock Developers Kit. If you have the MDK, you have the sample.
    Equis International, Inc.
    A Thomson Reuters Company
    90 S. 400 W Suite 620
    SLC, UT 84101
View as RSS news feed in XML