Working with a .exe file
Marco,
If you must post to more than one NG, cross-post, not multi-post.
And stick to one thread.
You now have 4 threads in 2 NGs on the same subject, with replies but no
feedback from you.
NickHK
"Marco" wrote in message
oups.com...
Hi all,
I have a software ending with .exe that i would like to open, type
the
word 'select' on it, press 'enter' and make it run.
I used the following code :
wb = Shell("Y:\Programs\Sel.exe", 1)
Application.Wait Now() + TimeValue("00:00:15")
SendKeys "select"
SendKeys "{ENTER}"
but the Sel.exe either copies the text "select" on my vbe editor
or shows the text "select" but it doesn't
recognize it.
When I open Sel.exe and I type "select" + "{ENTER}", without using vba
code,it works.
Any helps?
Thanks,
Marco
|