473,500 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

".net" get physical file address

What's the syntax to get the physical address of something like this
"map/abc.mdb"?
IN classic ASP is Response.MapPath("map/abc.mdb") which return something
like c:\inetpub\wwwroot\map\abc.mdb?

How do I do it with VB.NET application?

Any help would appreaciate?

Thank you
Nov 20 '05 #1
2 1990
I thought it was Server.MapPath, not response.
"astroboy" <da****@ddadde.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
What's the syntax to get the physical address of something like this
"map/abc.mdb"?
IN classic ASP is Response.MapPath("map/abc.mdb") which return something
like c:\inetpub\wwwroot\map\abc.mdb?

How do I do it with VB.NET application?

Any help would appreaciate?

Thank you

Nov 20 '05 #2
I thought it was Server.MapPath, not response.
"astroboy" <da****@ddadde.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
What's the syntax to get the physical address of something like this
"map/abc.mdb"?
IN classic ASP is Response.MapPath("map/abc.mdb") which return something
like c:\inetpub\wwwroot\map\abc.mdb?

How do I do it with VB.NET application?

Any help would appreaciate?

Thank you

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1286
by: Daniel | last post by:
Is this a bug in .net file io? is there a work around? when writing a large file with using(StreamWriter ... if the network drive of the share is removed then the file is never closed. I tried...
7
1471
by: Rajiv Gupta | last post by:
Hi, We are moving from asp to asp.net. In our existing model we execute the asp by including them in .html files. For example: In abc.html file we include following directive: <!--exec...
0
296
by: astroboy | last post by:
What's the syntax to get the physical address of something like this "map/abc.mdb"? IN classic ASP is Response.MapPath("map/abc.mdb") which return something like c:\inetpub\wwwroot\map\abc.mdb? ...
3
2236
by: Steve Jacobs | last post by:
Hi, I need to run a vb.net or aspx.net file every 10 seconds. The Task Scheduler in Windows 2003 Server can only do it every 1 minute at the minimum, but I need it every 10 seconds. Is it...
3
3774
by: MLH | last post by:
?StrConv("SomeAddr@SomeDomain.net", vbFromUnicode) ??????????? When I use StrConv in the manner shown above, a bunch of question marks is all I ever see returned. Why might that be? Of what...
0
2125
by: Larry Bertolini | last post by:
SQL Server 2005 SP2 question: The SSMS "Activity Monitor" provides a column "Net Address". In most cases, this is the MAC address of the client's ethernet card. In some cases, it is all zeros,...
1
1039
by: =?Utf-8?B?QW5hbmRoaQ==?= | last post by:
Hello, I have a ASP file. And I am trying to include a asp.net file in it. Below is the sample code. This is test.asp <% Case "RetrieveTasks" strLic_No = Request("strLic_No") ' We are...
1
1372
by: Josip Habjan | last post by:
Hi, I developer ASP.NET File upload component with progress bar + it does not require page postback. I tested it and it works on my versions of IE6, IE7, Firefox, Mozila, Opera and Safari (for...
1
2948
by: Icon Iconoclast | last post by:
I had installed .NET 3.5 SP1 Framework before installing IIS 7. I now need to registering the ASP.NET File Mapping. When I'm running C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.