launch file with different programs but same extension.

P

Peter Rilling

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?
 
T

The Grim Reaper

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!
 
P

Peter Rilling

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?
 
T

The Grim Reaper

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top