ACC2000: Connecting to the First Available Network Drive (210221)
The information in this article applies to:
This article was previously published under Q210221 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
To make a network connection with the Windows application programming
interface (API), you can use an unused logical drive letter or a Universal
Naming Convention (UNC) name, such as \\Servername\Sharename. You can call
the Windows API function, GetDriveType(), from a Visual Basic for
Applications module to find the first available drive letter, and then make
a network connection to this available drive.
REFERENCESFor more information about declaring API functions, click Microsoft Access Help on the
Help menu, type Declare Statement in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB210221 |
---|
|