how to sendmessage to the elements of web browser control 
Author Message
 how to sendmessage to the elements of web browser control

I am now writing a kiosk software by vb which have the internet browsing
capability. I put an web browser control on the form, and implemented few
buttons for browsing.The other features of this program is develop a
software keyboard to allow the user input the form on the web pages. The
software keyboard has some buttons on the same vb form with the browser
control .The user can browse any web pages on the internet, when he reach
pages with input form and click on a input text field, then he can click on
button of the vb form and i will send a
keybd_event to the web browser control to add a
character to that field. However, i encouter some problems,
any one can help?

1) the hWnd property of the web browser control is not function

2) i can send the keybd_event successfully by getting the handle of the
browser by looking up the value of Internet Explorer_Server class with
 spy tools and run the program in debug mode,
 is there any method to look up the handle value programmatically?

3) i found that if the web page contains frame, there will be mulitiple
Internet Explorer_Server will be found, how can i determined which frame
i want to send?

Thankx in advanced

Sat, 20 Apr 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Scroll bar and other display elements in web browser control

2. Web browser control, .Document object browser/viewer?

3. Web Browser: Opening link in new Web Browser window

4. How to make my web browser as a default web browser

5. Printing a Web Page in Web Browser Control

6. Detecting bad web site in web browser control

7. Directly referencing an element on a web page in the WebBrowser control

8. Automation Error from Web Browser Control in VB5 Control

9. How to control scroll bars in Web Browser Control

10. Web Browser Control in HTML Layout Control

11. Web Browser control - problem loading ActiveX controls

12. Retrieving all elements of a ComboBox with SendMessage


Powered by phpBB® Forum Software