Greetings,
I’m trying to programmatically (without any user intervention) retrieve the “long path name” for a given file. It seems to me this should be a rather easy thing to achieve using Access VBA. I’ve tried using various FileSystemObject methods with no luck. I’ve Googled many variants of “VBA get full path” without any meaningful hits.
I’m hoping to provide the first string as a parameter to some object and have it magically return the second string.
String 1: C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
Stint 2: C:\Program Files (x86)\Common Files\microsoft shared\VBA\VBA7
Am I missing something very obvious?
Cheers
I’m trying to programmatically (without any user intervention) retrieve the “long path name” for a given file. It seems to me this should be a rather easy thing to achieve using Access VBA. I’ve tried using various FileSystemObject methods with no luck. I’ve Googled many variants of “VBA get full path” without any meaningful hits.
I’m hoping to provide the first string as a parameter to some object and have it magically return the second string.
String 1: C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
Stint 2: C:\Program Files (x86)\Common Files\microsoft shared\VBA\VBA7
Am I missing something very obvious?
Cheers