472,784 Members | 1,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 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 1282
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.