Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open an access database with a .vbs file 1

Status
Not open for further replies.

t1hodges

MIS
May 8, 2003
54
All I want to do is open an existing .mdb by double-clicking a .vbs file.

if the location of the .mdb is "c:\Destop\example.mdb" how should I create the vb code in notepad?

Thanks a bunch.
 
Are you wanting to open and have a script process data from the mdb or jus have MS Access open the specified file in an interactive mode?


Thanks, Danzig
 
Something like this ?
Set Sh = CreateObject("WScript.Shell")
Sh.Run """\path\to dir\example.mdb"""

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top