Results 1 to 7 of 7

Thread: Every Thing But VB6?

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    5
    Rep Power
    17

    Every Thing But VB6?

    Hi,

    Ok I'm New So Be Gentle With Me, I See All The Usual Suspects Here Bar VB?

    sfbm

  2. #2
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Every Thing But VB6?

    Hi and welcome.

    VB6 isn't compiled in the normal way, means that it can create regular DLLs. So I think that it is impossible to create an SDK for VB6.

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: Every Thing But VB6?

    I will just ditto what Mike said.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Every Thing But VB6?

    Hi,

    last Visual BASIC I tried was version 3 in Windows 3.1 ,
    but found following for VB6:

    http://www.vb-helper.com/howto_make_standard_dll.html

    So ... theoretically yes ?


    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Every Thing But VB6?

    sfbm,

    first welcome here. Be sure you will find this place a nice place where to talk about everything on technology with pure passion. No need to ask to be gentle, really

    Back to the question. It is an interesting question. I regularly use VB6 at work for some projects. I suppose we can create a SDK for thinBasic using VB6. I need to make some tests but thinking about it it seems possible. The biggest problem in creating modules for thinBasic using VB is the need to redistribute VB runtime (MSVBVM60.DLL in case of VB6).

    As soon as I will have a little spare time, I will try to put something together as a started SDK, just to test if it is possible.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #6
    Junior Member
    Join Date
    Jan 2008
    Posts
    5
    Rep Power
    17

    Re: Every Thing But VB6?

    Hi,

    All - Thanks For The Reply's, I Use VBAdvance (An Addin To Control The VB Compiler Process - http://www.vbadvance.com/download.aspx It's Now Freeware Although I've Been A Registered User Since It's Launch) You Can Add Exports To Dll's So That Should'nt Be An Issue. Incedtially With Tweakvb http://www.tweakvb.com/ You Can 'Add Inline-Assembly' And 'Statically link Assembler or C modules directly into your compiled Visual Basic executables' So There's Plenty Of Life Left In VB Classic.

    Psch - Yeah, Several More At PlanetSourceCode.com But I've Never Had Any Issed With vbAdvance.

    Eros - If You Get Time, I'd Certainly Be Very Interested As VB6 Is Still My Main Tool Of Choice.

    sfbm

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Every Thing But VB6?

    OK, I did a little step in this direction.

    Googling around about creating standard DLL in VB6 it seems it is not possible. The only kind of DLL that VB6 can produce seems ActiveX DLLs that are something completely different.

    But, I found an interesting document here: http://www.windowsdevcenter.com/pub/...ll.html?page=1
    It seems it is just a matter of linker plus few other things. I followed the method described in the document, I created a proxy linker, mainly a fake linker that intercept VB6 linking process command line, understand it and change on the fly command line passing to real linker a modified command.

    Well, to make the story short, I was able to create a standard DLL using VB6 and I was able to use it exactly like all other DLL. This is the first step but the most important one.

    I will try to go on in next days but it seems quite possible to have a thinBasic SDK for VB6. Stay tuned.

    Ciao
    Eros

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •