473,657 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1328
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.r illing.net> wrote in message
news:uc******** ******@TK2MSFTN GP09.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*********@RE MOVEbtopenworld .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.r illing.net> wrote in message
news:uc******** ******@TK2MSFTN GP09.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.r illing.net> wrote in message
news:u7******** ******@TK2MSFTN GP12.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*********@RE MOVEbtopenworld .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.r illing.net> wrote in message
news:uc******** ******@TK2MSFTN GP09.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
3161
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 I find a list of all the types which can be returned? For example, if it is a Word document will it return "document/doc".
8
3661
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 opens the document. I would like my App to launch and open a document (if it has the correct extension). What is the launch event sequence and where do I pick up the path/name of the file or files that were dropped on the application icon? Any...
36
5372
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 are configured to use Notepad to open the file by default and if they are configured to use Notepad by default I want it to remain that way rather than retrieve the text into my app or force the user to use another app to read the file. I'm...
8
6605
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 ability for the page to start a file browser via PHP's exec() function. I can't get this working under Ubuntu though e.g. <?php exec('nautilus /var/www'); ?>
0
8845
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8743
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5647
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.