473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.Net Web Browser

Does anyone know of an implementation of a web browser that will allow
programmatic control? Specifically, I need access to read the cookies
collection (session cookies included) and control the browsing to
various pages. I'd prefer managed code, but I'd settle for unmanaged as
well. I've looked for an implementation that implements
httpwebrequest but can't find anything.

Jan 4 '06 #1
3 3340
Do you mean *real* browser or a browser control (like Mozilla' ActiveX, IE
AxBrowser Control)?

1997 I controlled Netscape using it's DDE based API. Terrible.
But can't e.g. Mozilla's ActiveX control which has excatly same API as IE's
Browser control, control Mozilla itself?

<mw*****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Does anyone know of an implementation of a web browser that will allow
programmatic control? Specifically, I need access to read the cookies
collection (session cookies included) and control the browsing to
various pages. I'd prefer managed code, but I'd settle for unmanaged as
well. I've looked for an implementation that implements
httpwebrequest but can't find anything.

Jan 4 '06 #2
You can either use the System.Windows.Forms.WebBrowser control in the 2.0
framework or import the COM WebBrowser out of ShDocVw.dll. Either way, you
can grab the cookies out of the document object when a page loads. Both of
these will allow you to programmatically control browsing also. For direct
access to cookies, you can PInvoke into wininet.dll to use InternetGetCookie
and InternetSetCookie.

--
Colin Neller
http://www.colinneller.com/blog
<mw*****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Does anyone know of an implementation of a web browser that will allow
programmatic control? Specifically, I need access to read the cookies
collection (session cookies included) and control the browsing to
various pages. I'd prefer managed code, but I'd settle for unmanaged as
well. I've looked for an implementation that implements
httpwebrequest but can't find anything.

Jan 4 '06 #3
Thanks Colin!

Jan 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Szar | last post by:
JS noob. I've seen plenty of browser detection scripts but they all seem to be slightly different and don't really fit my needs. I have various places where if the browser is IE I'd like to display...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
2
by: Craig G | last post by:
is there a way to distinguish whether a client is using IE or Netscape? is there some sorta check i can run on the Page_Load event? or where would be the best place to do this? Cheers, Craig
1
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are...
4
by: Peter Larsen | last post by:
Hi, I want to be able to show a file browser embedded on a form - a browser which is similar to the browser you get by SHBrowseForFolder(). Is that possible ? Thank you in advance. BR Peter...
15
by: CMM | last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My superiors have decided that it would be nice if we ensured the site worked on all the major platforms (as they see it: IE,...
16
by: petermichaux | last post by:
Hi, Does anyone have a a cross-browser setOpacity function that does not use browser sniffing? I looked at the Yahoo! UI function and it detects IE by looking for window.ActiveXObject. I also...
5
by: Mufasa | last post by:
We want to keep track of what OS/Browser people are using for our website. How can I find that out so that I can write it to a DB ? I know how to get it into the DB; I just need to know how to get...
0
by: etnaelk | last post by:
Hi all, I have a real bugger of a problem that I just haven't been able to figure out. I am working on writing my own proxy server in C# using TcpListener, TcpClient, HttpWebRequest/Response and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.