SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

  1. #1
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,853

    SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    I have installed W7 Sp1 on my computer.
    Compiled VB6 software - run it on my machine (from Source and exe) and it all works fine.
    I then release it to a client running my application on Windows 2000 and nothing works anymore

    "VB 6 runtime error 430 - Class does not support automation "

    Apparently all access to database classes have changed in W7 SP1 and now I have major problems

    Other than reeling back my computer to W7 without Sp1 (which I installed so I could get SQL Server 2012 Running),
    What are my options ?

    Thanks

    http://support.microsoft.com/kb/2517589

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,786

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    One option might be to install the Virtual PC and XP Mode under Windows 7 then use that to build your exe under XP. Assuming you are running either the Pro or Ultimate version of Windows 7.
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,877

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Windows 2000 is out-of-band. Anyone silly enough to pay for a program pays 25% per previous version to ATTEMPT to make compatible. 2000, 2003, 2008, 2008 R2, and now 2012
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,853

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Now this is a good idea, thanks
    "One option might be to install the Virtual PC "

    I overcame the problem by removing the Service pack 1 (Control Panel, Display Updates, Uninstall Service Pack)
    NB: If your machine comes with Service Pack 1 already installed, aparently you cant un-install it

    My next test is to install on a Server running SBS 2011 Standard - I will be testing this today

  5. #5
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,877

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Forgot about 2011. Add 25% !!!
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  6. #6
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,853

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Tried and tested using the exe compiled without W7 SP1 and it all works fine on SBS 2011

    Questions will again arise when W8 is released - any comments on VB6 and W8 ? (ie, does VB6 work on W8?)

  7. #7
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,877

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Hope they paid well... Haven't installed VB6 since Vista...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  8. #8
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,074

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Quote Originally Posted by George1111 View Post
    Questions will again arise when W8 is released - any comments on VB6 and W8 ? (ie, does VB6 work on W8?)
    Have a look here George :

    http://blogs.msdn.com/b/msdnmagazine.../10267361.aspx

  9. #9
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,786

    Re: SERIOUS PROBLEM They Finally Got Me (My VB6 Programs no longer run)

    Quote Originally Posted by George1111 View Post
    Tried and tested using the exe compiled without W7 SP1 and it all works fine on SBS 2011

    Questions will again arise when W8 is released - any comments on VB6 and W8 ? (ie, does VB6 work on W8?)
    VB6 is a bit tricky to get up and running under Windows 8 but if you jump through the right hoops it does seem to work.

    You may want to take a look at this thread I started on VB forums back when I was trying to get VB6 up and runnign under Windows 8
    http://www.vbforums.com/showthread.p...s-8&highlight=
    Always use [code][/code] tags when posting code.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center