Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Assign same file extension to different programs - how?

Reply
 
Old 06-14-2008   #1 (permalink)
Axel Dahmen


 
 

Assign same file extension to different programs - how?

Hi,

I've noticed that on my machine files with file extension .sln have been associated with two different programs, Visual Studio 8 and Visual Studio 9.

Solution files saved by VS8 are associated with VS8 while Solution files saved by VS9 are associated with VS9.

I'd like to learn how this is accomplished. Usually a single file extension can only be assigned to a single program.

Can anyone please enlighten me on how this is done?

TIA,
Axel Dahmen

My System SpecsSystem Spec
Old 06-19-2008   #2 (permalink)
R. C. White


 
 

Re: Assign same file extension to different programs - how?

Hi, Axel.
Quote:

> Usually a single file extension can only be assigned to a single program.
Not true. While it is common practice and usually a good idea to reserve a
particular extension for a certain kind of file, that has never been a
requirement. If you want to change Text.txt to Text.doc or to Text.xxx - or
to Text.VS9, go right ahead. You will probably get a warning that it may
create problems, but neither Vista nor WinXP will stop you from changing the
extension if you insist.

I don't know anything about Visual Studio, so I don't know about your
specific question.

RC
--
R. C. White, CPA
San Marcos, TX
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64 SP1)

"Axel Dahmen" <keentoknow@xxxxxx> wrote in message
news:34BCD397-FD26-4FE6-A7D8-C3AA87A182EA@xxxxxx
Quote:

> Hi,
>
> I've noticed that on my machine files with file extension .sln have been
> associated with two different programs, Visual Studio 8 and Visual Studio
> 9.
>
> Solution files saved by VS8 are associated with VS8 while Solution files
> saved by VS9 are associated with VS9.
>
> I'd like to learn how this is accomplished. Usually a single file
> extension can only be assigned to a single program.
>
> Can anyone please enlighten me on how this is done?
>
> TIA,
> Axel Dahmen
My System SpecsSystem Spec
Old 06-19-2008   #3 (permalink)
Ramesh, MS-MVP


 
 

Re: Assign same file extension to different programs - how?

Hi Axel,

My guess is that the VS executable (or a stub program) reads the version
information in the project file and launches the appropriate version of the
VS IDE.

File type associations for .SLN can be viewed using FileExtInfo program.

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select .SLN file type from the list
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

Another scenario: XML files created by Winword store the ProgID
Word.Document.x, and XML files created from Excel has the Prog ID
Excel.sheet stored on file. Eventually IE (configured to open XML files by
default) reads the ProgID inside the XML and launches the correct program.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


"Axel Dahmen" <keentoknow@xxxxxx> wrote in message
news:34BCD397-FD26-4FE6-A7D8-C3AA87A182EA@xxxxxx
Hi,

I've noticed that on my machine files with file extension .sln have been
associated with two different programs, Visual Studio 8 and Visual Studio 9.

Solution files saved by VS8 are associated with VS8 while Solution files
saved by VS9 are associated with VS9.

I'd like to learn how this is accomplished. Usually a single file extension
can only be assigned to a single program.

Can anyone please enlighten me on how this is done?

TIA,
Axel Dahmen


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Associating same extension to multiple programs General Discussion
tmb file extension programs Vista performance & maintenance
.wri file extension Vista General
How assign extension to app? Vista General
How do you change file name extension in File/Dir Explorer? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46