Public Function GetModuleFileName( _ ByVal vModuleHandle As Variant _ ) As Variant
GetModuleFileName(est.hInstance) = "C:\VB\VB32.EXE"Note: You will likely get a different result when running this example.
hInstance Application Class Property GetModuleFileName Function (Windows API)vModuleHandle: Windows Module Handle for the program whose file name will be returned. Function returns Null if vModuleHandle is Null or cannot be fixed-up to a number.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.