Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » Database Programming » Error Class not registered


Error Class not registeredExpand / Collapse
Author
Message
Posted 6/24/2009 4:43:42 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/30/2009 9:11:28 PM
Posts: 13, Visits: 83
I developed application with access 2003 under windows xp service pack 2. It works good, but when i run this application with access 2003 under windows xp service pack 3 it shows error "class not registered - 2147221164". How can i fix this problem? Please help me.
Post #27832
Posted 6/24/2009 9:30:45 AM
Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: Yesterday @ 8:33:41 PM
Posts: 977, Visits: 7,267
Between this post and your previous post it appear all you may be doing is copying your exe from the development machine to a new machine. If that is the case exe will more than likely it will fail to run properly because you have not installed all the dependencies along with the exe. You need to create a setup package to install your exe on new machines. VB comes with the Package and Deployment Wizard which can be used to do this. It isn't the greatest installer but can be used in a pinch. There are other free installer that do a much better job. Inno Setup is one that comes to mind.
Post #27834
Posted 6/24/2009 9:42:13 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/30/2009 9:11:28 PM
Posts: 13, Visits: 83
I think it is no need to do file setup because i developed project using access application not programming visual basic.
Post #27836
Posted 6/26/2009 3:27:49 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/30/2009 9:11:28 PM
Posts: 13, Visits: 83
Please help me to find solution. No one can help me????
Post #27839
Posted 6/26/2009 10:05:31 AM
Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: Yesterday @ 8:33:41 PM
Posts: 977, Visits: 7,267
I think your problem is still your app is trying to access different version of dependent components. This kind of thing is usually taken care of with a setup package. I'm not sure how it works with Access.
Post #27842
Posted 6/29/2009 11:50:27 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/30/2009 9:11:28 PM
Posts: 13, Visits: 83
I tried to use innosetup to create file setup, but it still error the same. It show error "Your Microsoft Office Access database or project contains a missing or broken reference to the file 'owc11.dll' version 1.0." I cannot use my application with MS Access 2007. Please help me.
Post #27856
Posted 6/30/2009 9:23:15 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Today @ 1:08:49 AM
Posts: 127, Visits: 542
See if MS can help...

 

http://search.microsoft.com/results.aspx?mkt=en-US&setlang=en-US&q=owc11.dll

Good Luck

Post #27858
Posted 6/30/2009 10:42:30 AM
Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: Yesterday @ 8:33:41 PM
Posts: 977, Visits: 7,267
Does the target  machine have version 1.0 of the 'owc11.dll' on it?
Post #27861
Posted 6/30/2009 9:14:28 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/30/2009 9:11:28 PM
Posts: 13, Visits: 83
My computer is using office 2007 and don't has file OWC11.DLL. Can you tell me where directory should i copy OWC11.DLL into to make sure my applicaton(developed in access 2003) can run properly with access 2007. Please tell me. thank you.
Post #27866
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 4:57am