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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP - Shell Function and opening a Secured Database

Status
Not open for further replies.

Petchy

MIS
Jan 29, 2001
6
0
0
GB
Hello all,

I've been having some difficulty opening a secured database with the getobject function. I've found an article on the Knowledge Base regarding this (Q192919) which seems to give me the answer - use the Shell command.

However, I can't seem to get the command line instructions to work as it says in the document. Here's what I've got so far:

x = Shell(application_path & " " & databasepath_and_name & " /Nostartup /user " & User & " /pwd " & password & " /wrkgrp" & workgroup,vbminimizedfocus)

At the moment I keep getting an error in the access application - "command line used to start Microsoft Access that Microsoft Access Does n't recognise

Any Ideas??

thanks,

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top