
Urgent! Please help...password protected database
Automate the password typing using SENDKEYS
You can also use WSH control's appactivate, run and
sendkeys from within VB.
If you like use 100% command line use a vbscript with
wshshell.
vasu
Sreenivas (Vasu) Chaparala
MCAD, MCSD, MCSE, MCP+I, SCJP
Quote:
>-----Original Message-----
>I use the following to open access to print reports from
VB 6.0. It works
>fine except when I set a database password. Not sure what
the command line
>would be to open the database with a password set.
> x = Shell(App.Path & "\msaccess.exe " & Chr$(34)
& strDBName &
>Chr$(34) & "/Runtime /Wrkgrp " & Chr$(34) & App.Path
& "\system.mdw" &
>Chr$(34), vbNormalFocus)
>-David
message
>> Do you mean open the Application and it's associated
GUI or just access it
Quote:
>using ADO to execute queries etc. against the
>> data.
>> Chris Barber.
>> How do I use the shell command to run msaccess.exe to
open a database that
Quote:
>> has a password set?
>> Thanks!
>> David
>.