Home > Microsoft .Net Development Tips > ARCHIVE: Tips & Tricks > Find That Long Pathname
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ARCHIVE: TIPS & TRICKS

Find That Long Pathname


David Goben
11.21.2000
Rating: -4.60- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Find That Long Pathname

File names can be a bear, especially when you need to know a full file name or path, and all you have is the file specification in the old style 8.3 format. Reader David Goben offers this tip, which allows you to find a full pathname given the file name.

A lot has been said about the GetShortPathname() API call, but I have not seen anything regarding obtaining the long path name, which is something we require at my company. So I'm submitting the following module code wh

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
ARCHIVE: Tips & Tricks
SearchVB wants your tips
Find out what VS.NET modules are installed
Retrieving icons from an EXE-file
Toggling Boolean values
VS.NET multiple tabbed windows
Set the value of a DataField in code behind
Easy grid design
Open using last Visual Studio.NET layout
Save development time by using inherited forms
Reusing code in VS.NET

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ich will support this. It takes advantage of the GetLongPathName() API available to Win98/Me/2000, but this code will also support NT4.0/Win95 if this API is not available:

Thanks, David. As a token of our appreciation, we will be sending you a SearchVB denim shirt.

David Goben is lead developer for Merry Mechanization, Inc.'s Advanced Development Group. He have been programming since 1978, first in Assembler, then Fortran, C, Forth, Pascal, and finally BASIC. He has used VB since Version 1.0.


Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts