Link to home
Start Free TrialLog in
Avatar of dobermannnn
dobermannnn

asked on

Function or interface marked as restricted, or the function uses an Automation...

Hi,

I have inherited a program developed in VB5 to which i need to make some changes. However, even before making any changes i attempt to compile the project file in VB5 and get the following error

Function or interface marked as restricted,
or the function uses an Automation type not supported in VB

The error occurs at the following line of code

tablename.Recordset.FindFirst

Does anyone have any idea why this might be happening and what i might do to resolve it?

Thanks in advance,
Nev.
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial