locked
VB6 COM Support in Windows 10 RRS feed

  • Question

  • Hi there,

    Will Windows 10 support enterprise apps written in VB6 or apps using VB6 COM controls?

    Cheers,

    Keith

    Wednesday, October 8, 2014 2:58 PM

Answers

  • I've tried that and got it installed mostly, but the very end of the
    install still locks up.  I don't really know what I'm missing yet because
    the IDE works.
     
     

    Bob Comer

    Try the method posted at the link below. Tested and works for me. The key is to *not* install the data access components during setup.  Unchecking the data access checkbox has so far had no ill effects on my programs that utilize Access or MySQL databases.

    http://www.fortypoundhead.com/showcontent.asp?artid=23993


    http://www.fortypoundhead.com

    Thursday, October 30, 2014 4:31 PM
  • I'm testing our own VB6 app on Windows 10 and for the most part it's
    working right, but there is some kind of issue going on that I haven't
    pinned down yet.  I didn't do the original programming on it, and I'm not
    even a VB programmer, so it'll take me awhile to figure out what the
    problem is. 
     
    Best you can do is try your app. 
     

    Bob Comer
    Sunday, October 19, 2014 2:23 AM

All replies

  • If you have any Apps , you could install Windows 10 Technical Preview and try them out and if there was any error, report them through feedback form.
    Saturday, October 18, 2014 7:41 PM
  • I'm testing our own VB6 app on Windows 10 and for the most part it's
    working right, but there is some kind of issue going on that I haven't
    pinned down yet.  I didn't do the original programming on it, and I'm not
    even a VB programmer, so it'll take me awhile to figure out what the
    problem is. 
     
    Best you can do is try your app. 
     

    Bob Comer
    Sunday, October 19, 2014 2:23 AM
  • VB6 programming seems OK on the Windows 10 technical preview. Apps run OK with the runtime, the VB6 IDE installs and runs too.

    Best thing is to try your own apps.

    Remember if you are bringing an app from Windows XP or earlier, you may get an issue with UAC (User Account Control) just like you would in Vista, 7 or 8.x.

    Tuesday, October 21, 2014 6:41 AM
  • Did you do anything to special install the IDE?  I haven't been able too,
    it just locks up taking high CPU and not writing to disk.  (Visual Studio 6
    Ent)
     
     
     
     
     

    Bob Comer
    Tuesday, October 21, 2014 1:18 PM
  • There is a VB6 programming utility you can use to install VB6 on Windows 7, 8 or 10

        http://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx

    It has had over 24,000 downloads so I guess it is safe to use !

    Thursday, October 30, 2014 1:53 PM
  • I've tried that and got it installed mostly, but the very end of the
    install still locks up.  I don't really know what I'm missing yet because
    the IDE works.
     
     

    Bob Comer
    Thursday, October 30, 2014 3:34 PM
  • I've tried that and got it installed mostly, but the very end of the
    install still locks up.  I don't really know what I'm missing yet because
    the IDE works.
     
     

    Bob Comer

    Try the method posted at the link below. Tested and works for me. The key is to *not* install the data access components during setup.  Unchecking the data access checkbox has so far had no ill effects on my programs that utilize Access or MySQL databases.

    http://www.fortypoundhead.com/showcontent.asp?artid=23993


    http://www.fortypoundhead.com

    Thursday, October 30, 2014 4:31 PM
  • Yep, that got it installed, thanks.  I haven't found anything glaringly
    missing without installing the data access components...
     
    My app still isn't acting quite right, but it's a start.
     
     

    Bob Comer
    Thursday, October 30, 2014 5:55 PM
  • Microsoft have just stated:-

    "Windows is committed to compatibility. The Windows compatibility team has been looking at user telemetry and reacting to feedback from Windows Insiders to ensure that existing apps work well with Windows 10. Windows 10 is designed to run Windows 8.1 and Windows Phone 8.1 software programs. And yes, everyone’s favorite VB6 Runtime will continue to work, too. In the near future, the compat team will go more in-depth on this topic on Blogging Windows."

    The VB6 programming IDE will install and run in Windows 10.

    Microsoft also state that 'Project Centennial' Universal Windows Platform Bridge will work with VB6 code.

    Thursday, July 16, 2015 9:40 AM
  • We were just told by Microsoft escalated support that our VB6 executable is only supported if it was compiled BEFORE April 2008.  Because our application was compiled AFTER that, it's an "unsupported scenario". 
    Tuesday, July 21, 2015 7:09 PM
  • Very odd.
     
    fwiw, I haven't had any problems running VB6 (and VB5) apps on Win10.
     
    It's a little odd installing VS6, but it can be done.
     
     
     

    Bob Comer
    Tuesday, July 21, 2015 7:15 PM

  • Our application really pushed VB6 to the limits.  We use a lot of OCX controls, some written in-house and a lot of third party controls.  The issue we are having is that some of the controls (including one of Microsoft's) will fail to load when a form loads. The error is (339, {control} or one of it's dependencies not registered).  However, the same control(s) work in different executable on the same machine.  At first we thought the issue was isolated to ActiveX exe's, but if we change the project settings to non-ActiveX (stand alone) the issue persists.

    Also, this issue ONLY happens on 32-bit Windows 10, it WORKS on 64-bit Windows 10 and every previous version of Windows back to Windows 2000.

    Any thoughts? Microsoft says because the executable was compiled after April 2008 that it's an "unsupported scenario" and the VB6 symbol files for windbg are no longer available on the Microsoft symbol server for public download.


    • Edited by srj444 Tuesday, July 21, 2015 8:10 PM
    Tuesday, July 21, 2015 8:10 PM
  • No clue at all.  I've only used the 64-bit Win10 so far.
     
    We only have a few OCX controls.
     

    Bob Comer
    Tuesday, July 21, 2015 8:16 PM
  • Have you tried running as Administrator ?  (right-click 'Run as Administrator')

    Do this both on the install and when running the application (at least the first time).

    What installer are you using?

    Is the VB6 programming IDE installed on the 32 bit Windows 10 PC ?  If so, does the application run under the IDE ?

    I've never heard of Microsoft using a "compiled after April 2008" excuse before. I guess this may be someone in Microsoft misunderstanding the "it just works" support.  Can you find a .exe compiled with a date before April 2008 ?


    • Edited by Sten2005 Tuesday, July 28, 2015 5:33 PM VB6 programming
    Tuesday, July 28, 2015 5:32 PM
  • I've tried that and got it installed mostly, but the very end of the
    install still locks up.  I don't really know what I'm missing yet because
    the IDE works.

    Hi Bob,

    for me "only" SP6 of VB6 hang on install.

    Check with ProcMon and found that two keys could not be written to: owner and full access was TrustedInstaller and not local admins.

    Take ownership an assign full access to these two keys:

    HKEY_CLASSES_ROOT\RDSServer.DataFactory
    HKEY_CLASSES_ROOT\RDSServer.DataFactory\clsid

    Can even be done while the SP6 setup is running ;-)


    -- SvenC

    Tuesday, July 28, 2015 9:27 PM
  • Good to know, thanks!
     
     

    Bob Comer
    Tuesday, July 28, 2015 11:53 PM