|
-
February 15th, 2007, 06:17 AM
#1
sending text to other applications
i want to activate and send keystrokes to the textbox of an application that runs on a browser from my visual basic form.i can use the URL of the application running on the browser to accomplish this task. like the block code below
Set IE = New InternetExplorer
IE.Visible = True
IE.NAVIGATE "http:www.sometext..."
but instead of using the URL i want to use the title on the browser to activate or access the application.the title is the title displayed on the title bar, like "VBForums - Post New Thread - Microsoft Internet Application"
please anyone to help
-
February 15th, 2007, 12:47 PM
#2
Re: sending text to other applications
You may want the "FindWindow" function to get a window handle (hWnd of the browser and then send keystrokes to it.
Look at www.allapi.net and search for "FindWindow" to get declaration, usage and sample for this function.
-
February 16th, 2007, 07:04 AM
#3
Re: sending text to other applications
-
February 16th, 2007, 08:09 AM
#4
Re: sending text to other applications
Welcome to the Forum. 
If you do a little search you will find 100s of examples showing you how to do just that,
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
|