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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO, SQL, VB and ActiveX EXE's and DLL's

Status
Not open for further replies.

Lozzer

Programmer
Apr 16, 2002
7
GB
I am opening a connection using ado 2.5 to access a SQL 7 database using the sqloledb provider.

A connection object is created within a VB created NT service which works fine.

Then the connection object is passed to an activex exe (it has been tried with a dll also) object.

When a recordset is opened using the connection object we get this run time error:

'3001': The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.

Does anyone have any idea what is causing this?
 
Do you have a reference to DAO in your project by chance? If you do, this could be the culprit.

This is only an idea

Try posting some code here for us to look at.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top