Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / November 2007



Tip: Looking for answers? Try searching our database.

Alternative to URLDownloadToFile (IE not installed)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg Lovern - 30 Oct 2007 16:49 GMT
I'm using URLDownloadToFile and it's working fine, but some of the
users don't have IE installed and don't want to install it.

Is there an alternative to URLDownloadToFile that doesn't require MS
Internet Explorer to be installed?

Thanks,

Greg
mayayana - 30 Oct 2007 19:37 GMT
You can just use straight API:
http://www.jsware.net/jsware/vbcode.php3#htp

 The link goes to a UserControl that handles
downloads by using Winsock directly. There are
no extra dependencies from Win95 up. Using Winsock
also provides the option to log/inspect the server
conversation and optionally respond to it.

> I'm using URLDownloadToFile and it's working fine, but some of the
> users don't have IE installed and don't want to install it.
[quoted text clipped - 5 lines]
>
> Greg
Greg Lovern - 30 Oct 2007 22:02 GMT
> You can just use straight API:http://www.jsware.net/jsware/vbcode.php3#htp

Thanks, that looks great.

Greg
Karl E. Peterson - 30 Oct 2007 20:46 GMT
> I'm using URLDownloadToFile and it's working fine, but some of the
> users don't have IE installed and don't want to install it.
>
> Is there an alternative to URLDownloadToFile that doesn't require MS
> Internet Explorer to be installed?

VB5/6 UserControls have an AsyncTransfer method that's a hidden gem.  See
http://vb.mvps.org/samples/NetCam for an idea of how to use it.  One really nice
aspect is, you don't have to save to a file before using the bytes.
Signature

.NET: It's About Trust!
http://vfred.mvps.org

mr_unreliable - 30 Oct 2007 22:26 GMT
Greg, I am assuming you don't wish to use a third-party utility
for this.  Otherwise...

I have been using the (free) ws_ftp95 for years.  You can still
find it on the web.  However, Ipswitch no longer offers a free
version.  Their latest version is "WS_FTP Professional 2007"
and is offered for sale here:

   http://www.ipswitch.com/products/ws_ftp/index.asp

PC Mag recommends FileZilla, a free ftp utility from Source
Forge:

   http://sourceforge.net/projects/filezilla/

You may also wish to take a look at Karl Peterson's "Slurp"
utility, for downloading URL's.  I'm surprised he didn't
mention it himself.

   http://vb.mvps.org/samples/project.asp?id=Slurp

cheers, jw

> I'm using URLDownloadToFile and it's working fine, but some of the
> users don't have IE installed and don't want to install it.
[quoted text clipped - 5 lines]
>
> Greg
Tony Proctor - 07 Nov 2007 12:39 GMT
Does anyone know if the URLMON DLL is redistributable?

   Tony Proctor

> I'm using URLDownloadToFile and it's working fine, but some of the
> users don't have IE installed and don't want to install it.
[quoted text clipped - 5 lines]
>
> Greg
Randy Birch - 07 Nov 2007 13:08 GMT
Only as an install of IE.

Signature

Randy
http://vbnet.mvps.org/

> Does anyone know if the URLMON DLL is redistributable?
>
[quoted text clipped - 9 lines]
>>
>> Greg
 
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



©2009 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.