vb6 send keys mir3 dbsvr

Serphant

Dedicated Member
Dedicated Member
Sep 15, 2004
66
0
52
Hello, I was trtying to make a server starter in vb6, for the DBSvr.exe I was planing on doing

Shell "DBSvr.exe", vbNormalFocus
SendKeys "%", TRUE
SendKeys ("F"), TRUE
SendKeys "{ENTER}", TRUE

to start the progrram..... but once it does the first line the program goes out of focus... can anyone help me please?
 

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
145
New york
Yes use api POSTMESSAGE to do what you need.. look it up. I'm pretty sure its post message i've never done it myself.