Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Windows API to Determine if File is Local/Convert Path to Drive Letter

Hi all,

I'm working on a userform in Excel that relies on the common file
dialog windows api. Once the user selects a file, I need to determine
if the selection is valid or not. Basically, I need two additional
Windows APIs: one to determine if the file the user selected is stored
on the local machine or on a network share, and another to convert the
fully qualified name (\\server\folder) to the drive letter alias set up
on the local machine (i.e. o:\ in this case). Has anyone used APIs
like this/have a link to a site that would have these APIs documented?
(I rarely use Windows APIs, so I need the VBA implementation of them if
possible.)

Thanks,
Johnny

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Links to mapped drive change to refer to local hard drive SueD Links and Linking in Excel 1 May 8th 08 11:42 AM
How to show the drive letter in the path on the title bar? Jim Excel Discussion (Misc queries) 6 July 2nd 06 10:19 AM
How do I get the true path to server (not mapped drive letter)? John Excel Worksheet Functions 2 May 18th 06 09:48 PM
Hyperlinks - Move file to local drive, all links break Shawn McGowen Excel Discussion (Misc queries) 1 March 9th 06 12:52 AM
Using path instead of drive letter dumbass Excel Programming 2 May 25th 04 12:25 AM


All times are GMT +1. The time now is 01:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"