I need help with MS Visual Studio 2005

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

MotoX86

Thread Starter
Joined
Feb 16, 2008
Messages
143
I am using a Windows Application template in Visual Studio '05 and I have a web browser window applied to the form. My question is, I want to send different mouse and keyboard commands to the web browser. How can I do this?
 
Joined
Jan 20, 2002
Messages
433
Your question isn't clear, please provide more details about what you're trying to do.
 

MotoX86

Thread Starter
Joined
Feb 16, 2008
Messages
143
In Visual Studio 2005, I chose a Windows Application template and I put a web browser window in the form. I want to send simulated mouse clicks to the browser window at certain coordinates relative to the window. Also send keyboard letters to the window so it can fill in information. The program will send these commands without interfering with whom ever is using the computer while it is running. So, it will run minimize in Windows tray, sending mouse clicks and keyboard keys to web pages, while a user can continue with other work.

I hope that is more clear.
 
Joined
Jan 20, 2002
Messages
433
Much clearer. I don't have an answer for you but I can make one observation that might be helpful. It sounds like you're trying to automate control of the browser. If so, you really don't need to work at the mouse click and keystroke level. There are other, more precise ways, of controlling browsers, such as javascript (e.g., see Selenium, a testing tool that injects javascript into pages to provide programmatically manipulation) and plugins.

It's been a long time since I worked with the Microsoft browser control (it was back in the vb6 environment), but it's possible that the control directly exposes APIs that would provide a simpler solution.

Good luck!
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top