|
-
Sep 6th, 2000, 11:41 PM
#1
Thread Starter
New Member
Please, how to make a download without having this msgbox:
"URL is malformed"?
-
Sep 7th, 2000, 12:20 AM
#2
Fanatic Member
Would you mind showing the code that you are currently using to download the file...it seems you have misstyped the url or you placed it improperly in the code. I can't really help further untill i see the source that you are using.
D!m
-
Sep 7th, 2000, 06:02 PM
#3
Thread Starter
New Member
The strings and the variable's names are in portuguese, download is a button, dia is a commondialog and inet1 is an inet.
___________________________________________________________
Private Sub download_Click()
Dim endereco, arquivo
endereco = InputBox("Escreva o URL", "Download Rápido")
dia.DialogTitle = "Salvar " + endereco + " em:"
dia.ShowSave
arquivo = dia.FileName
Dim b() As Byte
Dim intCount As Integer
Dim strData As String
Inet1.Cancel
b() = Inet1.OpenURL(endereco, icByteArray)
Open arquivo For Binary Access Write As #1
Put #1, , b()
Close #1
End Sub
____________________________________________________________
Please help me
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
|