netom
August 18th, 2001, 10:17 AM
Hi there!
Recently I finished work on application, which uses vb database controls (Data component) for access to Access database (*.mdb files). Everything works fine in my work environment (Win98 and VB6 Enterprise installed) but problems start when I want to make installation of my program (exe and two mdb files) and to setup it on other computers. InstallShieldv6.0 recognizes that my application is database project and besides my application and data files copies numerous dll files (like msjet350.dll, etc.). But when I install that prepared distribution under clean Win95 or Win2000 my program prompts me with “Class not registered Looking for object with CLSID {...}. “ message box.
I even made a simplest program: one form and one data control with connection to dbf file and again the same message would appear. That left my thoughts that something is wrong with my application. Then I tried with “Package and Distribution Wizard” (Microsoft add-in for VB) but the results where the same. My main thought is that installation doesn’t create registry keys with values that are needed for access components to work (I even tried to manually copy some of them, believe me).
Regard,
Netom
Recently I finished work on application, which uses vb database controls (Data component) for access to Access database (*.mdb files). Everything works fine in my work environment (Win98 and VB6 Enterprise installed) but problems start when I want to make installation of my program (exe and two mdb files) and to setup it on other computers. InstallShieldv6.0 recognizes that my application is database project and besides my application and data files copies numerous dll files (like msjet350.dll, etc.). But when I install that prepared distribution under clean Win95 or Win2000 my program prompts me with “Class not registered Looking for object with CLSID {...}. “ message box.
I even made a simplest program: one form and one data control with connection to dbf file and again the same message would appear. That left my thoughts that something is wrong with my application. Then I tried with “Package and Distribution Wizard” (Microsoft add-in for VB) but the results where the same. My main thought is that installation doesn’t create registry keys with values that are needed for access components to work (I even tried to manually copy some of them, believe me).
Regard,
Netom