any sample for c# applicaiton hosting internet explorer?

  • Thread starter forum.microsoft.com
  • Start date
F

forum.microsoft.com

Can some one please point me to some sample code of using c# (.net 2 or 3x)
hosting internet explorer?
The target application is to run on XP or vista.

I am thinking of building an c# application to automate some tasks surfing
some trusted sites. The logon would still be by user.

the application will be extracting some tables and hopefully I can get it to
follow a table links and extract according to the table's spec

I have tried Google. So I found IE hosting windows form, webbrowser
control, accessing c# classes from IE...... no luck

I would have used webbrowser if were not for the fact that some of the links
on click will open a new windows using JavaScript function. Such new windows
will not have the security credential present in the webbrowser control.


Can someone points me some sample code or reference material? thank you very
much for your time and advice
 
G

GS

I am contemplating a similar project and run into the same problem.
The thing is I am not supposedly to totally automate but assist user., in
other word still let them drive and view the content and allow them freely
to click on other links not used for extraction.
The worse part are those parts of website links using JavaScript to open new
windows expecting inheritance of https credentials.

and I still extremely weak with JavaScript parsing and practically ignorant
of http webrequest
and webresponse


I would appreciate some tutorial or samples

Thank you
 
G

GS

thank you, looks like a great wrapper. It must took a lot work and time to
implement and debug that.

I look at a few code so far they are mostly just wrapper code like it says.
that is great.

I tried Google on the project there has been few mention of the project from
forums, but nothing on review so far.


I guess I just have to dig in and see id I just pull a few features from it.
I will just have to get security review process approved for the project.

I am still fairly green in C# and security. What should I look for that
breach or allow security breach?


Take a look at this free webbrowser wrapper control:

http://code.google.com/p/csexwb2/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top