ACC: Sample Function to Determine the Access Startup Directory (88174)
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 Q88174 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
This article describes the steps involved in creating a function that
returns the Microsoft Access startup directory.
Microsoft Access does not have a built-in command to return the Microsoft
Access startup directory. However, you can accomplish this by making
Windows application programming interface (API) calls in Access Basic.
NOTE: Microsoft Access 2.0 does include the function SysCmd() to return
the directory where the Msacess.exe file is located. See the bottom of
this article for more information.
REFERENCES
"Microsoft Windows Software Development Kit," Microsoft Press, 1992
"Programming Windows: the Microsoft Guide to Writing Applications for
Windows 3," Charles Petzold, Microsoft Press, 1990
"Programmer's Reference Library: Microsoft Windows 3.1 Guide to
Programming Reference," Volumes 1 - 6, Microsoft Press, 1992
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbprogramming KB88174 |
---|
|