views:

1041

answers:

3

I'm using Visual Basic 6 for a legacy project and it's been working fine. I recently installed the Visual Studio 2010 RC and now when I start VB6 I get an installer with the title "Microsoft Visual Studio 2010 Professional RC - ENU". If I click Cancel I can then open my project in VB6.

Is there any way of getting rid of this, or am I just the only person on the planet still using VB6?

A: 

You may as well be :)

VS 2010 runtime DLLs see you're running some way outdated version of something and wants to be helpful and update that to the current version. Installing 2 versions of essentially the same tool on the same machine (especially tools as interwoven with the OS as VS) is generally a bad idea if you want both to function correctly and this is a side effect of that.

jwenting
Not sure it's that simple - I haven't had any problems running VB6 and VS2008, and VS2010 seems quite happy when I run VS2008.
parsley72
+4  A: 

This is a known problem. Apparently Office apps can cause the same behavior. Like you, I saw it when I opened a VB6 project. It's still not fixed in the RC, but there is a workaround. You just have to create a directory and the problem will go away.

We've seen similar issues fixed by determining which directory VS expects to be created and then creating it. We’ve fixed this in our RTMRel product and the Visual Studio tools for office team has put an additional test to check for project. To work around this issue try creating the following directory. Open an elevated command prompt and type the following command and then open project again. Let me know if this fixes the issue.

Md "%ProgramFiles%\Microsoft Visual Studio 10.0\common7\IDE\FromGAC"

raven
Thanks, that fixes it (although the command given is incorrect).
parsley72
A: 

I am having this problem as well with the Visual Studio 2010 RTM release. Tried the above command with no luck. Any ideas what else it might be because of? Im running Visual Studio 2010, Visual Studio 2008 and Visual Studio 6.

Windows 7 32 bit. Cheers Rod.