ACC: Connecting to the First Available Network Drive (90861)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q90861 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
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 (\\SERVER\SHARE). You can call the Windows
API function GetDriveType() from an Access Basic module to find the first
available drive letter and then make a network connection to this
available drive.
This article assumes that you are familiar with Access Basic and with
creating Microsoft Access applications using the programming tools
provided with Microsoft Access. For more information on Access Basic,
please refer to the "Introduction to Programming" manual in Microsoft
Access version 1.x, or the "Building Applications" manual, Chapter 3,
"Introducing Access Basic," in version 2.0.
REFERENCES
Microsoft Access "Introduction to Programming," version 1.0, page 8
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbinfo kbprogramming KB90861 |
---|
|