VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Use GetModuleFileName API call to find the location your executable, since App.Path can return erro

Anonymous  (267 Submissions)   Windows System Services   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Sat 16th January 1999   Mon 8th February 2021

Use GetModuleFileName API call to find the location your executable, since App.Path can return erroneous results.

API Declarations



Public Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Long
Public Declare Function GetModuleFileName Lib "kernel32" Alias "GetModuleFileNameA" (ByVal hModule As Long, ByVal lpFileName As String, ByVal nSize As Long) As Long


Rate Use GetModuleFileName API call to find the location your executable, since App.Path can return erro (2(2 Vote))
Use GetModuleFileName API call to find the location your executable, since App.Path can return erro.bas

Use GetModuleFileName API call to find the location your executable, since App.Path can return erro Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters