473,464 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Class Not Registered Error + Runtime '91' error in MSFlexGrid VB6 Program

3 New Member
I have a similar problem with a program i made with VB 6.0 - the only control I used is MSFlexGrid - the program was developed on an XP machine. and the first time to use it on another machine i got two errors:

1-
Class Not Registered
Looking for Object with CLSID:{0000010-0000-0010-8000-00AA006D2EA4}

this error message appears only at start up and as i click OK the program starts without reading the DB file. and if i save a new entry (create a new row in the DB) it gives me the second error:

2-
Run-time error '91':
Object Variable or With Block variable not set.

Note: I'm using an Access 97 DB associated with the program.
The computer on which i am testing the program has Access 2007. can this be a clue?

I don't know what is missing is in the VB 6.0 or in the Access 97.

Note: I was told that it is the DAO350.dll which is referred to by this CLSID:{0000010-0000-0010-8000-00AA006D2EA4} number. so i searched for it and it was present in both of the PCs, nevertheless, i added it to the PDW from my computer and it still did not work, not even when i added the DAO360.dll

I think that the problem is in Acess, I used Access 2003 to make an Access 97 mdb which i'm using with MSFlexGrid control in my program. while the host machine is running access 2007. so i think it may be somthing missing.

Anyone got any idea?
Jan 5 '08 #1
5 4727
creative1
274 Contributor
did you copy the code from some where? or wrote it on you r own for your application?
Jan 5 '08 #2
sabareesh
1 New Member
Find the dll file that supports that control and from resource browse and import in to the project again.

if the problem exists download adware for this
Jan 5 '08 #3
dineshdhiman
3 New Member
===========================
Reply With Solution
===========================
Click the link to get the solution http://support.microsoft.com/kb/288706

To see other's problem click http://www.codenewsgroups.net/group/...opic14614.aspx


Take care,
mail id removed
Apr 11 '08 #4
dineshdhiman
3 New Member
Hi all

No solution given here works for anything including http://support.microsoft.com/kb/288706

Please anybody better than Microsoft's Team... I'm stuck in the first application on my new job.

Help me please.................

Take care,
Apr 11 '08 #5
dineshdhiman
3 New Member
Hello

I have found the solution for this problem.

1. You need to add dao350.dll manually into your installer and set it to get Self-registered.

2. You can also check the correct version used in ur app of msvbvm6.0.dll. It may not be needed.

3. If you get ISAM error, then install Data Access components from visual studio setup to target machine.

I don't know from where to download installable ISAM driver. If anybody knows, please let us know.

Take care,
Apr 12 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Peter | last post by:
I have a program which was working fine. In it a function works out the number of .jpg files in a specified folder. I then realised that I needed to make sure the folder exists first & added the...
4
by: Scott Dillard | last post by:
I have recently been provided with a new laptop. The old one ran Win 2000 with Access 2000 and the new one runs Win XP with Access 2000. When I try to run some of my modules in my old databases on...
6
by: Baris | last post by:
Given the C# code below, can anyone think of a better class design? What really gets my goat is that the code within derived classes D1 and D2 is identical and in my mind should be refactored into...
8
by: Richard Bell | last post by:
I have a class in a seperate dll which I want to remote. I have referenced the class and registered it using a simple exe. I can connect to the class's interface using Activator.GetObject and call...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
0
by: Nonee | last post by:
Anyone, anyone? : ) Hello- I have a form with the mediaplayer referenced to play mp3's and avi's and I believe that is what is causing the problem. I am not sure, but I am hoping. ...
2
by: ronboris | last post by:
i wrote and compiled an vb 6 program on a windows xp sp2 box i am trying to run the program via a batch file from an nt box i get this error: runtime error 91: object variable or With block...
3
by: david stradling | last post by:
I've written a program in VB6 and given it to a friend. I have supplied him with updates and suddently he gets runtime error 91. I suspect this is something to do with copying a new version via...
7
by: Christiano Donke | last post by:
Is there a way to do this without having to register it computer-by-computer??? tried everything already... but nothign worked out as should.. tks..
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.