Can you help me how to make a website uploader in vb 6.0??? please....!!!! because i need it...:)
how to make a website uploader in vb 6.0?
Started by darkneo10, Jan 27 2010 09:15 PM
1 reply to this topic
#1
Posted 27 January 2010 - 09:15 PM
|
|
|
#2
Posted 28 January 2010 - 05:46 AM
hi darkneo10,
This is the simplest example for uploading some files to a web server. the BlockingUpload call is synchronous and returns when the upload is finished (or failed). The Chilkat Upload software is freeware and may be used in both commercial and non-commercial applications and websites.
use the msi activex that i included in my message
then use this code;
This is the simplest example for uploading some files to a web server. the BlockingUpload call is synchronous and returns when the upload is finished (or failed). The Chilkat Upload software is freeware and may be used in both commercial and non-commercial applications and websites.
use the msi activex that i included in my message
then use this code;
Dim upload As New ChilkatUpload ' Specify the page (ASP, ASP, Perl, Python, Ruby, CGI, etc) ' that will process the HTTP Upload. upload.Hostname = "chilkatsoft.com" upload.Path = "/receiveUpload.aspx" ' Add one or more files to be uploaded. upload.AddFileReference "file1","dude.gif" upload.AddFileReference "file2","pigs.xml" upload.AddFileReference "file3","sample.doc" ' Do the upload. The method returns when the upload ' is completed. ' This component also includes asynchronous upload capability, ' which is demonstrated in another example. Dim success As Long success = upload.BlockingUpload() If (success <> 1) Then MsgBox upload.LastErrorText Else MsgBox "Files uploaded!" End If


Sign In
Create Account

Back to top










