Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
misc
exam.security
microsoft_update_catalog
msdn.annotations
msdn.drgui.discussion
msdn.duwamish
msdn.general
msdn.magazine
msdn.soaptoolkit
msdn.webservices
msdntraining
opsmgr.connectors
opsmgr.sp1
technet
technet.howtofeedback
technet.howtoneeds
technet.magazine
technet.technettalks
  
 
date: Tue, 8 Nov 2005 12:51:01 -0800,    group: microsoft.public.msdn.drgui.drguidotnet.discussion        back       


WebBrowser object without forms   
Is it possible to load an URL into WebBrowser object without form (Ex: 
Windows service) save to the disk as file.

I know how to do the above scenario by placing control over the form, 
loading URL then saving to a disk. But I don't know how can load the (page) 
given URL into WebBrowser object without forms. I tried to use and declare 
the object then tried to Navigate. I got error at the point of Navigate 
method (I guess, because there is nothing to navigate).

Any ideas?

Thanks,
Vijay
date: Tue, 8 Nov 2005 12:51:01 -0800   author:   Vijay

RE: WebBrowser object without forms   
Vijay,

are you trying to build a webpage downloader?
if yes; you probably need to consider other option than using WebBrowser 
object (it's an over-kill, why browse when there you are not intersted to 
look at what is being browsed?) for instance System.Net offer some file 
downloading thru http...

hope this helps
-- 
--Dr. Abdel


"Vijay" wrote:

> Is it possible to load an URL into WebBrowser object without form (Ex: 
> Windows service) save to the disk as file.
> 
> I know how to do the above scenario by placing control over the form, 
> loading URL then saving to a disk. But I don't know how can load the (page) 
> given URL into WebBrowser object without forms. I tried to use and declare 
> the object then tried to Navigate. I got error at the point of Navigate 
> method (I guess, because there is nothing to navigate).
> 
> Any ideas?
> 
> Thanks,
> Vijay
>
date: Tue, 15 Nov 2005 12:33:03 -0800   author:   Dr. Abdel.

RE: WebBrowser object without forms   
The internal (to the company) URL that I am trying to load and save to disk 
takes autogenerated (I need to call a webservice to get session ID) session 
ID as parameter. This whole URL with session ID works fine with WebBrowser 
control but not with WebClient. If I use WebClient, the retrieved page 
displays a message something like "session got expired". Any inputs?

Thanks,
Vijay


"Dr. Abdel." wrote:

> Vijay,
> 
> are you trying to build a webpage downloader?
> if yes; you probably need to consider other option than using WebBrowser 
> object (it's an over-kill, why browse when there you are not intersted to 
> look at what is being browsed?) for instance System.Net offer some file 
> downloading thru http...
> 
> hope this helps
> -- 
> --Dr. Abdel
> 
> 
> "Vijay" wrote:
> 
> > Is it possible to load an URL into WebBrowser object without form (Ex: 
> > Windows service) save to the disk as file.
> > 
> > I know how to do the above scenario by placing control over the form, 
> > loading URL then saving to a disk. But I don't know how can load the (page) 
> > given URL into WebBrowser object without forms. I tried to use and declare 
> > the object then tried to Navigate. I got error at the point of Navigate 
> > method (I guess, because there is nothing to navigate).
> > 
> > Any ideas?
> > 
> > Thanks,
> > Vijay
> >
date: Mon, 28 Nov 2005 15:00:08 -0800   author:   Vijay

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us