control another application from vb.net

I need to control another application from vb.net by simulating keyboard and mouse entries.The idea is to auomatize tasks of changing prices on an e-commerce solution's control panel because I have no direct access to the database.Can somebody help me?

Comments

Sure! Look up the SendKeys command in google. Its pretty cool feature that allows you to send Keyboard commands to the processor. (so you can hit tab to go through fields and punch in numbers with it). Also, there is a command (off the top of my head I cannot recall it but if you don't come across it in your search just ask again I will find it for you) that allows you to do mouse input, so you can move your mouse cursor to a specific Pixel x Pixel coordinate and do clicking and that sort of thing.

To date I don't really know a way to acquire information from an application's objects (I am no means an expert in this field, so it doesn't mean its not doable) to check things, so doing sendkeys is pretty dependent on having the same prompts each time or ones that you can check the case of by the input values.

Hope this helps,Sean Campbell -firesickle.com

: I need to control another application from vb.net by simulating : keyboard and mouse entries.: The idea is to auomatize tasks of changing prices on an e-commerce : solution's control panel because I have no direct access to the : database.: Can somebody help me?

I made something myself for my workplace using vb6. Can't be that hard using .Net.As for thre remote thingie. I was able to see another computer's screen in a textbox every so seconds and i was able to move the mouse around. Not using it or finished antything . Reply and I can send it to you.

[color=Green]HP[/color][hr]

: : I need to control another application from vb.net by simulating : : keyboard and mouse entries.: : The idea is to auomatize tasks of changing prices on an e-commerce : : solution's control panel because I have no direct access to the : : database.: : Can somebody help me?: