August 2nd, 2011, 02:14 PM
I am working on a project where I have to automate the process of entering data through a website. I decided to use the WebBrowser control in .NET for this task.
I have also tried to use the InvokeScript() method, but that also does not work.
Can anyone give me any ideas on how I might be able to resolve this issue?
August 2nd, 2011, 03:42 PM
WebBrowser control is the wrong approach. Trust me, I know. Did something similar to autoamtically fill a range of textboxes on a webpage. Have a look into the SHDocVw and the mshtml namespaces / libraries. Add a reference to them. ShDocVw you can find at :
And the mshtml you can find at :
C:\Program Files\Microsoft.NET\Primary InterOp Assemblies
Also include your using statements to reference these libraries.
Once done, you can manipulate the webpage ( HTMLDocument ) object through code.
August 2nd, 2011, 07:20 PM
I have heard of MSHTML, but what is SHDocVw?
August 3rd, 2011, 07:19 AM
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!