
NEW: Converting long filenames to short
I believe the API is GetShortPathName(..)
--
Randy Birch, MVP Visual Basic
Moderator, Fidonet Visual Basic Programmer's Conference
VBnet, The Visual Basic Developers Resource Centre
http://home.sprynet.com/sprynet/rasanen/
: In my previous posting I was actually talking about converting entire
: pathnames *as well as* filenames to their DOS counterparts:
:
: Hi,
:
: In one of my VB5.0 projects I want to control an instance of Excel 5.0
: by means of OLE Automation, and open and save spreadsheets there. Am I
: right in assuming that I can only deal with short (DOS-based) filenames
: when doing so, and if so, is there a simple way to convert long Win95
: filenames to the DOS counterparts in VB 5.0?
:
: Thanks,
: Frank W Mortensen
: Oslo, Norway
:
:
:
: