Q: Get absolute path to a file.

  • Thread starter Martin Arvidsson, Visual Systems AB
  • 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
 

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top