Results 1 to 5 of 5

Thread: App.Path & Temp Directory [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871

    App.Path & Temp Directory [RESOLVED]

    Hi, I'm copying one of my apps to the Temporary directory, which I retrieve through Environ("TEMP"). The path is returned like this: C:\Docume~1\Userna~1\Temp. When I start the app from the Temp directory I want to check if it's in the right directory. Therefore I check if the App.Path is equal to the Temp path. The App.Path, however, is returned like this: C:\Documents and Settings\Username\Temp. So when I compare the two, they are not equal. Is there a way to retrieve the complete Temporary path or the DOS-path of the application (the GetTempPath API doesn't work either...)?

    Thanks.
    Last edited by TheVader; Aug 31st, 2003 at 10:22 AM.
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width