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

Launch a program from vbscript

Status
Not open for further replies.

Japie111

Technical User
Aug 4, 2015
2
NL
Im trying to launch a program from vbscript but i cant get it to work

Information of deathbycaptcha:
To report an incorrectly solved CAPTCHA, run:
dbcclient.exe -l USERNAME -p PASSWORD -n CAPTCHA_ID


Function risc(ByVal captchaid)
Dim objShell
objShell = CreateObject("Shell.Application")
objShell.ShellExecute("C:\dbcclient.exe -l hkhk -p testeste -n" + captchaid)
End Function

please help thanks
 
maybe you forgot only one space
Code:
objShell.ShellExecute("C:\dbcclient.exe -l hkhk -p testeste -n[highlight] [/highlight]" + captchaid)
 
added the white space but still get this error:
Conversion from string "C:\dbcclient.exe -l hkhk" to type 'Double' is not valid.
 
Something like this should get you closer:
Code:
Dim objShell
[highlight #FCE94F]Set[/highlight] objShell = CreateObject("Shell.Application")
objShell.ShellExecute "C:\dbcclient.exe", "-l hkhk -p testeste -n " [highlight #FCE94F]&[/highlight] captchaid

Also, have a look here
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top