borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (vb code)Next Topic (Clear textboxes, Listboxes or comboboxes) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : Get short filename
Poster Message
Balder
Level: Guest


icon Get short filename

I would like to retireve the short pathname from a long pathname

If the path is "c:program filescommon files" (long pathname) I want to get something like this "c:progra~1common~1" (short pathname)

I need this to run a external commandline proggy.

I know how to to this in VB6, but not in VB.NET. PLZ help!

Thanks!

23-10-2002 at 02:52 PM
| Quote Reply
dcostelloe
Level: VB Guru

Registered: 11-06-2002
Posts: 74
icon Re: Get short filename

Did I mention http://www.google.ca
Here is your answer

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q175512&





If you need an example of how to monitor a command post in the VB6 section I'll throw one in

[Edited by dcostelloe on 31-10-2002 at 12:44 PM GMT]

____________________________
Life is but a merry go round
around and around :-)

Visit us today:
http://www.welford-costelloe.com

31-10-2002 at 12:42 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB.Net : Get short filename
Previous Topic (vb code)Next Topic (Clear textboxes, Listboxes or comboboxes) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder