-
A Number of Questions...
Ok...
I am making a DLL that makes downloading files from the net easier and im using the INet control. Is there any way to find out the size of the file on the net? At the moment I use the OpenURL() function and retrieve the file as a byte, but how do find out how big the file is, before it is downloaded? I want to know this so I can make a progress bar, (eg. amount aquired, percentage downloaded etc.)
Secondly, does anybody know how to find out runescape stats using VB?! I know it is possible to retrieve someone's stats, but how do you do this? I don't mean using a site like RSBANDB.com or runehq.com and having them make a stats signature for you to use, I mean pinging or doing something somehow to find out your stats.
Any help on these questions is greaetly appreciated 
mEo
-
How are you downloading the files? If the files are on an FTP server, you can issue a DIR command to get a directory listing, which includes the file size(s). If they're on an HTTP server, issue a HEAD command and check the returned Content-Length value.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
I am using INet control. How do you issue the HEAD command?
-
You may not be able to do it with the Inet control. See if this helps: http://www.vbip.com/wininet/wininet_webchecker.asp
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
It does in a way...
The example they give doesn't work when I try to configure it to download a file though
Similar Threads
-
Replies: 3
Last Post: 07-31-2005, 05:17 PM
-
By George in forum oracle.general
Replies: 0
Last Post: 04-01-2003, 12:02 AM
-
Replies: 255
Last Post: 02-13-2002, 07:32 PM
-
By Kofi Brown in forum Database
Replies: 4
Last Post: 05-09-2000, 09:37 AM
-
By Kofi Brown in forum VB Classic
Replies: 10
Last Post: 05-08-2000, 09:13 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|