General discussion

Locked

DLL will not register

By cwarfel ·
I have written and packaged a Visual Basic App. When I install it on Windows NT, I get an error message that MSDATOBJ.DLL will not register. I cannot even register it manually with regsvr32. Then when I run my app, I get a run time error everytime the event recordset.addnew is called. I'm sure this error relates to the dll. Any ideas? Thanks.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DLL will not register

by xxx123 In reply to DLL will not register

According to Microsoft's MSDN (see KB article Q190212) MSDATAOBJ.DLL is a VB 6 Data Object Wizard - - that is, an add-in for the Visual Basic IDE. I'm not sure why you've got this in your distribution package at all - - it should only be used on systems running the VB IDE, not VB apps. I would not expect it to install properly if VB was not installed on the machine.

An error on recordset.addnew would point to problems in how you created your database connection (you defined it as read-only) or a problem with your driver version (ADO, ODBC, whatever you're using) or a problem with your database permissions (as in, you don't have permissions to "Create" rows in a table.)

Collapse -

DLL will not register

by cwarfel In reply to DLL will not register

Poster rated this answer

Collapse -

DLL will not register

by cwarfel In reply to DLL will not register

This question was closed by the author

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums