Click here to Skip to main content
15,895,494 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalcrystal report in vb.net Pin
Abdul Rahman Hamidy5-Feb-08 22:12
Abdul Rahman Hamidy5-Feb-08 22:12 
GeneralRe: crystal report in vb.net Pin
Steven J Jowett5-Feb-08 23:09
Steven J Jowett5-Feb-08 23:09 
GeneralRe: crystal report in vb.net Pin
Abdul Rahman Hamidy5-Feb-08 23:41
Abdul Rahman Hamidy5-Feb-08 23:41 
GeneralRe: crystal report in vb.net Pin
Steven J Jowett6-Feb-08 0:19
Steven J Jowett6-Feb-08 0:19 
QuestionType Libray file Pin
kapilkhanzode5-Feb-08 20:41
kapilkhanzode5-Feb-08 20:41 
QuestionHow can I subpress the message of Secure Sockets Layer of Internet Explorer. Pin
SekharOne5-Feb-08 18:54
SekharOne5-Feb-08 18:54 
AnswerRe: How can I subpress the message of Secure Sockets Layer of Internet Explorer. Pin
Tony Richards7-Feb-08 13:38
Tony Richards7-Feb-08 13:38 
GeneralFTP Code Pin
Michael1015-Feb-08 14:09
Michael1015-Feb-08 14:09 
Hey Everyone,

I've got a windows application and I want to know if anyone has or knows any code for FTPing files through the system. The code I've got so far is here, but I think I'm missing a class which I've failed to find. If anyone has different code that works, then that would be greatly appreciated! Smile | :)

This is what I have so far out of interest:

Dim ftp As New Chilkat.Ftp2() <----- This is my error, Chilkat.FTP2() isn't defined!!!
Dim success As Boolean

' Any string unlocks the component for the 1st 30-days.
success = ftp.UnlockComponent("Anything for 30-day trial")
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If


ftp.Hostname = "ftp.chilkatsoft.com" 'What's the host name?
ftp.Username = "****" 'What's the username?
ftp.Password = "****" 'What's the password?

'The default data transfer mode is "Active" as opposed to "Passive".

'Connect and login to the FTP server.
success = ftp.Connect()
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If


' Change to the remote directory where the file will be uploaded.
success = ftp.ChangeRemoteDir("junk")
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If


' Upload a file.
Dim localFilename As String
localFilename = "hamlet.xml" 'Change that to the file I have to upload
Dim remoteFilename As String
remoteFilename = "hamlet.xml" 'Like wise.

success = ftp.PutFile(localFilename, remoteFilename)
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If


ftp.Disconnect()

MsgBox("File Uploaded!")

Cheers,

Michael Smile | :)
GeneralRe: FTP Code Pin
Dave Kreskowiak6-Feb-08 1:22
mveDave Kreskowiak6-Feb-08 1:22 
QuestionFile Transfer From One Directory To Another Directory Pin
Deepak Nigam5-Feb-08 9:30
Deepak Nigam5-Feb-08 9:30 
GeneralRe: File Transfer From One Directory To Another Directory Pin
Dave Kreskowiak5-Feb-08 10:00
mveDave Kreskowiak5-Feb-08 10:00 
GeneralRe: File Transfer From One Directory To Another Directory Pin
Member 41965096-Feb-08 0:58
Member 41965096-Feb-08 0:58 
GeneralApplication Not Working!! Pin
parth.p5-Feb-08 8:36
parth.p5-Feb-08 8:36 
GeneralRe: Application Not Working!! Pin
Christian Graus5-Feb-08 8:49
protectorChristian Graus5-Feb-08 8:49 
GeneralRe: Application Not Working!! Pin
parth.p5-Feb-08 8:54
parth.p5-Feb-08 8:54 
GeneralRe: Application Not Working!! Pin
Dave Kreskowiak5-Feb-08 9:57
mveDave Kreskowiak5-Feb-08 9:57 
GeneralRe: Application Not Working!! Pin
parth.p5-Feb-08 10:54
parth.p5-Feb-08 10:54 
GeneralRe: Application Not Working!! Pin
Dave Kreskowiak5-Feb-08 12:11
mveDave Kreskowiak5-Feb-08 12:11 
GeneralRe: Application Not Working!! Pin
J$5-Feb-08 10:50
J$5-Feb-08 10:50 
GeneralRe: Application Not Working!! Pin
Dave Kreskowiak5-Feb-08 12:05
mveDave Kreskowiak5-Feb-08 12:05 
GeneralRe: Application Not Working!! Pin
User 2710095-Feb-08 17:26
User 2710095-Feb-08 17:26 
GeneralRe: Application Not Working!! Pin
parth.p5-Feb-08 20:38
parth.p5-Feb-08 20:38 
GeneralBinding a Listbox with a dataset Pin
Vimalsoft(Pty) Ltd5-Feb-08 6:02
professionalVimalsoft(Pty) Ltd5-Feb-08 6:02 
GeneralRe: Binding a Listbox with a dataset Pin
C1AllenS5-Feb-08 9:29
C1AllenS5-Feb-08 9:29 
AnswerRe: Binding a Listbox with a dataset Pin
Vimalsoft(Pty) Ltd5-Feb-08 18:46
professionalVimalsoft(Pty) Ltd5-Feb-08 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.