Hi Gents,
My question is the following.I written a VB6 application to initiate a 3g Mobile internet connection.Everything works fine untill the point I call the 3g Program.The program actually opens but if the program was minimized my code Shell("C\Program Files\3 Mobile\3 Mobile Broadband\3 Mobile Broadband.exe") will be maximized and has got the focus.At this point I have to press F2 Key to make the actuall connection.How can I do it I don't know.
Also if the 3 Mobile program is closed (not just minimized) the code starts it but I don't have the focus on it so it is not enough to press F2 but I also have to get the focus first.Is there any way to emulate a keystroke? and get trhe focus?
Start Free Trial