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!

invalid procedure call or argument

Status
Not open for further replies.

Mike2020

Programmer
Mar 18, 2002
55
US
Hi:)

I created an application using VB to update access database. Due to the computer that I install the application can't use ODBC. so I use this way to open the database:

Dim oConn As New ADODB.Connection
oConn.Open = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\db\summation.mdb"

I also use Sleep, and DoEvents in my application.
When I use this application in Window XP, it is just run fine. But when it runs in Window NT, the error message pop up:

"invalid procedure call or argument"

Do you have any idea what is going wrong, is there *.dll files missing, or old version *.dll file. if yes, which one?

Many... Thanks

Mike
 
Don't know the specific .dll, but try installing the Microsoft Data Access Pack (mdac_typ.exe) from Microsoft, that usually solves that error for me on older NT systems.

You should be able to find it either be on your studio disk or in one of the service pack downloads, or from MS's site.
 
Hi Folks:

Thank you so much for your tip!!

Ming
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top