VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



App.path replacement that works with CD and Network Drives

by HarvestR (5 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

If you use App.Path in your program and run the EXE from a CD or a Network Drive, it won't work ! This short code uses API calls to get an always valid program path

Assumes
tested on Win 9x, NT, 2000 and XP
Code Returns
Real Program Path
API Declarations
see in ZIP file

Rate App.path replacement that works with CD and Network Drives

Download App.path replacement that works with CD and Network Drives

Download App.path replacement that works with CD and Network Drives (3 KB)

App.path replacement that works with CD and Network Drives Comments

No comments have been posted about App.path replacement that works with CD and Network Drives. Why not be the first to post a comment about App.path replacement that works with CD and Network Drives.

Post your comment

Subject:
Message:
0/1000 characters