Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 458

Status
Not open for further replies.

trbbhm

IS-IT--Management
Jun 25, 2007
2
0
0
US
I've created an object to run on a remote server but I'm receiving the following error:

Variable uses an automation type not supported in Visual Basic.

Can someone please tell me how to get around this? My code is as follows:

DIM LOANS AS LOANIO
.
.
.
SET LOANS=CREATEOBJECT("LOANIODLL.LOANIO_DLL","SQL01")
RETURNSTRING=LOANS.VERIFY_USER(USERID,PASSWORD) <---- this is producing the error


dll code is as follows:
PUBLIC FUNCTION VERIFY_USER(USERID AS STRING, PASSWORD AS STRING) AS STRING
<...code to verify user...>
END FUNCTION
 
I know this is an older post, but I recently got the same error when trying to access data from an oracle db. Solutions would be appreciated, if anyone knows of any.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top