MapVirtualPath
Description
Allows
you to get the actual path of a file on the Web Forms server.
Syntax
|
1 |
string <b>MapVirtualPath</b> (string <i>virtualPath</i><i></i>) |
| Argument | Description |
|---|---|
| virtualPath | A string for a virtual path on the Web Forms server |
Return Values
String. Returns the actual path of a
file in the virtual file system on a Web Forms server.
Usage
You can use the MapVirtualPath function
to get the actual path of files for file operations required by
.NET DLLs.
Examples
The following code returns the actual path on a new
line in a MultiLineEdit control:
|
1 |
#if defined PBWEBFORM then |
|
1 |
mle_1.text +=''~r~nActual Path='' &<br /> + MapVirtualPath(''c:a.txt'') |
|
1 |
#end if |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest