I thought it was clear, sorry..
I have a VB application compiled as an EXE file that is scheduled to
ran at certain time. That EXE file accesses some configuration
information from a web site. That configuration information is, for
example, some connection strings.
That information is present in a file under the web site directory.
That's why I need to get the physical path of it. I want to do that
so that I don't need to hard code the path.
3 things to have in mind :
- The system is already designed. I'm just correcting some errors
produced when my customer moved some directories from one partition
to another. - I cannot use an INI file
- I can hard-code the path, but if for some reason, the customer move
the files again from one partition to another, or from one directory
to another, the system will fail again.
Thanks
Jaime
McKirahan said:
But I cannot access server variables when I am in an EXE application
since
it is ran in a different context. Or do you know a way how to get a
reference to the Request object from an EXE application?
[snip]
Could you be more specific about what you're trying to do and why?