how to check application path? 
Author Message
 how to check application path?

In vb 6 we use app.path.
in vb.net, what can we use?
thanks


Tue, 22 Nov 2005 17:03:32 GMT  
 how to check application path?
application.ExecutablePath

Cheers


Quote:
> In vb 6 we use app.path.
> in vb.net, what can we use?
> thanks



Tue, 22 Nov 2005 17:56:27 GMT  
 how to check application path?
Hello,


Quote:
> In vb 6 we use app.path.
> in vb.net, what can we use?

\\\
Private Function ApplicationPath() As String
    Return _
        New FileInfo( _
            [Assembly].GetExecutingAssembly().Location _
        ).Directory.FullName
End Function
///

Regards,
Herfried K. Wagner
--
http://www.mvps.org/dotnet



Tue, 22 Nov 2005 19:46:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Setting the path to the path of the current application

2. using application path (app.path)

3. Application Setup Wizard Says D:\<path>\D:\<path>\target.exe

4. Checking if folder/path exists: Outlook Form

5. Check if path exists

6. How to check if a path exists

7. How to check if a program is installed (or find it's path)

8. How to check for this file path?

9. Check for valid path in class Property Let

10. Check if UNC path exists

11. How can I check a valid path?`

12. Application path

 

 
Powered by phpBB® Forum Software