
Converting long filenames to short filenames in VB4.0 16-bit
Quote:
>?
>?Hi,
>?
>?I can convert long filenames to short filenames in VB 32-bit using
>the GetShortPathName API call, but unfortunately this API call does
>not work in VB4.0 16-bit.
>?Does anyone know of an equivalent API call or function that I can use
>in VB4.0 16-bit ?
>Create a 32-bit VB out-of-process wrapper (ActiveX EXE) for the
>GetShortPathName API function call and reference it from your 16-bit
>VB app. No thunking required.
>Paul
>~~~~
Thanks for your suggestion.
I managed to create an ActiveX exe in VB5 as you suggested,
but I cannot create a reference to the compiled exe in VB4.
However, I was able to create a reference to it in VB5 and
call the wrapper function from a new instance of the class.
Could I be doing something wrong, or is this just not possible ?
Regards,
Bryce.
-----------------** -- Posted from CodeGuru -- **-----------------
http://www.codeguru.com/vb The website for VB programmers.