473,583 Members | 3,155 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

*.sln: starts with 2005 instead of 2003..

Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm
trying to change it in the registry, or jsut simply with an "open with" and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter
Aug 9 '05 #1
8 1921
Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure that
will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"DraguVaso" wrote:
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm
trying to change it in the registry, or jsut simply with an "open with" and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter

Aug 9 '05 #2
Unfortunately that won't work :-(
although, I found what it was: in the registry some things are changed, and
it doesn't realy seem too logical, hehe :-) When installing 2005, it not
only changes the startup-application for the .sln, but also add others stuff
for 2003 and 2002.

I made a reg-file that:
- makes 2003 the default-startup
- adds a "Open 2005" to the right-mouse menu to open a project with VS 2005
hope this can be usefull to some people.

*************** *************** *************** ***

Windows Registry Editor Version 5.00

[HKEY_CLASSES_RO OT\.sln]
@="VisualStudio .Solution.7.1"
"Content Type"="applicat ion/octet-stream"

[HKEY_CLASSES_RO OT\.sln\OpenWit hList]

[HKEY_CLASSES_RO OT\.sln\OpenWit hList\devenv.ex e]
@=""

[HKEY_CLASSES_RO OT\.sln\OpenWit hProgids]
"VisualStudio.S olution.7.1"=""

[HKEY_CLASSES_RO OT\.sln\OpenWit hProgids\Shared _Key]
@="Keep this key from being removed on uninstall of SxS Components"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1]
@="Microsoft Visual Studio Solution Object"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\C LSID]
@="{246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\D efaultIcon]
@="C:\\Progra m Files\\Microsof t Visual Studio .NET
2003\\Common7\\ IDE\\devenv.exe ,-6826"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\open]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\open\Comma nd]
@="\"C:\\Progra m Files\\Microsof t Visual Studio .NET
2003\\Common7\\ IDE\\devenv.exe \" \"%1\""

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\Open 2005]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\Open 2005\Command]
@="\"C:\\Progra m Files\\Microsof t Visual Studio
8\\Common7\\IDE \\devenv.exe\" \"%1\""

*************** *************** *************** ***

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:90******** *************** ***********@mic rosoft.com...
Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure that will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"DraguVaso" wrote:
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm trying to change it in the registry, or jsut simply with an "open with" and the "always use this program to open"-option checked, but it doesn't work. Simply changing it in the "file types" in the explorer doesn't work either, it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter

Aug 9 '05 #3
Thanks for the response back. That is good information to have for others.

I have been working in VPC with the beta products, as betas tend to be a
dangerous road.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"DraguVaso" wrote:
Unfortunately that won't work :-(
although, I found what it was: in the registry some things are changed, and
it doesn't realy seem too logical, hehe :-) When installing 2005, it not
only changes the startup-application for the .sln, but also add others stuff
for 2003 and 2002.

I made a reg-file that:
- makes 2003 the default-startup
- adds a "Open 2005" to the right-mouse menu to open a project with VS 2005
hope this can be usefull to some people.

*************** *************** *************** ***

Windows Registry Editor Version 5.00

[HKEY_CLASSES_RO OT\.sln]
@="VisualStudio .Solution.7.1"
"Content Type"="applicat ion/octet-stream"

[HKEY_CLASSES_RO OT\.sln\OpenWit hList]

[HKEY_CLASSES_RO OT\.sln\OpenWit hList\devenv.ex e]
@=""

[HKEY_CLASSES_RO OT\.sln\OpenWit hProgids]
"VisualStudio.S olution.7.1"=""

[HKEY_CLASSES_RO OT\.sln\OpenWit hProgids\Shared _Key]
@="Keep this key from being removed on uninstall of SxS Components"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1]
@="Microsoft Visual Studio Solution Object"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\C LSID]
@="{246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\D efaultIcon]
@="C:\\Progra m Files\\Microsof t Visual Studio .NET
2003\\Common7\\ IDE\\devenv.exe ,-6826"

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\open]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\open\Comma nd]
@="\"C:\\Progra m Files\\Microsof t Visual Studio .NET
2003\\Common7\\ IDE\\devenv.exe \" \"%1\""

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\Open 2005]

[HKEY_CLASSES_RO OT\VisualStudio .Solution.7.1\S hell\Open 2005\Command]
@="\"C:\\Progra m Files\\Microsof t Visual Studio
8\\Common7\\IDE \\devenv.exe\" \"%1\""

*************** *************** *************** ***

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:90******** *************** ***********@mic rosoft.com...
Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure

that
will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"DraguVaso" wrote:
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm trying to change it in the registry, or jsut simply with an "open with" and the "always use this program to open"-option checked, but it doesn't work. Simply changing it in the "file types" in the explorer doesn't work either, it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter


Aug 9 '05 #4
"DraguVaso" <pi**********@h otmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP14.phx.gbl...
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. .. . . Has anybody else had this problem?


Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.
Aug 10 '05 #5
Try once the registry-thing I posted also? It works great with me!
You just will have to change the values with those for VB6 and 2003, but the
princip will be the same I guess?

"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:u7******** ******@TK2MSFTN GP12.phx.gbl...
"DraguVaso" <pi**********@h otmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP14.phx.gbl...
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.

. . .
Has anybody else had this problem?


Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.

Aug 10 '05 #6
> Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.


On XP, using Open With (browsing to msdev.exe once the first time, then
choosing Microsoft (R) Developer Studio from the list after that) works for
me.

This should also work (changing the paths as necessary):

; msdev.reg

[HKEY_CLASSES_RO OT\VisualStudio .dsw.7.1\shell\ Open\command]
@="\"C:\\Progra m Files\\DevStudi o6\\Common\\MSD ev98\\Bin\\msde v.exe\"
\"%1\""

[HKEY_CLASSES_RO OT\VisualStudio .dsp.7.1\shell\ Open\command]
@="\"C:\\Progra m Files\\DevStudi o6\\Common\\MSD ev98\\Bin\\msde v.exe\"
\"%1\""
--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/

Aug 11 '05 #7
"DraguVaso" <pi**********@h otmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP14.phx.gbl...
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter


On my machine w/ 2003 and 2005 B2, it seems to intelligently launch the
correct version based on the .sln version. If you want to force it to use
2003, this should work (changing the path as necessary):

; vs2003.reg

[HKEY_CLASSES_RO OT\VisualStudio .Launcher.sln\S hell\Open\Comma nd]
@="\"C:\\Progra m Files\\VSNET200 3\\Common7\\IDE \\devenv.exe\" \"%1\""

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/
Aug 11 '05 #8
It gets itself the right version? that's great! But not nice it doesn't it
with me, hehe :-) What OS do you have? I have here W2000 SP4...

"Kyle Alons" <re***@to.newsg roup> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
"DraguVaso" <pi**********@h otmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP14.phx.gbl...
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't work. Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter


On my machine w/ 2003 and 2005 B2, it seems to intelligently launch the
correct version based on the .sln version. If you want to force it to use
2003, this should work (changing the path as necessary):

; vs2003.reg

[HKEY_CLASSES_RO OT\VisualStudio .Launcher.sln\S hell\Open\Comma nd]
@="\"C:\\Progra m Files\\VSNET200 3\\Common7\\IDE \\devenv.exe\" \"%1\""

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/

Aug 12 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6706
by: Derek | last post by:
I have VS.Net 2003 and I can't open any .sln files (even if they are from a new 2003 project that I just created) - When I click on the .sln file, VS.Net pops up saying that: "The selected file is not a valid visual studio solution file" I upgraded from 2002 to 2003 quite a while ago, but never addressed the problem. Thanks for any info...
2
39356
by: Robert | last post by:
Ref. Windows 2000 proffessional 5.00.2195 Service pack 4 Internet explorer 6.0.2800.1106 Visual basic .NET Standard 2003 MSDN library for Visual Studio .NET 2003 Microsoft Data Access Component MDAC 2.8 ..NET Framework 1.0 ..NET Framework 2.0 Beta ..NET Framework 2.0 SDK Beta ASP.NET web matrix project Version 0.6
3
1524
by: Tom Meerstad | last post by:
Hello, I am using a calender which begins with a sunday, but I would like it to begin with monday. The author's mail address isn't working (mail got bounced) so I'm really hoping anyone here can help me out on this.. This is the code in the HEAD of the HTML document (quite long):
4
1696
by: Mark | last post by:
Where do you typically store the .sln solution file when using VSS on a team? By default, the .sln file is stored in my My Documents folder, inside a VS.NET folder, etc. I am aware that you can change the default location of the .sln files for VS.NET. What's the ideal setup? Should I setup a VS.NET project, its files, and the solution...
9
320
by: DraguVaso | last post by:
Hi, I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2. The problem is, when I am starting now (double click) a solution (*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm trying to change it in the registry, or jsut simply with an "open with" and the "always use this program to...
2
1583
by: David R. | last post by:
It seems that Visual Studio 2005 insists on creating the *.sln and *.suo files in a directory that's different from the actual website project. e.g. I have my web app in E:\web\project1\. But VS 2005 creates a E:\web\project1 (2)\ to store the *.sln and *.suo files. Is there a way to force VS 2005 to keep all the files belonging to the...
0
836
by: Larry Rebich | last post by:
I've been using ASP.net 2005 and VB.2005. Yesterday I installed VB6 on the same machine. All works well except when I double-click the solution file for a VB.2005 project InterDev 6.0 launches - and does not understand the project file . What do I need to change to cause VB.2005 to be launched? Or do I have to reinstall VB.2005? I know...
3
1125
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post by:
When i doubleclick on an .SLN file it attempts to open up the solution in Visual Studio 2003. Is there a way to change the default so it will automatically open the solution in 2005? Thanks, John
4
5229
by: dgaul | last post by:
I am converting an ASP.NET / C# VS 2003 solution to VS 2005 Express. The conversion wizard said the .sln converted fine (did not convert the 2 .csprojs). When I open the .sln file in VW Web Dev I get: xxxx .csproj is not installed. Make sure the application for the project type (.csproj) is installed... I have uninstalled and reinstalled...
0
7896
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7827
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8195
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5375
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3820
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3845
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.