Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

download XML files via webBrowser Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chad - 24 Jan 2006 20:09 GMT
Hello,

I'm using CF to build an App that downloads XML file from a website.
I'm trying to use the webBrowser control. I want to be able to download
the XML files from the webserver to a specific local path and name on
the PDA, without prompting the user.  Is this possible?

Thanks for your help!
Mark Arteaga - 24 Jan 2006 22:11 GMT
Use the HTTPWebRequest class instead of the browser control.  You will have
more control over what you want to do.

http://msdn2.microsoft.com/en-us/library/8y7x3zz2(en-US,VS.80).aspx

HTH
________________________________________
Mark Arteaga
.NET Compact Framework MVP
http://www.opennetcf.com | http://blog.markarteaga.com

> Hello,
>
[quoted text clipped - 4 lines]
>
> Thanks for your help!
chad - 31 Jan 2006 04:11 GMT
Mark,

Thanks so much for your help, it works great!  I have another question
how do I handle SSL communition?  I'm using the example below:

http://www.codeproject.com/csharp/HttpWebRequest_Response.asp

I posted a request for the SSL code but I have not got a response.

Thanks

Chad
Sergey Bogdanov - 31 Jan 2006 13:01 GMT
See this example:
http://www.sergeybogdanov.com/samples/SSLFileDownloadVB2k5.zip

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

> Mark,
>
[quoted text clipped - 8 lines]
>
>  Chad
chad - 31 Jan 2006 16:48 GMT
Sergey thinks for the sample code!  I was wondering do you have that in
C#?

Thanks For your Help!

Chad
Sergey Bogdanov - 31 Jan 2006 20:28 GMT
Initially it was written for a reply to VB.NET related question. It's
not hard to convert to C#. Just use VB.NET to C# converter, like this one:
http://www.carlosag.net/Tools/CodeTranslator/Default.aspx

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

> Sergey thinks for the sample code!  I was wondering do you have that in
> C#?
>
> Thanks For your Help!
>
> Chad
chad - 31 Jan 2006 21:00 GMT
Very Cool thanks for the Help!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.