473,795 Members | 2,922 Online
Bytes | Software Development & Data Engineering Community
+ 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 4755
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.microso ft.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
75021
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 code for this. After this I get the Runtime Error 91 - Object variable not set. I've rem'd out my added code to no avail. Tried rebooting to. The earlier exe version of the program continues to work OK. The code in question is shown below. I'd...
4
4182
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 the new machine, I receive a runtime error "Class Not Registered" on the first step where I open a table: rs.Open "", CurrentProject.Connection, _ adOpenKeyset, adLockOptimistic Anyone have any idea what might be wrong? I checked my...
6
1822
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 a base class, but how can I move this particular 'shared functionality' into a base class? If anyone can suggest a better newsgroup for this, such as one focussed primarily on C# class design, please let me know.
8
2700
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 it's methods. However, when I use soapsuds to extract meta data, I get the following error: Error: Unable to retrieve schema from url: http://localhost:1234/RemoteObject.soap?WSDL, The remote server returned an error: (500) Internal Server...
1
7106
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 deployment on Jan 2, 2004 got following messages and errors... I reset everything and tried several times agian. Then erased the setup project and tried to rebuild a new one with the same errors. PLease note... ALL this this code ran perfectly five minutes...
0
4236
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. Anyway, I "published" the vb.net app and moved it to another computer and I get the following error msg when I load the form with the mediaplayer on it. I upgraded this project from a
2
3852
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 variable not set the program runs under the scheduler on xp, and in debug in vb ide
3
2084
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 email. I found that if I deleted my data file and tried to run the program, I got runtime error 91. As soon as I restored this data file, the runtime error dissappeared. Maybe this info might be of some use to somebody. David
7
1344
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..
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10439
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.