AlexR Posted February 26, 2008 Share Posted February 26, 2008 Hello experts, Ive got a little problem I hope someone could help me. Today I tried to use AutoItX3Lib.AutoItX3 to write a code in vb .net so execute my windows application. My windows application contains just one Button and one textbox. To click my button going well. Ive got no problem to use and click the button, but I cant write a text in my text box. Here is my code: Dim objAutoIt As New AutoItX3Lib.AutoItX3 objAutoIt.Run("C:\myapplication.exe") objAutoIt.WinWaitActive("Form1") 'Press Button objAutoIt.ControlClick("Form1", "", "Button2") objAutoIt.WinClose("Form1") Have someone a tip for me? Best regards, (desperated) Alex Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 26, 2008 Share Posted February 26, 2008 It looks right to me, but I don't routinely use AutoItX. You might try posting this in the forum specifically for AutoItX: ActiveX/COM Help and Support (AutoItX) Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AlexR Posted February 27, 2008 Author Share Posted February 27, 2008 okay, thaks a lot! done kind regards, Alex Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now