|
-
Feb 23rd, 2000, 09:20 PM
#1
Thread Starter
Lively Member
Hello,
------
How can I download a file from the internet and also show the status of the file that im downloading? I want it to be exactly like im downloading a file from the internet using Internet Explorer or Netscape.
Thanks in advance!!
-
Feb 24th, 2000, 05:56 AM
#2
Sure thing. Try something like this:
Code:
Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As String) As Long
Private Sub Command1_Click()
Dim strDownload As String
strDownload = "http://www.MySite.com/myfile.zip"
strDownload = StrConv(strDownload , vbUnicode)
Call DoFileDownload(strDownload )
End Sub
This will show the IE's download dialog box.
-
Feb 27th, 2000, 04:09 PM
#3
Lively Member
Serge!!!
Your example bring out Common Dialog("Save as").
But I want automatically save file example App.Path folder and using same name.
How I can do this??
- Dj4
-
Feb 28th, 2000, 10:31 AM
#4
New Member
Downloading HTML page
Hi there...
I am working on a program that will open an internet connection, and based on the user's choice (via a dropdown combobox) go to the determined web page and also show the html source. The problem is that I have tried to display the source with a textbox and a richtextbox, and the source is not complete. Could it be that those components reached the maximum storage capacity and everything was 'truncated'? If so, how can I capture and display the source within my application?
I'll apreciate any help.
Sincerely,
VBGuy74
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
|
Click Here to Expand Forum to Full Width
|