djrud
Hi,
When I load the sample VB.NET project for smartFTP FTP library in VB.NET 2005 Beta and try to run it, I get an InvalidCastException on:
objFTP = CreateObject("sfFTPLib.FTPConnection")
When I try to code the same in my own test project it says 'Declaration Expected' on that same line.
Anybody know what might be wrong?
Thx...
djrud
>>>>
Part of Code
>>>>
Option Explicit On
Imports sfFTPLib
Module test
Dim objFTP As sfFTPLib.FTPConnectionClass
objFTP = CreateObject("sfFTPLib.FTPConnection")
objFTP.Host = "ftp.test.com"
....
When I load the sample VB.NET project for smartFTP FTP library in VB.NET 2005 Beta and try to run it, I get an InvalidCastException on:
objFTP = CreateObject("sfFTPLib.FTPConnection")
When I try to code the same in my own test project it says 'Declaration Expected' on that same line.
Anybody know what might be wrong?
Thx...
djrud
>>>>
Part of Code
>>>>
Option Explicit On
Imports sfFTPLib
Module test
Dim objFTP As sfFTPLib.FTPConnectionClass
objFTP = CreateObject("sfFTPLib.FTPConnection")
objFTP.Host = "ftp.test.com"
....