473,385 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

".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 1988
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
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
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
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
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
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
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
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
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
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.