Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language:
Expertise: Beginner
Aug 6, 1997

Lost Long File Names?

Never, never, never assume that a given API call or control/OCX works the same under Win95 and Windows NT. For example, the 32-bit file common dialog handles long file names, right? Well, it does in Win95, but under NT 3.51, long file names/directory names show up as short names if that name contains an embedded space. The solution? If your program needs to run on both platforms, check for the operating system in your code. If it is Win95, use the common dialog. If it is NT, call your own form that imitates the common dialog (the DirListBox and FileListBox show long filenames with embedded spaces just fine). Or, just tell your users to wait for NT 4.0.

L.J. Johnson
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date