Re: "Driving" a browser conrtol programatically



Hi Yursil,

Thanks for the information. With your permission I have another small
question: When I use your technique of utilizing the "browser" component
onto a form, would the sites I navigate think I'm using IE 6.0? does the
"browser control" available under .NET utilize the Internet Explorer or is
it a totally different component?

Thanks
Ron

"Yursil Kidwai" <yursil@xxxxxxxxxxxxx> wrote in message
news:1121799748.752804.20100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Ron,
>
> This should be fairly straightforward in a .NET application. You can
> drag an Browser onto your form, set it's visible status to false, but
> continue to send navigation messages to it. You can also access the
> DOM which represents the web page retrieved to simulate clicks and
> such.
>
> Good luck.
>
> -Yursil
>
>
> Ron M Newman wrote:
>> Hi,
>>
>> I'd appreciate a point in the right direction. What I'm trying to achieve
>> is
>> driving the IE 6.0 browser control programatically to achieves the
>> following:
>>
>> 1) Navigate to a given page
>> 2) Enumerate all links and buttons.
>> 3) Be able to "simulate" a click on a button or a link in order to
>> navigate
>> to a new page.
>> 4) go to #2.
>>
>> my constraints:
>>
>> - No visible web browser control is allowed. This should be done in the
>> background
>> - The decision on what button or link to follow is done using our own GUI
>> based on the enumeration of the links and buttons.
>> - the "target" web site must think it's being viewed with internet
>> explorer
>> 6.0.
>>
>> I'd appreciate a pointer in the right direction
>>
>> Ron
>


.