469,934 Members | 2,756 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

Bug VS2005 "open with"

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
Nov 17 '05 #1
7 1478

"Hareth" <ab******@hotmail.com> wrote in message
news:8D**********************************@microsof t.com...
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.

Nov 17 '05 #2
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
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


"Hareth" <ab******@hotmail.com> wrote in message
news:8D**********************************@microsof t.com...
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.

Nov 17 '05 #3

"James Curran" <ja*********@mvps.org> wrote in message
news:OR**************@TK2MSFTNGP10.phx.gbl...
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
Nov 17 '05 #4
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
"Hareth" <ab******@hotmail.com> wrote in message
news:8D**********************************@microsof t.com...
| 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
|
|
Nov 17 '05 #5
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote:

[quotes tidied]
If I try to open with notepad, it forces an open to VS2005


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


I find that hard to believe.
Nov 17 '05 #6
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" <ja*********@mvps.org> wrote in message
news:OR**************@TK2MSFTNGP10.phx.gbl...
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
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


"Hareth" <ab******@hotmail.com> wrote in message
news:8D**********************************@microsof t.com...
> 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.


Nov 17 '05 #7

"Cool Guy" <co*****@abc.xyz> wrote in message
news:1v***************@cool.guy.abc.xyz...
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote:

[quotes tidied]
If I try to open with notepad, it forces an open to VS2005


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


I find that hard to believe.


You shouldn't ;-)

Willy.
Nov 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Hareth | last post: by
7 posts views Thread by Hareth | last post: by
2 posts views Thread by Phillip Vong | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.