By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,905 Members | 900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,905 IT Pros & Developers. It's quick & easy.

vs .net 2002/2003 browse problem

P: n/a
Hi,

Does anyone know why starting with VS.NET 2002 (and same with 2003) it is no
longer possible to browse to a directory that has "ept" as part of the path?
It worked fine in Vc 6.x. My initials and user name happen to be "ept", and
so I have directories with that name. It is no longer possible to browse to
any subfolder and therefore open any file under an "ept" directory. I can
browse to such a folder using explorer and then drag a project or plain file
into the IDE. Or, if I had already opened the file in such a directory and
it then appears in the recent file / project list, then I can open it from
there. I simply can not browse to it from the open file / open project
dialog.

I have found that "EPT:" was apparently some kind of special printer port in
very very early DOS days. So I guess at one time in the distant past it
made sense to not allow directories with this name (like I guess COM1 etc.
still are). As mentioned, the restriction did not exist in Vc6, and Windows
Explorer has no problem browsing to a directory called "ept" or a subdir of
it.

Or perhaps I am the only person to use "ept" as a directory name???? I find
that hard to believe....

-Eric P. Twietmeyer

Nov 16 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Thanks for verifying this. The thing is, it IS possible to create a folder
called "ept", while it isn't possible create a folder called "com1" or
"com2" or something that really is a reserved name.

So the question stands: Why, if Windows lets you create a folder / directory
called "ept" will the browse dialog thing not let you browse to it? Clearly
there is an inconsistency here.

Also, one was able to browse to folders called "ept" using the browse dialog
under Vc6. I have Vc6 and .NET 2003 installed on a W2K box and the former
lets me browse, the latter doesn't. So it isn't a change in the Win32 API
itself.

-Eric Twietmeyer

"Doug Forster" <doug_ZAPTHIS_AT_TONIQ_ZAPTHIS_co.nz> wrote in message
news:uq****************@TK2MSFTNGP10.phx.gbl...
Hi Eric,

So strange I had to try it and yes it did the same here. But when I tried it in MSWord I got the same result so its something deeper than VS. No idea why though. I also notice that if you try and name a folder COM2 Windows won't
let you.

Cheers

Doug Forster

"Eric Twietmeyer" <no******@noisp.com> wrote in message
news:uk**************@TK2MSFTNGP11.phx.gbl...
Hi,

Does anyone know why starting with VS.NET 2002 (and same with 2003) it is
no
longer possible to browse to a directory that has "ept" as part of the path?
It worked fine in Vc 6.x. My initials and user name happen to be "ept",

and
so I have directories with that name. It is no longer possible to

browse to
any subfolder and therefore open any file under an "ept" directory. I
can browse to such a folder using explorer and then drag a project or plain

file
into the IDE. Or, if I had already opened the file in such a directory

and
it then appears in the recent file / project list, then I can open it from there. I simply can not browse to it from the open file / open project
dialog.

I have found that "EPT:" was apparently some kind of special printer port in
very very early DOS days. So I guess at one time in the distant past it
made sense to not allow directories with this name (like I guess COM1

etc. still are). As mentioned, the restriction did not exist in Vc6, and

Windows
Explorer has no problem browsing to a directory called "ept" or a subdir

of
it.

Or perhaps I am the only person to use "ept" as a directory name???? I

find
that hard to believe....

-Eric P. Twietmeyer


Nov 16 '05 #2

P: n/a
>Does anyone know why starting with VS.NET 2002 (and same with 2003) it is no
longer possible to browse to a directory that has "ept" as part of the path?


Eric,

Presumably you see the error that I do:

The file name "...\ept\*.* is a reserved device name.

which seems pretty odd - I'm not aware that "ept" is a device name. I
wonder if it's a typo for "lpt" maybe?

I'll try to raise this with MS.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 16 '05 #3

P: n/a
Hi David,

Thanks for raising this (or trying to) with MS. It is the case that "EPT:"
was a special port (like LPT:) or something in DOS / Windows 3.1 days. I
found some reference to it in the KB (KB88767 for instance). However, it is
possible to create directories with this name, so one should be able to
browse to it and subdirs of it using the browse dialog, as it is possible to
do in Explorer or from "My Computer".

-Eric Twietmeyer

"David Lowndes" <da****@mvps.org> wrote in message
news:2u********************************@4ax.com...
Does anyone know why starting with VS.NET 2002 (and same with 2003) it is nolonger possible to browse to a directory that has "ept" as part of the
path?
Eric,

Presumably you see the error that I do:

The file name "...\ept\*.* is a reserved device name.

which seems pretty odd - I'm not aware that "ept" is a device name. I
wonder if it's a typo for "lpt" maybe?

I'll try to raise this with MS.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Nov 16 '05 #4

P: n/a
This is an interesting issue. You might want to post this over in one of the visual studio newsgroups (microsoft.public.vstudio.general, for example) but it looks like this is a bug in Office.

Why does this happen for VS? VS uses some of Office's UI components (Menu/toolbars, some standard dialogs) rather than implementing its own.

BTW, I checked this behavior on the new Office beta and it looks like it's fixed there.

Thanks,
--
Ron Pihlgren, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
From: "Eric Twietmeyer" <no******@noisp.com>
Subject: Re: vs .net 2002/2003 browse problem
Date: Mon, 21 Jul 2003 17:39:25 -0700

Thanks for verifying this. The thing is, it IS possible to create a folder
called "ept", while it isn't possible create a folder called "com1" or
"com2" or something that really is a reserved name.

So the question stands: Why, if Windows lets you create a folder / directory
called "ept" will the browse dialog thing not let you browse to it? Clearly
there is an inconsistency here.

Also, one was able to browse to folders called "ept" using the browse dialog
under Vc6. I have Vc6 and .NET 2003 installed on a W2K box and the former
lets me browse, the latter doesn't. So it isn't a change in the Win32 API
itself.

-Eric Twietmeyer

"Doug Forster" <doug_ZAPTHIS_AT_TONIQ_ZAPTHIS_co.nz> wrote in message
news:uq****************@TK2MSFTNGP10.phx.gbl...
Hi Eric,

So strange I had to try it and yes it did the same here. But when I tried

it
in MSWord I got the same result so its something deeper than VS. No idea

why
though. I also notice that if you try and name a folder COM2 Windows won't
let you.

Cheers

Doug Forster

"Eric Twietmeyer" <no******@noisp.com> wrote in message
news:uk**************@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> Does anyone know why starting with VS.NET 2002 (and same with 2003) itis
no
> longer possible to browse to a directory that has "ept" as part of the

path?
> It worked fine in Vc 6.x. My initials and user name happen to be "ept",

and
> so I have directories with that name. It is no longer possible to

browse
to
> any subfolder and therefore open any file under an "ept" directory. I

can > browse to such a folder using explorer and then drag a project or plain

file
> into the IDE. Or, if I had already opened the file in such a directory

and
> it then appears in the recent file / project list, then I can open itfrom > there. I simply can not browse to it from the open file / open project
> dialog.
>
> I have found that "EPT:" was apparently some kind of special printerport
in
> very very early DOS days. So I guess at one time in the distant past it
> made sense to not allow directories with this name (like I guess COM1

etc. > still are). As mentioned, the restriction did not exist in Vc6, and

Windows
> Explorer has no problem browsing to a directory called "ept" or a subdir

of
> it.
>
> Or perhaps I am the only person to use "ept" as a directory name???? I

find
> that hard to believe....
>
> -Eric P. Twietmeyer
>

Nov 16 '05 #5

P: n/a
>>From: "Eric Twietmeyer" <no******@noisp.com>
Subject: Re: vs .net 2002/2003 browse problem
Date: Wed, 6 Aug 2003 12:32:00 -0700

Hi Ron,

Thanks for checking in to this and getting back to the group.

Does this mean I will have to buy and install the updated Office when
available in order for this problem to be fixed within VS? Or will there be
a service pack for VS that will incorporate the new Office components?
Obviously it seems a little much to expect people to upgrade Office in order
to fix problems with VS...

-Eric Twietmeyer


Actually, upgrading office may not help. The next version of VS may still continue to use components from the previous version of Office. I'll have to do some digging to find out what will really happen here. Stay
tuned...

Thanks,
-----
Ron Pihlgren, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm


I just wanted to let folks know that this will be fixed in the next version of the product (Whidbey). Sorry for the long delay on replying.

Thanks,

-Ron

--
Ron Pihlgren, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.