VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Find FULL App Path + App Extension

Steve Sellers  (1 Submission)   VB function enhancement   Visual Basic 5.0   Beginner   Wed 3rd February 2021

This simple 10 lines of code (including 1 API call) will return the FULL application path INCLUDING the application extension. Very easy to use. Tired of using App.path & "\" & app.exename & ".exe" when you dont know for sure that your extention will be .exe? This will return it all. Votes are welcome

Inputs
Just call FullAppName instead of putting in App.path & "\" & app.exename & ".exe"

Assumes
Simply place the API Code and the function in your project. Use FullAppName every time you refer to your self in your code.

Returns
A string containing the full application path and extention

Side Effects
No Side Affects

Rate Find FULL App Path + App Extension (9(9 Vote))
Find FULL App Path + App Extension.bas

Find FULL App Path + App Extension Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters