473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

launch file with different programs but same extension.

When I installed VS.NET, I noticed that the solution files (having the
extension .sln) seem to know what version of the ide created it. If I have
previous version, the icon changes and when double-clicked, it seems to know
which IDE to launch. Anyone know how this is done?
Feb 7 '06 #1
3 1317
I believe that the devenv.exe (the IDE) simply reads the contents of the
..sln file and makes a decision based on the content.
Open a .sln file with Notepad, and it should become blindingly obvious!

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl...
When I installed VS.NET, I noticed that the solution files (having the
extension .sln) seem to know what version of the ide created it. If I
have previous version, the icon changes and when double-clicked, it seems
to know which IDE to launch. Anyone know how this is done?

Feb 7 '06 #2
What about the icon? It changes based on the version placing a little
version number over the icon. Is that just a shell extension that gets
installed?

"The Grim Reaper" <gr*********@REMOVEbtopenworld.com> wrote in message
news:ds**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
I believe that the devenv.exe (the IDE) simply reads the contents of the
.sln file and makes a decision based on the content.
Open a .sln file with Notepad, and it should become blindingly obvious!

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl...
When I installed VS.NET, I noticed that the solution files (having the
extension .sln) seem to know what version of the ide created it. If I
have previous version, the icon changes and when double-clicked, it seems
to know which IDE to launch. Anyone know how this is done?


Feb 8 '06 #3
I didn't think about the icon! Good point!
VS takes so long to install, I guess it's doing something complex with
Windows and the shell!

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:u7**************@TK2MSFTNGP12.phx.gbl...
What about the icon? It changes based on the version placing a little
version number over the icon. Is that just a shell extension that gets
installed?

"The Grim Reaper" <gr*********@REMOVEbtopenworld.com> wrote in message
news:ds**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
I believe that the devenv.exe (the IDE) simply reads the contents of the
.sln file and makes a decision based on the content.
Open a .sln file with Notepad, and it should become blindingly obvious!

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl...
When I installed VS.NET, I noticed that the solution files (having the
extension .sln) seem to know what version of the ide created it. If I
have previous version, the icon changes and when double-clicked, it
seems to know which IDE to launch. Anyone know how this is done?



Feb 8 '06 #4

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

Similar topics

3
by: Shapper | last post by:
Hello, I created a script to upload a file. To determine the file type I am using userPostedFile.ContentType. For example, for a png image I get "image/png". My questions are: 1. Where can...
8
by: Paul | last post by:
I have looked and looked for this info. All the I/O examples I've found either explicity use a file name or use the OpenFileDialog. When you drag a MS Word document over MS Word, it launches and...
36
by: Don | last post by:
I wrote an app that alerts a user who attempts to open a file that the file is currently in use. It works fine except when the file is opened by Notepad. If a text file is opened, most computers...
8
by: r0g | last post by:
Hi There, I'm trying to migrate a locally hosted page from windows to a private Ubuntu development server and one of the key bits of functionality (which used to work fine in Windows) was the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.