Q: Get absolute path to a file.

  • Thread starter Thread starter Martin Arvidsson, Visual Systems AB
  • Start date Start date
M

Martin Arvidsson, Visual Systems AB

Hi!

I have a web application and in that web application there are several
crystal report files.

The tree looks something like this

/
Orders
Reports
Invoice
Reports

Now what i am wondering is i want to open a reportfile from orders/reports
or the Invoice/reports
how can i get the fysical path to the "web" path example /orders/reports is
in C:\InetPub\MyWeb\Orders\Reports

The thing is depending on customer installation it may be a different
location
and i want to avoid storing the path in an xml file.

Or is there another smart way to get the filename of the reportfile?



Regards
Martin
 
Server.MapPapth....
It converts virtual path to physical..

George.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top