Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: VB6 Package and Deployment wizard error on compilation
John Cove
johncove@gmail.com

From: Edenbridge, United Kingdom
Posts: 2
Member Since: 10/02/08
posted October 3, 2008 4:15 AM

Hi,

When I add simple FTP code to my VB6 app and try to compile the application using the package and deployment, it crashes out with the following error:-

Unexpected error number 28 has occurred: Out of stack space


Here is the VB6 code:-

' All vars are strings and the Get_INI gets the parameters from an INI file

' Computer name
sComputer = VBA.Environ("COMPUTERNAME")

ftp_site = Get_INI("ftp", "site", "ftp.meipw.tv")
ftp_user = Get_INI("ftp", "user", "sms")
ftp_password = Get_INI("ftp", "password", "itsasecret")
ftp_port = Get_INI("ftp", "port", "21")
ftp_connection_string = "ftp://" & ftp_user & ":" & ftp_password & "@" & ftp_site & "/"
ftp_timeout = Get_INI("ftp", "timeout", "4000")

Ftp1.TimeOut = 30000
Ftp1.Login ftp_site, ftp_user, ftp_password, "", ftp_port
Ftp1.Put ftp_connection_string & sComputer & "/picswipe.jpg", sFilename
Ftp1.Logout



This problem has been isolated to DartFTP as when I remove the above FTP1 code, the project compiles without any problems.

I am not running Crystal Reports either, which is normally associated with this problem.


I need to get this software compiled and deployed, any ideas please! :)

Thanks.
John Cove
johncove@gmail.com

From: Edenbridge, United Kingdom
Posts: 2
Member Since: 10/02/08
posted October 3, 2008 5:14 AM

This works:-

1. Open the DartFtp.dep file located in system32 folder.
2. Remove the entry: Uses4=DartFtp.dll.
So the entry in the file would look like:
; Dart Communications Power TCP
;
; Dependency file for Visual Basic Setup Wizard [DARTFTP.DLL]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Uses1=DartSock.dll
Uses2=DartSecure2.dll
Uses3=DartCertificate.dll
Uses4=DartZip.dll
Uses5=
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted November 19, 2008 3:55 PM

Thanks this has been noted and will be fixed in the next release.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX