- Download and Unpack the VC6 SP6 into a dir like C:\INSTALL
- Locate VS6sp61.cab and open it with an archive editor (I use winrar)
- locate the subfolder common\msdev98\bin in the archive
- Assuming your VC6 is installed in c:\program files\microsoft visual studio, go to this folder in explorer "c:\program files\microsoft visual studio\common\MSDev98\Bin"
- Backup all the files and folders in this directory before proceeding, I just put them in a .rar file just in case something went wrong.
- Now, select all the files and folders listed in your archive program‘s file view (you should still be in the folder mentioned in step 3).
- Drag them or extract them to the folder mentioned in step 4.
- When asked, make sure you confirm that you wish to overwrite the files (do for every one or use checkbox at bottom).
- Depending on what suite of VS6 you have, you may need to delete msdev.exe and rename one of the msdevP.exe or msdevS.exe. If you are using Enterprise Edition, you dont need to. My guess is that msdevP is for Professional Edition and msdevS is for Standard Edition.
- Once you have done all that, start visual studio and open/create a project. Then try project->add->files, you should be good to go. Remember this method works for Windows 7 x86, i dont know if it would work in vista or in x64 versions.
- Hope this helps someone - I feel that since I know about it I should share it since it isn‘t an overly obvious alternative and if reversed I would hope others would do the same.
翻译过来就是:
下载VC++6.0补丁Vs6sp6,英文版地址:
双击该补丁,会要求解压到一个临时目录(目录随你),解压后,找到该临时目录下的VS6sp61.cab压缩包,用Winrar直接打开,然后在winrar窗口中定位到common\msdev98\bin\,如图
先这样放着,我们在windows资源管理器中再打开VC++6.0的安装位置,定位到子文件夹\common\MSDev98\Bin下,,比如我的是D:\VS\VC++6.0\Common\MSDev98\Bin\
然后把winrar窗口中的文件及文件夹 直接ctrl + A 全选,拖动到该文件夹下,若提示文件或文件夹直接替换和覆盖。一般我们装的VC++都是企业版吧,这样把msdevP.exe和msdevS.exe删除就行了,否则专业版(P)或标准版(S) VC++6.0要将msdevP.exe或msdevS.exe改名为msdev.exe替换掉原来的。
好了,再打开一个VC++6.0工程,试试打开按钮 和 添加文件到工程按钮 是不是正常了~~~
更新:也不用这么麻烦,网上有说再重新装下sp6补丁就可直接解决了,不过我没试过~~~