`
Windows API: Mapping a network drive 2002-04-10 -- Larry Sand Newsgroups: softvelocity.products.c55ee "Bernd" wrote: | Thanks to all for the replies ! | | I will stop to use the subst command. I didn't know there was an API call to | map a networkdrive at runtime. Who knows the API prototype to map a | networkdrive, or where can I see an example on the web. The API you want is WnetAddConnection (WnetAddConnection2 or WnetAddconnection3). It's not very difficult to use and I know that several examples have been posted before. You could search Steve Parker's KB, Icetips, and Clarion Foundry for examples. You can get the documentation for this API from http://msdn.microsoft.com Cheers, Larry Sand Printed November 21, 2024, 7:27 am This article has been viewed/printed 35248 times. Google search has resulted in 127 hits on this article since January 25, 2004. |