471,338 Members | 1,001 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

How to get physical path

Hi

I am developing an application in which am using the windows application
template.
In one of the form i'll place a text box control and a button control, if i
entered the virtual directory name in this text box then it has to show me
the output the physical path of the virtual directory i've given.
For eg. if the virtual directory name is "sample"
if i enter "sample" in text box then it has to show the path where it is
mapped to (E:/..............)
Can anybody tell me how to do this through windows application.
Its very urgent.

Thanx in advance
Yoshitha
Jul 21 '05 #1
3 3983
Yoshita,

Is the application that you develop a windowsform or a webform. Those have
different methods for this.

WindowsForm is in environment.

Because that it looks the most on Webform, look for request.physicalpath
http://msdn.microsoft.com/library/de...lpathtopic.asp

I hope this helps,

Cor
Jul 21 '05 #2
I am using windows form not web form


"Cor Ligthert" <no************@planet.nl> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
Yoshita,

Is the application that you develop a windowsform or a webform. Those have
different methods for this.

WindowsForm is in environment.

Because that it looks the most on Webform, look for request.physicalpath
http://msdn.microsoft.com/library/de...lpathtopic.asp
I hope this helps,

Cor

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Michiel Schaeverbeke | last post: by
reply views Thread by DagoFlores | last post: by
1 post views Thread by Raed Sawalha | last post: by
8 posts views Thread by Jaime Stuardo | last post: by
4 posts views Thread by =?Utf-8?B?SmVmZiBCZWVt?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.