Results 1 to 3 of 3

Thread: VB.NET COM Object error

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    12

    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

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    12

    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
  •  



Click Here to Expand Forum to Full Width