Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2006, 01:34 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Reese_Kirsten
Default Can't detect a mapped drive in ASP

Hello hope any can help me. Im a VB programmer recently am migrating to ASP.NET, using VB. now my question is

why does the syntax directory.exists(path) returns false when my path points to a mapped directory?

also im using ms visual studio 2003 and im planning to upgrade to VS 2005, i can't install it, it gets errors...

help appreciated

Kirsten
 
Old December 1st, 2006, 02:10 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

Reese_Kirsten:
Need more information, it is not clear what you are trying to do. Could you send the actual statement and the generated error message?
Is the mapped drive to a virtual directory or what?

Peace95
 
Old December 1st, 2006, 02:46 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Reese_Kirsten
Default

ah ok... i have a mapped drive on my computer say for example x: to a folder in another PC.

directory.exists("x:") and file.exists("x:\testfile.txt") both returns false.

while if i run it on a normal windows application both command returns true.






Similar Threads
Thread Thread Starter Forum Replies Last Post
mapped drive khansa PHP How-To 0 February 23rd, 2006 07:46 AM
mapped drive khansa PHP How-To 0 February 23rd, 2006 07:43 AM
Mapped drive khansa MySQL 1 February 23rd, 2006 05:38 AM
How to find if drive is a mapped drive BrianWren Pro VB 6 1 June 2nd, 2005 04:07 AM
How to find if drive is a mapped drive BrianWren Access VBA 0 June 1st, 2005 04:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.