Bug VS2005 "open with"

  • Thread starter Thread starter Hareth
  • Start date Start date
H

Hareth

When VS2003 is installed :


I can open Form1.cs w/ windows "open with" contextmenu, then it opens the
file w/ notepad & it works fine


but after installing VS2005, "open with" doesnt function correctly.
If I try to open with notepad, it forces an open to VS2005


Bug maybe? any ideas ppl........

if im posting
 
Hareth said:
When VS2003 is installed :


I can open Form1.cs w/ windows "open with" contextmenu, then it opens the
file w/ notepad & it works fine


but after installing VS2005, "open with" doesnt function correctly.
If I try to open with notepad, it forces an open to VS2005


Bug maybe? any ideas ppl........

if im posting

No, that's not a bug, this is by design.

If you prefer the .cs file to be opened with Notepad by default, you should
change the file association using the following command:

assoc .cs=txtfile

you can always revert back to VS using:
assoc .cs=VisualStudio.vcp.8.0

Note that you can achieve the same using Explorer's "Tools - Folder Options"

Willy.
 
Willy Denoyette said:
No, that's not a bug, this is by design.

If you prefer the .cs file to be opened with Notepad by default, you should
change the file association using the following command:

If it's really doing what Hareth, then it's a bug, regardless of if it's
"by design" or not.

Note that we are talking about what is done by default (i.e via "Open"),
but what is done on a special case (via "Open With....")

I don't have VS2005 available at this location, so I can't confirm or
deny what's happening to Hareth, but I suspect that installing VS2005 has
reset the list of "Recommended Programs" that "Open With" suggests, and
"Notepad" will be added back once he specifically choose it.

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
 
James Curran said:
I don't have VS2005 available at this location, so I can't confirm or
deny what's happening to Hareth, but I suspect that installing VS2005 has
reset the list of "Recommended Programs" that "Open With" suggests, and
"Notepad" will be added back once he specifically choose it.

Just took a look on my machine.

Choices are 3 recommended: VS 2005, VS 2003, Notepad, and then the final
choice of "Choose program...".

Choosing Notepad works fine on mine.

Greg
 
Hareth,
It does appear that VS2005 messes up the "associations" somehow...

My "Open with notepad" created when I only had VS 2003 now opens VS 2005
instead of notepad.

If I create a new "Open with wordpad" it opens in Wordpad as I would expect.
After doing this "Open with Notepad" is opening in notepad!

It definitely feels like a bug or quirk instead of "by desing" to me!

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| When VS2003 is installed :
|
|
| I can open Form1.cs w/ windows "open with" contextmenu, then it opens the
| file w/ notepad & it works fine
|
|
| but after installing VS2005, "open with" doesnt function correctly.
| If I try to open with notepad, it forces an open to VS2005
|
|
| Bug maybe? any ideas ppl........
|
| if im posting
|
|
 
Sorry, I misread the OP's posting, thought he was talking about the default
action, not "Open With".
Note that I have VS2005 (Team System) installed and all "Open With" are
still those I had before, they are consistent and remain consistent after
usage.

Willy.


James Curran said:
Willy Denoyette said:
No, that's not a bug, this is by design.

If you prefer the .cs file to be opened with Notepad by default, you should
change the file association using the following command:

If it's really doing what Hareth, then it's a bug, regardless of if
it's
"by design" or not.

Note that we are talking about what is done by default (i.e via
"Open"),
but what is done on a special case (via "Open With....")

I don't have VS2005 available at this location, so I can't confirm or
deny what's happening to Hareth, but I suspect that installing VS2005 has
reset the list of "Recommended Programs" that "Open With" suggests, and
"Notepad" will be added back once he specifically choose it.

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

No, that's not a bug, this is by design.

If you prefer the .cs file to be opened with Notepad by default, you should
change the file association using the following command:

assoc .cs=txtfile

you can always revert back to VS using:
assoc .cs=VisualStudio.vcp.8.0

Note that you can achieve the same using Explorer's "Tools - Folder Options"

Willy.
 

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

Back
Top