Results 1 to 4 of 4

Thread: I can not run a VB6.0 application on Vista

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    1

    Thumbs down I can not run a VB6.0 application on Vista

    I have Vb 6.0 appplication which I packaged & developed on Windows XP SP2 the package is running fine on Xp but it does not work on Vista. What can I do to make it work on Vista?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: I can not run a VB6.0 application on Vista

    Welcome to the Forums.

    Thread Moved from VB FAQ Forum

    You have to re-code your app to adhere to the new Vista security rules.
    If your app accesses the registry or writes to it then you will need to elevate a separate process to do that task. Then any files installed may use virtualization if you install them to the root drive folder or Program files etc.

    Search Microsoft for "File and Registry Virtualization" for details as its a bit involved.


    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I can not run a VB6.0 application on Vista

    Additional issues will plague programs that use long-deprecated technologies such as DAO 3.5, which can impact several of the early database controls packaged with VB6. The suggested course is to move to DAO 3.6 or all the way to ADO.

    There are other non-mainstream VB6 components that are no longer supported in Vista. In addition the DHTMLEdit control was removed from Vista but a replacement can be downloaded from Microsoft if needed in your VB6 applications.

    For some details that include lists of supported and unsupported components see Support Statement for Visual Basic 6.0 on Windows®Vista™and Windows®Server 2008™.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: I can not run a VB6.0 application on Vista

    Have you looked through here?

Posting Permissions

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



Click Here to Expand Forum to Full Width