Jump to content


Function or interface marked as restricted

  • Please log in to reply
1 reply to this topic

#1 TheCivic

  • Members
  • 17 posts

Posted 13 December 2005 - 09:29 AM


When i try to compile my code using Visual Basic 6, i get the following error message on the following line of code.

Code is :
RemoteFileSize = CLng(FTPFile.Size)

Error is :
Function or interface marked as restricted, or the function uses an automation type not supported by Visual Basic

I have tried to re-install the smartFTP Library, and restart Visual Basic but the problem still occurs.

How can i fix this?

#2 mb



  • Administrators
  • 11894 posts
  • Gender:
  • Location:

Posted 13 December 2005 - 09:49 PM

Use FTPFile.SizeLo and FTPFile.SizeHi because VB6 doesn't support 64bit variables.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users