Hi.
I have a VB project that's located at C:\Documents and Settings\Owner\Desktop\Project.
I need to access a html file that will always be located in the same folder as the project.
However, I want the folder to be portable to other machines (that is, it may not always be located at the above path e.g c:\Project.
One of my comands is to output data to the html file and the code looks like this:
Open "C:\Documents and Settings\Owner\Desktop\Project\Print.html" For Output As ff
How can I make this a statement saying that the location is in the same folder as the project, but may have any path??
Can this be done?
Thanks,
D
I have a VB project that's located at C:\Documents and Settings\Owner\Desktop\Project.
I need to access a html file that will always be located in the same folder as the project.
However, I want the folder to be portable to other machines (that is, it may not always be located at the above path e.g c:\Project.
One of my comands is to output data to the html file and the code looks like this:
Open "C:\Documents and Settings\Owner\Desktop\Project\Print.html" For Output As ff
How can I make this a statement saying that the location is in the same folder as the project, but may have any path??
Can this be done?
Thanks,
D