|
-
Jan 11th, 2006, 12:27 PM
#1
Thread Starter
New Member
VB.NET COM Object error
I have an app that connects to ms access 2000. In my app there is a button that creates a new table in the database. I have added the activex 2.7 reference to my app and have added the import adodb reference on the form. On my development machine, the app works fine creating the table. I've created a setup project and when I install it on another machine and click the button I get this error.
An unhandled exception has occurred in your application.
COM object with CLSID {00000514-0000-0010-8000-00AA006D2EA4} is either not valid or not registered.
Both machines are windows xp and have .net framework installed. The only difference is that my development machine has activex version 2.7 and the machine I installed the app on has activex version 2.8. Should that matter If I include all references and file in my setup project?
Thanks
-
Jan 11th, 2006, 12:50 PM
#2
Re: VB.NET COM Object error
Yes it should matter.... Are you using ADODB in .NET? You know you really shouldn't.
There's a couple of ADO.NET tutorials in my sig you might want to look at. You realy do lose a lot by staying with the older COM versions.
-tg
-
Jan 11th, 2006, 01:57 PM
#3
Thread Starter
New Member
Re: VB.NET COM Object error
Thanks for your quick response. The reason I'm using ADODB in .NET is because I did not find any other code to create the table in an access database. I did not know ADO.NET could do that. Where can I get that tutorial.
mmars
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|