UncleSyd
We've just purchased a licence online and we then try and impliment it in our code but we get an odd message.... Our code is basically...
Public WithEvents objFTPConnection As New sfFTPLib.FTPConnectionSTA
Dim strKey As String = ""
strKey = strKey & "-----BEGIN KEY-----" & vbCrLf
strKey = strKey & "Product: SmartFTP FTP Library" & vbCrLf
strKey = strKey & "ID: 400060367" & vbCrLf
strKey = strKey & "User: Administrator" & vbCrLf
strKey = strKey & "Company: NAME SUPPLIED" & vbCrLf
strKey = strKey & "Email: User@ourdomain.com" & vbCrLf
strKey = strKey & "Version: 2.0" & vbCrLf
strKey = strKey & "Number of Users: 1" & vbCrLf
strKey = strKey & "Date of Issue: 2008-07-23" & vbCrLf
strKey = strKey & "Maintenance Expiration: 2009-07-23" & vbCrLf
strKey = strKey & "-----BEGIN SIGNATURE-----" & vbCrLf
strKey = strKey & "KEY REMOVED" & vbCrLf
strKey = strKey & "-----END SIGNATURE-----" & vbCrLf
Try
If objFTPConnection.LoadLicenceKeyData(strKey) Then
MsgBox("Success")
Else
MsgBox("Fail")
End If
But we get an error 'Public Member LoadLicenceKeyData on Type FTPConnectionSTAClass not found'
Put me out of my misery and tell me what I've done wrong?
Syd
Public WithEvents objFTPConnection As New sfFTPLib.FTPConnectionSTA
Dim strKey As String = ""
strKey = strKey & "-----BEGIN KEY-----" & vbCrLf
strKey = strKey & "Product: SmartFTP FTP Library" & vbCrLf
strKey = strKey & "ID: 400060367" & vbCrLf
strKey = strKey & "User: Administrator" & vbCrLf
strKey = strKey & "Company: NAME SUPPLIED" & vbCrLf
strKey = strKey & "Email: User@ourdomain.com" & vbCrLf
strKey = strKey & "Version: 2.0" & vbCrLf
strKey = strKey & "Number of Users: 1" & vbCrLf
strKey = strKey & "Date of Issue: 2008-07-23" & vbCrLf
strKey = strKey & "Maintenance Expiration: 2009-07-23" & vbCrLf
strKey = strKey & "-----BEGIN SIGNATURE-----" & vbCrLf
strKey = strKey & "KEY REMOVED" & vbCrLf
strKey = strKey & "-----END SIGNATURE-----" & vbCrLf
Try
If objFTPConnection.LoadLicenceKeyData(strKey) Then
MsgBox("Success")
Else
MsgBox("Fail")
End If
But we get an error 'Public Member LoadLicenceKeyData on Type FTPConnectionSTAClass not found'
Put me out of my misery and tell me what I've done wrong?
Syd