visual basic 6 crashing

General question and discussion.

visual basic 6 crashing

Postby impulse24 » Tue Jul 25, 2006 6:31 pm

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).
impulse24
 
Posts: 2
Joined: Tue Jul 25, 2006 6:23 pm

Postby admin » Fri Aug 11, 2006 4:50 am

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
admin
Support Staff
 
Posts: 266
Joined: Mon Jul 11, 2005 1:24 am

Re: visual basic 6 crashing

Postby compac » Wed Dec 17, 2014 9:38 am

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.
compac
 
Posts: 1
Joined: Wed Dec 17, 2014 9:29 am


Return to Using TurboFTP SDK

Who is online

Users browsing this forum: No registered users and 1 guest

cron