Web Browser Question

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 30
Reputation: Potato.Head is an unknown quantity at this point 
Solved Threads: 0
Potato.Head's Avatar
Potato.Head Potato.Head is offline Offline
Light Poster

Web Browser Question

 
0
  #1
Feb 27th, 2009
Hi to all I have the following question, I was wandering if I can use the Web Browser Control(ActiveX) in a C# DLL.
I create a win form from the article:
http://www.c-sharpcorner.com/UploadF...erInCSMDB.aspx

And every thing is working OK, I want to write a DLL that includes a Web Browser object and do actions I can do in the Windows Form, for example navigate to URL...

I need to create a DLL that has the avality to navigate to URL and them download the page(like you do File->Save As...).

Actually I need all the actions the web browser control can do but without any GUI, Is this possilbe?
Or there is DLL/reference in C# that I can use to do this?
Thanks in advanced
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,356
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 605
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Web Browser Question

 
0
  #2
Feb 27th, 2009
System.Net.HttpWebRequest

Also see: http://www.codeproject.com/KB/cs/Bro...B_with_C_.aspx
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 30
Reputation: Potato.Head is an unknown quantity at this point 
Solved Threads: 0
Potato.Head's Avatar
Potato.Head Potato.Head is offline Offline
Light Poster

Re: Web Browser Question

 
0
  #3
Feb 28th, 2009
Thanks for the response, the System.Net.HttpWebRequest doesn't help for me, I need to download the entire web site(al the pictures, css, javascripts...), like you do when when you do: File->Save as... from the browser, If I use the Web Broser element has all the functions of the Browser, with System.Net.HttpWebRequest I can't do this.
Thanks
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Web Browser Question

 
0
  #4
Feb 28th, 2009
then HttpWebRequest *IS* the answer, but you just have to do a little more work as by default the only thing you get is the file you requested, you'll have to work out what else you needed to download
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC