Page 1 of 1

visual basic 6 crashing

PostPosted: Tue Jul 25, 2006 6:31 pm
by impulse24
Hi,

When running visual basic 6 in debug mode with the SDK, the module runs, below is a snippet of the code:
'-------------------------------------
Public Sub TransmitFiles()
Dim ret As Integer

Set tbFtp = New TBSDKLib.tbFtp
DoEvents

End Sub
'-------------------------------------

It completes successfully, but If I start VB6 in debug mode again, it crashes when it gets to the Set tbFtp = New TBSDKLib.tbFtp statement. Is there something I need to do to clear the previous instance(I have the statement set tbftp = nothing at the end of the module when its done).

PostPosted: Fri Aug 11, 2006 4:50 am
by admin
Hi,

I don't see you are doing anything after create the TBSDKLib.tbFtp instance.
Can you show me what you do with this object?

Leon

Re: visual basic 6 crashing

PostPosted: Wed Dec 17, 2014 9:38 am
by compac
Which sample are you running? The process gets stuck at LIST command, which seems to be a network / firewall issue. You might try swapping to active mode using the IsUsePasv property.


___________________________________
We are the pioneers in providing 4A0-100 - actual tests and 642-885 - braindumps - study with 100% lynn guarantee. Download our latest www.sterling.edu and Thomas Aquinas College or pass real exam of Jacksonville University.