Windows > Software Development for Windows Client Forums > General Windows Development Issues > Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?
Ask a questionAsk a question
 

AnswerVisual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

  • Friday, May 26, 2006 7:32 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Does anyone know how to get around the MDAC check in the Service Pack 5 setup of Visual Studio 6.0?  For some reason it doesn't detect MDAC 2.5 or higher which it requires (even though Vista obviously has a later version - 6.0)  and the setup will not continue from that point. 

    I've tried every registry key I could think of to trick it into thinking MDAC is installed.

    Thanks

    Ted.

Answers

  • Friday, June 30, 2006 4:41 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    So I know there was the whole 'copy your files over from XP' but i wasn't satisfied with that, so I did some digging, and figured out ... it checks for mdac which makes it fail, but we're going to remove that check for mdac.

    how to make service pack 5 install on vista beta 2 without another pc!

    Tutorial:
    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

    Step 2) Replace the following line

    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    -with-


    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    Step 3) Delete the following lines leaving only a carriage return where it was


    36 Depend "27 ? : 37"
    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

    Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf
    Step 5) Run setupsp5.exe

    I would offer a download link to the fixed file, but I believe that may be a copyright violation.

    guideX

    PS> Please take note that I am the first living human to ever run visual studio 6 service pack 5 successfully from vista  

  • Saturday, February 24, 2007 9:41 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Tutorial: How to install Visual Studio 6 With Service Pack 5 on Windows Vista RTM
    - If you use Visual Studio.NET, do not install Visual Studio 2002, 2003, 2005 or 2008 first. If you do, this tutorial will not work. You must install them in this order...
    1. Visual Studio 6.0
    2. Service Pack 5
    3. Visual Studio 2002, 2003, 2005 or 2008
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')

    - You may encounter some strange 'Yes/No' questions which you may not know the answers to that have not prompted you during Visual Studio Setup before. I don't remember what I clicked exactly, but I remember one of them said 'Do you want to overwrite your 'blah blah' settings?' and I clicked 'No'.
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598ent.stf' here's how to do that (note some of the spaces have been truncated, try to not remove the extra space in the stf file when modifying it. If you do, this will not work at all, and you'll get a "Setup Damaged" error)...

    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

    Step 2) Replace the following line

    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    -with-


    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    Step 3) Delete the following lines leaving only a carriage return where it was


    36 Depend "27 ? : 37"
    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

    Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf

    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup should work fine now.


All Replies

  • Monday, May 29, 2006 7:19 AMGaneshm Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Visual studio 6.0 is not supported on Win Vista.
  • Monday, May 29, 2006 1:20 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Totally untrue - the support on Vista has been committed to by Microsoft until March of 2008 

    http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

    I know for a fact that it runs perfectly on Vista as I have run it successfully on many previous builds of Vista (as upgrades of an XP machine).  I'm asking how I can get a clean build of Vista to allow me to install SP5.  

  • Monday, June 12, 2006 11:47 AMGlen99 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Ted,

     

    Did you get any more info about this ? I am running into the same issue. I  am digging now but if you got a workaround from another source it would be appriciated.

     

    Glen

  • Monday, June 12, 2006 2:35 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Yes, I did - I even went so far as to file a Vista bug with the Microsoft Beta Client utility (you should do the same: get it at http://go.microsoft.com/fwlink/?LinkId=43655 )

    See:

    http://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=82726&SiteID=4

    (note: you must be a member of the Vista Beta program to view the above bug)

    The response that I got is that Microsoft "won't fix" it.   You can vote on this suggestion if you disagree.

    Based on this description:

    http://msdn.microsoft.com/vbrun/vistasupport.aspx

    they should at least provide support for the IDE until at least March of 2008.  

    The workaround for now is to use another machine (an XP machine) to install the service pack, by using a mapped network share to your Vista drive (change some registry keys, there are several of them, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0 and 6.0\Setup\ (and all keys in subfolders) that are pointing to your own install on XP to the network drive) e.g. map a drive on your XP machine to your Vista machine (e.g. M: ) then change those registry keys to point to your M: copy of Visual Studio. Then install the service pack on your XP machine, and your Vista machine will get updated.  Don't forget to change the registry keys back to C: and then reinstall under XP so your XP machine is not broken. 

  • Saturday, June 24, 2006 12:06 AMstrontium90 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Can you be more exact as I have run into a brick wall when trying to install vb6....Are you sure these are the correct registry changes?
  • Monday, June 26, 2006 2:42 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Here they are (each key is followed by the value name you need to change)

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0]
    InstallDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup]
    VsCommonDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Developer Network Library - Visual Studio 6.0a]
    ProductDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Basic]
    ProductDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++]
    ProductDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual InterDev]
    ProductDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual SourceSafe]
    ProductDir

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Studio]
    ProductDir

     

  • Wednesday, June 28, 2006 9:50 AMstrontium90 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Cheers....have it running now...got round it in a different way....copied entire visual studio 6 folder from xp and altered registry HKEY_Local_Machine\SOFTWARE\Microsoft\VisualStudio\6 from destination C: to X: where I have Vista....Had to install MDAC sp7 to get Access to work
  • Thursday, June 29, 2006 2:17 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm having the same problem with Visual Studio 6. I get as far as installing service pack 5 and it says I need to install MDAC 2.5, then I install MDAC 2.8 and it installs ok, but I get the same problem. It's horrible, I use Visual Studio 6 for everything.. Been trying to switch to .net, but the languages are too different.
  • Thursday, June 29, 2006 1:21 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    You'll need a non-Vista machine and copy over or use the trick I mentioned, until someone can figure out what the SP5/SP6 setup process is using to determine whether MDAC is installed.  I've tried using filemon and regmon utilities from www.sysinternals.com but have never been able to figure out what it's checking. 

    Can someone in Microsoft with access to the source code to SP5/SP6 setup tell me what specifically it's checking for (e.g. a specific file, version info, registry key etc) then at least we can put those things in place temporarily before installing. 

  • Friday, June 30, 2006 4:41 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    So I know there was the whole 'copy your files over from XP' but i wasn't satisfied with that, so I did some digging, and figured out ... it checks for mdac which makes it fail, but we're going to remove that check for mdac.

    how to make service pack 5 install on vista beta 2 without another pc!

    Tutorial:
    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

    Step 2) Replace the following line

    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    -with-


    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    Step 3) Delete the following lines leaving only a carriage return where it was


    36 Depend "27 ? : 37"
    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

    Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf
    Step 5) Run setupsp5.exe

    I would offer a download link to the fixed file, but I believe that may be a copyright violation.

    guideX

    PS> Please take note that I am the first living human to ever run visual studio 6 service pack 5 successfully from vista  

  • Friday, June 30, 2006 3:50 PMYoussef Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    GuideX,

    You rock!!!!!!!!!!!!. How in the world did you figure that one out? My Goodness.

    That worked like a charm. Amazing.

    Thanks a million. Just made my day.

     

  • Tuesday, July 04, 2006 2:17 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Guidex, you are the man, this is what I've been waiting for - thanks!

     

  • Monday, July 17, 2006 5:06 AMEvan Lin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    guideX

    Thanks a lot, we have confuse it for a whille.

  • Saturday, July 22, 2006 5:48 PMNumber4 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    GuideX I think we all owe you a beer or 5.
  • Wednesday, July 26, 2006 10:06 AMEvan Lin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Dear All,

    I think it should be noted, the Vista beta 2 build 5472 can not install VC6 any more.

  • Wednesday, July 26, 2006 1:28 PMoz4evermore Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I couldn't get sp5 to install even with the change to the stf file.  Running setupsp5.exe resulted in a corrupted file error.

    So I tried sp6 and it installed no problem.  I have build 5384 so I don't know if it works /w 5472.


  • Friday, October 06, 2006 4:04 PMChristoph85 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I've a clean install of vista, and I even cannot install visual studio 6,

    I get always get the message that the setup has stopped working.

    How can I install visual studio 6 on vista?

  • Monday, November 27, 2006 8:49 PMTed_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Christoph85, instead of running setup.exe directly, you need to right click setup.exe and then choose "run as administrator"

     

  • Monday, November 27, 2006 9:15 PMChris Mayo - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks for posting on these issues.  I'm sorry that you had issues on early versions of Vista.

     

    I thought I'd reply with details on how to get Visual Basic 6.0 SP6 installed on Vista. 

     

    The Visual Basic 6.0 IDE and SP6 setup needs to be run with UAC on, with the local user running as Admin, running with elevated privileges (right click on the setup exe and select “Run As Administrator…”.

     

    Visual Basic 6.0 applications need to be run under the same security/runtime settings (UAC/Admin/Elevated).

     

    If you are having issues running under the above environment on Vista RTM, please post your issues on this forum or contact support directly and we’ll help you resolve the issue.

     

    Full details on our support of Visual Basic 6.0 running on Vista can be found at http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

     

    Thanks,

    Chris Mayo

    Visual Basic Program Manager

  • Thursday, February 15, 2007 4:27 PMRory Cahill Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    guideX:

    Read your post on installing VS6 Service Pack 5 on Vista Beta 2.

    You are a god!

    I am currently on Vista Ultimate.  Can you provide, or direct me to any good info on installing Service Pack 6?

    I tried using your directions for Service Pack 5, (with minor changes), but no luck.

    Should I just stick with Service Pack 5?

    Thanks!

    Rory

  • Monday, February 19, 2007 10:13 AMAndrea_A Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Situation about this issue is horrible if you have Vista 64 bit.

    No way to install SP5 or SP6

    (and installing VS too is not easy, even if feasible)

  • Wednesday, February 21, 2007 5:31 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Dear VS programmers,
       So it has been a few months since I tried the beta 2 (how HORRIBLE! oh jeez it was terrible) Anyhow, I have switched to Vista RTM dual booting with eComStation 1.2.1 (it's real nice, OS/2 is back! And so are the days of true multitasking) As for Visual Studio 6 with service pack 5 on RTM, I have not tried it. And for those wondering if they should try service pack 6 with vista - I would not recommend installing sp6 on any os. It is documented that their are numerous problems with sp6, including the problem with windows common controls. SP5, although older, is a much stabler service pack and would recommend it for Visual Studio 6 over SP6 (I have heard other programmers say this too).

    Anyhow, i'm gonna see how hard it is to install vs6 under vista rtm.
  • Friday, February 23, 2007 10:38 AMbronski Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks to guideX for his efforts regarding the installation of SP5. Unfortunately, that fix doesn't seem to work any more for the Vista final release.

    We (a small IT company) have set up a test machine under Vista Business. Installation of Visual Studio 6.0 Professional worked (though some error messages concerning unregistered DLLs occurred). However, update to SP5 (with prior modification of sp598ent.stf as described above by guideX) failed with an error message:

    "Object 11

    Your Setup Files may be damaged. Try restarting the setup program from where you originally started it."

    Update to SP6 failed, too.

    We will probably stay with Windows XP for the time being, because there are still important projects developed under VS6 and upgrading to VS2005 for some reasons is not an option at this time. Too bad.
  • Saturday, February 24, 2007 9:41 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Tutorial: How to install Visual Studio 6 With Service Pack 5 on Windows Vista RTM
    - If you use Visual Studio.NET, do not install Visual Studio 2002, 2003, 2005 or 2008 first. If you do, this tutorial will not work. You must install them in this order...
    1. Visual Studio 6.0
    2. Service Pack 5
    3. Visual Studio 2002, 2003, 2005 or 2008
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')

    - You may encounter some strange 'Yes/No' questions which you may not know the answers to that have not prompted you during Visual Studio Setup before. I don't remember what I clicked exactly, but I remember one of them said 'Do you want to overwrite your 'blah blah' settings?' and I clicked 'No'.
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598ent.stf' here's how to do that (note some of the spaces have been truncated, try to not remove the extra space in the stf file when modifying it. If you do, this will not work at all, and you'll get a "Setup Damaged" error)...

    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

    Step 2) Replace the following line

    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    -with-


    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    Step 3) Delete the following lines leaving only a carriage return where it was


    36 Depend "27 ? : 37"
    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

    Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf

    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup should work fine now.


  • Friday, March 23, 2007 8:41 AMsuselski Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    In My downloded SP5 ver. 6.0.0.0.0131 (1033):

    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'
    Step 2) Replace the following line

    13    Group 28 32 34 29 30  26 27 14 25  20 18 19 15 35 21 22 24 23

    -with-

    13    Group 28 34 29 30  26 27 14 25  20 18 19 15 35 21 22 24 23

    Step 3) Delete the following lines leaving only a carriage return where it was

    32 Depend "27 ? : 37"
    33 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"


    --------------------------------------------------------------------------------
    guideX - Thank you again
     
     
     

  • Monday, March 26, 2007 12:06 AMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    why use service pack 5 when 6 works perfectly on vista? i've never had an issue on Vista, VB6 runs flawlessy with GDI+  i stoped developing on XP due to it crashing so much, Vista is a god send! well a little over exaduration but it's still good
  • Sunday, April 01, 2007 2:27 PMAndrea_A Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer

    As far as I can understand, nobody has still tried to installa SP5 or SP6 on a Vista x64 machine 

     

    Too bad

    • Proposed As Answer byIvo Haarmann Tuesday, April 07, 2009 9:36 PM
    •  
  • Wednesday, April 04, 2007 4:01 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Well I don't know about anyone else, but my machine is completely unable to run Vista 64. I've had this same machine (more or less) since early 2004 a Athalon XP 2100 Processor with 512 MB memory/gforce 4 so, there just isn't any possibility of 64..

  • Wednesday, April 04, 2007 4:39 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Well then you are lucky. When I run Service Pack 5 or 6 with Vista 5384 or vista rtm, I get a mdac error and setup WILL not continue. Maybe it was some difference between the two pc's or installations, or perhaps you installed something additional
  • Sunday, April 08, 2007 4:41 PMHernan1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Guidex,

    You have really done a great job, I have been searching for long and it seems you are the only one who solved this issue. My problem is the following:

    I live in Argentina, so I use Visual Studio 6 in spanish. When I looked for the file sp598ent.stf, I found that in my version it is called sp598vbo,stf (and also sp598vbo.dll).

    Inside the file, i got this information "App Version 6.0.0.0.0131 (3082)"

    I applied the same you did with the English version, but I get an error message telling me that the installation files are corrupt.

    Is there any way to solve it? Could I send you or upload my sp598vbo.stf so that you could see it???

    Im running Windows vista Ultimate

     

    Thanks a lot

     

    Hernan

  • Sunday, April 08, 2007 7:08 PMProZak Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I haven't tested this myself, but it seems simple enough.

     

    Find the line (29 in English edition) that says 13    Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43, and remove 38, then find the lines saying

     

    36 Depend "27 ? : 37" 

    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

     

    And remove them Smile

     

    All credit goes to guideX for obvious reasons Wink!

  • Sunday, April 08, 2007 8:15 PMHernan1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanx Prozak! I joined you explaation with guideX one, and I could finally solve it. Actually, I do not understand the things I did, but I know it has worked.

    When I read your instructions, I looked for that line, and I found it was: 13    Group 28  34 29 30 26 27 14 25 17 15 35 21 22. As you can see, the numbers are completely different, but what I assumed is: If he deleted the 38, which was in the second position, I will do the same. So I deleted the 34 in my file. Then I deleted the other two lines and that´s it.

    Thanks a lot to all of you.

     

    Doing now my little contribution, I will give the adapted steps to solve this issue in the spanish version of the SP5 with Windows Vista Ultimate

     

    1. Look for the file sp598vbo.stf. The version referred in the second line of this file is: App Version 6.0.0.0.0131 (3082)

     

    2. Search the line 13    Group 28 32 34 29 30 26 27 14 25 17 15 35 21 22   and replace it with 13    Group 28  34 29 30 26 27 14 25 17 15 35 21 22 . The value 32 (in second place) was deleted.

     

    3. Delete the following lines: 

     

     32    Depend "27 ?  : 33"      
       33  IsWin95  CustomAction "sp598vbo.dll,CheckForMDAC"

     

    I hope this can be useful to more people with the same problem. And of course don´t forget to thank guideX and ProZak, who have really found the solution.

     

    Cya!

  • Tuesday, April 10, 2007 2:34 PMTorsten Borg C Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It was like a miracle ...setupsp5.exe succeeded!

    Thanks for this outstanding tutorial!

     

  • Tuesday, April 10, 2007 2:56 PMTorsten Borg C Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    After suceesful setupsp5, setupsp6 went like a dance...

    Again, many thanks guideX !

     

  • Tuesday, April 10, 2007 2:58 PMTorsten Borg C Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    After successful setupsp5.exe, setupsp6.exe went like a dance...

    Again, many thanks guideX !

     

  • Wednesday, April 11, 2007 12:06 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Your welcome I am glad to be of help. I have since moved on to (or more to the point PUSHED INTO) Visual Studio 2005, however still use Visual Studio 6 for my legacy VB applications which there are many unfinished ...

    (ranting begins) ...and it's wrong of Microsoft to simply stop support for them, and by not supporting legacy vb6 applications source code (with com support) Microsoft really wastes peoples time, but whatever. I will continue on without my beloved VB6. I wish there was a vb6/vb2005 equivalent.. What a shame. Please forgive my angst, but Microsoft wronged developers with vb.net and vb2005. I understood the reason to abandon the VB6 base source code, but it isn't like the source can't go through some minor updates! Make some minor fixes and push on! Or make a vb separate from VB2005, make like a vb6.0 Service pack 7, who cares what it's called as long as it's Vista compatible, why do you guys have to control what Structure (no pun intended) I put my source code in by changing the language?! (end rant)

    Even after these upgrades to the service pack 5, Visual Studio 6 doesn't really function perfectly anymore. There are issues with the common controls, some of the dialogs no longer work, like when you open a file in vb6 under vista there are errors, and it freezes.  To be honest, this app works better under Debian and Ubuntu Linux with wine than it does under windows vista rtm, how lame is that!



  • Thursday, May 17, 2007 4:32 PMNoel1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    GuideX, Prozak and Hernan,

     

    You are gods!!!!

     

    I've done the steps exactly as Hernan says for the spanish version of SP5 and it works like a miracle.

     

     

    Thank you all.

  • Friday, May 18, 2007 5:20 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    * guideX rides off in the sunset with heroic music playing!
  • Tuesday, May 22, 2007 12:23 PMtoni2699232 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks guidex it worked perfectly here too.

     

    I agree and understand you completely re Microsofts leaps in technology (languages) as I'm runnig a few Visual Foxpro apps on Vista - and not without problems!

     

    1) the file save dialogs first seem to work and then when you confirm saving, Vista complains that you (the client) are not allowed even though you are an admin on the machine.

     

    2) the captions of the pages of the pageframes (Tabs in VB), if you have any dots at the end they appear in front and if you put some dots in the begining of the caption, they appear at the end! Wonder what vision vista views...

     

    I'm meeting some new ones every day but for now thanks to all.

  • Thursday, May 24, 2007 1:14 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Situation is bad for those of us who use Office VB6 For applications at their job which still has built in VB6'ish language and layout. So even though I'm getting used to using VB2005 at home, at work I have to use VB6 for Office Sad

    Situation is worse for those who have Vista 64, no compatibility with the service packs from what I hear. Good thing my machine is an antique POS which can't run Vista 64.

    I'd say it'd cost a very low amount of money to make the following changes to VB6
    A) Fix Windows Common Controls
    B) Make the VB6 Dialogs work in Vista
    C) Make VS6 compatible with Vista 32 and 64 bit, why no worky jerky under Vista 64?! Not a very good long term strategy for the programmers who have supported your company for years to upgrade to a 64 bit OS if their development environment doesn't work with their preferred interpreter. Kinda a waste of money..

    How long would it take to fix that? Those are three very simple problems. But Microsoft prefers to let the public suffer! Heretics!

    How long has Vista been out to the public now? 3-4 months? And there's still not a fix for VS6?!
  • Thursday, May 24, 2007 6:31 AMtoni2699232 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    And for those of us who started using VS2002 & VS2003 some time ago, we MUST now go to VS2005 to adapt our progs for Vista and I'm finding some fundamental differences here too! 

     

    This is as stated by Microsoft re Vista quote <The changes impact Visual Studio and thus we're unable to support Visual Studio .NET 2002 or Visual Studio .NET 2003 on Windows Vista.>

     

    Limping Programmer

  • Wednesday, July 18, 2007 12:30 PMjbake Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Dear guidex

     

    Thank you so much for this

     

    You da Man

     

     

  • Tuesday, August 07, 2007 9:46 PMNick1337 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Its not working for me, I have done exactly what you said but it keeps coming up with this error;

    Object 11

    Your Setup files may be damaged. Try restarting
    the Setup program from where you originally ran it.

    I'm running on Windows Vista Home Premium, maybe thats why?
    Also when I replace the edited sp598ent.stf with the original one, no problems. (except for the fact it starts whining about MDAV v2.5 or greater)
    So I didnt download a corrupted version or something, anything I can do?

    I really need to work with Visual C++ 2006 so I really need to fix this!
    Thanks!
  • Wednesday, August 08, 2007 5:27 PMNoel1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I think you are editing the wrong line or group of characters or something like that.

     

    It happened to me in my first tryouts.

     

    So edit the file again taking care of each and every detail of the steps.

     

  • Wednesday, August 15, 2007 2:25 PMericfaust Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Holy Cow that is some good stuff guideX.

     

    I tried to copy and paste your replacements but I got an error during the installation.  So next I just went in and deleted 36 from line 13 and then I deleted just the text and not the line numbers for 36 and 37 and the the setup ran like a charm.

     

    You da man!!   

     

  • Saturday, August 18, 2007 4:54 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     Nick1337 wrote:
    Its not working for me, I have done exactly what you said but it keeps coming up with this error;

    Object 11

    Your Setup files may be damaged. Try restarting
    the Setup program from where you originally ran it.

    I'm running on Windows Vista Home Premium, maybe thats why?
    Also when I replace the edited sp598ent.stf with the original one, no problems. (except for the fact it starts whining about MDAV v2.5 or greater)
    So I didnt download a corrupted version or something, anything I can do?

    I really need to work with Visual C++ 2006 so I really need to fix this!
    Thanks!


    You must preserve the spaces when you make changes. This is why your setup failed.
  • Tuesday, August 21, 2007 3:30 PMCPlusPlus Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks this is valuable information.
    By the way you only have to perform the step 2

    Step 2) Replace the following line
    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
    -with-
    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

    i.e. remove the number 36 from line "13 group...". Once the step 36 is removed from the list of tasks, setup won't look at the 2 lines you delete (steps 36, 37) ; thus there is no need to delete them.

  • Wednesday, August 22, 2007 6:28 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Wow neto CPlusPlus.

    Good thinking

  • Sunday, September 09, 2007 9:09 AMCreepynaif Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Does not work even if I do so. I am Using Vista Ultimate with UAC turned on.

    I have also run the Setup as Administrator
    The setup launches but when I click on Next, I get the error message: The program has stopped responding.
  • Thursday, December 13, 2007 4:15 PMdavid.king80 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    GuideX, who do you work for?

     

    Can I hire you ?

     

  • Thursday, December 20, 2007 4:38 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I do have jobs already, but always open to new work.

    I currently work as a network guy, I also run my own programming company over at www.tnexgen.com. If you are looking to hire me to do some work (I specialize in software development for Windows) e-mail me at guidex@tnexgen.com, and I'll send back a resume.
  • Wednesday, January 09, 2008 8:19 PMhedgelayer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I even went to the length of giving myself a windows Live ID just so that I could record my appreciation for the above fix. Your fix, guideX is absolutely spot on. Like others here I'm just wondering "How on earth did he ever figure that out ?"

    Many thanks


  • Sunday, January 13, 2008 6:14 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Just did an F3 (search for text) in each text file of the service pack 5 setup files to look for instances of mdac and started deleteing them. Then figured all the other people in the world still wish to use Visual Studio 6 with service pack 5 so copied down what I did and brought it here.

    Also, new tip: If installing Visual Studio.NET as well, do not install Visual Studio.NET BEFORE installing Visual Studio 6. If you do the tutorial will not work. It must be installed in this order...

    1. Visual Studio 6
    2. Service Pack 5 for VS6
    3. Visual Studio.NET (2002, 2003, 2005 or 2008)

  • Sunday, January 13, 2008 6:17 PMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    why is everyone using visual studio service pack 5? what's the difference between 5 and 6 ?
  • Sunday, January 13, 2008 6:32 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The biggest difference I see is the poor functionality of Windows common controls that ship with service pack 6. In service pack 6 the imagelist doesn't work at all is a good example. There are other things too I can't remember.
  • Sunday, January 13, 2008 6:38 PMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    i see alot of people having issues with my VB6 SP6 application it only happens on certain hardware setups so i may try using sp5 and see if this helps with the next relesae of my application

    thanks

     

  • Sunday, January 13, 2008 6:53 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What kind of problems are they having? I bet they're distribution problems
  • Sunday, January 13, 2008 9:51 PMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    these kind of errors seem to popup alot

     

    Subscript out of range

    Invalid procedure call or argument

    Type mismatch

    Out of memory - Winsock GetData

     

    i've checked each function and line of code and tried to reproduce the errors my self but nothing, yet when i run the exact same scenario on the clients computer it errors...

     

    reinstalled VB Runtime files and still errors

     

     

  • Sunday, January 13, 2008 11:36 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Not to be mean or anything, but I do believe these are programming errors, not errors in the Visual Basic language. I can show you what causes these...

    Type Mismatch:
    When you do something like this...
    Dim msg As String, i As Integer
    msg = "hey"
    i = msg

    This will produce a type mismatch as will this...
    Dim msg As String
    Combo1 = msg
    If you must convert from one type of variable to another, you must do something like this...
    Dim msg As String, i As Integer
    msg = "1"
    i = CInt(Trim(msg))
    Subscript out of range:
    Dim splt(100) As String
    splt(101) = "test"
    This will produce a subscript out of range (I think) as will this ...
    Combo1.AddItem("Test")
    Combo1.AddItem("Test")
    Combo1.AddItem("Test")
    Combo1.ListIndex = 5
    Invalid procedure call or argument:
    This could be due to a lot of reasons, it's hard to say. Perhaps you're calling to something which doesn't exist.
    However a good practice is to have error handling this way your customers wont run into a crash, the program will handle it instead.
    Always add this code at the beginning of your Sub or Function ...
    On Local Error Resume Next
    And then at the bottom of your sub, right before the End Sub put something like this ...
    If Err.Number <> 0 Then MsgBox("An error occured!" & VbCrLf & Err.Description)
    This way you know when an error occurs, but doesn't bring your program to a screaching hault
    Out of memory in Winsocks dataarrival sub sounds strange. I always do something like this with Winsock's dataarrival...
    Dim msg As String
    Winsock1.GetData msg, vbString
    And then use msg in another sub, like
    ProcessInData msg
    You can overcome all of this in Visual Basic 2005 as well.
    I hope this helps!

  • Monday, January 14, 2008 6:33 PMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    i have full error reporting in my software which tells me the line of the error and procedure etc..

     

    these errors are the ones i get alot which i can't fix

     

    This array is fixed or temporarily locked

    Expression too complex

    and 'Division by zero' error from a ListView control

     

    i've looked at the other errors and most of them can be fixed with variable checking routines, just there was this one error that i found and i couldnt reproduce nor see why it was erroring as the data being passed to the function was same, i'll try find it again

     

    thanks for your reply and sorry for not being more specific

     

     

  • Monday, January 14, 2008 9:30 PMDotSlashMartyn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    i also get Out of Memory on: RTB.SelStart = Len(RTB.Text)

    and also out of memory on

      StartIx = InStrRev(RTB.Text, vbNewLine, RTB.SelStart - 2) + 1

     

  • Wednesday, February 20, 2008 12:42 AMandyerl Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Fantastic - you are a life saver! :-)
  • Wednesday, March 12, 2008 9:58 AMHelloMR Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thank you, that's right the way, it goes, and I`ve looked for.

    HelloMR

     

  • Monday, June 16, 2008 5:22 PMMurugapandiyan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    you are Realy great Persion

    Thank u so Much.

  • Tuesday, June 17, 2008 2:25 AMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am so glad this thread has lasted for so long and helped so many people. I hope it helps more!

    As for me, I have upgraded my OS to Windows Vista 64, and this has broken compatibility with Visual Studio 6, so I have decided to give up Visual Studio 6 completely in favor of Visual Studio 2008 which I am much happier with. As for those projects of mine which are for Visual Studio 6 and are not compatible with Visual Studio 2008, I have decided to abandon all of them, as they are old and dead anyways. Sad huh? Looks like Microsoft has finally beat me out of using Visual Studio 6. One day I will find the VS.NET team's office and make them pay, oo they're gonna hurt (j/k)
  • Tuesday, June 24, 2008 12:27 AMWayne Clements Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Excellent solution. Fantastic, thanks

  • Thursday, November 27, 2008 7:26 PMChaco Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It worked OK at once!

    Thanks a lot guideX, ProZak, and Hernan!!!

  • Tuesday, April 07, 2009 9:50 PMIvo Haarmann Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Andrea,

    I did. It works just fine.
    Here is what I did:

    1. First install Visual Basic 2008 with SP1 on a pure Vista 64 Bit Home Professional SP1 machine.
    (so yes - Vbasic 2008 before VB6!)
    2. Install VB6 (Important: Deselect all extras within the Config-Setup for examble no ActiveX, OLE etc)
    3. Install VB6SP6 afterwards
       and all works fine - no hacks or registry changes necessary - at all...

    Will migrate my apps slowly but surely from VB6 to VB2008 though... It will cost me lots of coffee / weekends and headaches
    - but looks like performance wise it is a must do...

    PS:
    You might want to consider to use Image Drive Software before you test the above - to always have a clean starting point.

    Good Luck...
    Ivo
    (Love VB...)
  • Thursday, April 09, 2009 5:54 PMYorkOffice Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, guideX,

    It is 2009 and I just found your comment from 2006.  I am trying to install VB6 SP5 on a brand new vista Business machine (32 bit) and I downloaded the SP5 from Microsoft website.  The sp5 downloaded file ran very fast and it didn't install anything on the pc.  It didn't even give me any error.  I then installed MDAC2.8 and tried again and still the same thing.

    When I looked at your post and tried to follow, I couldn't find anything folder called c:\servicepack5dir.   Is there anything I am missing here?

    Thanks in advance.

    Hope