By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,960 Members | 990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,960 IT Pros & Developers. It's quick & easy.

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

P: 3
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:

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:

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
Share this Question
Share on Google+
5 Replies

P: 274
did you copy the code from some where? or wrote it on you r own for your application?
Jan 5 '08 #2

P: 1
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

P: 3
Reply With Solution
Click the link to get the solution

To see other's problem click

Take care,
mail id removed
Apr 11 '08 #4

P: 3
Hi all

No solution given here works for anything including

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

P: 3

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

Post your reply

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