|
-
Mar 22nd, 2008, 07:30 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Loading .exe form - Brings up x2 not 1
I have this code in the CmdSend_Click() button:
Dim retval
retval = Shell("C:\Program Files\Nokia\Nokia PC Suite 6\TextMessageEditor.exe", 1)
SendKeys "abc", 1
SendKeys "{TAB}", 1
SendKeys "Your mesage here", 1
It works BUT it opens the .exe file twice then sometimes it fills the fields in on just one form and other times it splits the message across the two. I've tried putting the code in CmdSend mousedown, mouseup, pressdown ect to see if that helps but even tho it does only bring up the form once it is minimized rather than on the creen with the focus set
Any ideas on how to make the .exe file open just once?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|