|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Vbscript help with password pretected file
I need to open a password protected access database. I'm using the run function of the wscript.shell object to open the database. As soon as it opens, an input box asks for the password. How can I make the vbscript enter the password? I've tried the sendkeys method, but it does not work.
Thanks! |
|
#2
|
||||
|
||||
|
Normally
__________________
medialint.com "Energy has the opportunity to change the climate if it's done right." - Sen. John Ensign, R-Nev. (quoted out of context) |
|
#3
|
|||
|
|||
|
I'd do the same, if your password prompt is being caused by a password-protected db. What context are you running your script in? If it's an asp script through IIS, your prompt may be caused by incorrect file permission settings of some file within your web space.
If your authentication prompt is a windows authentication prompt, not a db authentication prompt, I don't believe you can provide a password by code.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Vbscript help with password pretected file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|