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

Home Posts Topics Members FAQ

Runtime error 91

41 New Member
I am using window XP, Access 2003 and vb6.0 enterprise edition. Till now my whole application worked fine. But today i install SP6 from miscrosoft website. After this some of my Adodc and DataEnvironment command gives me RunTime Error 91, "Object variable or with block variable not set". The error comes with following commands.
>if adodc1.recordset.recordcount=0 then

and
>dataenvironment1.command1 text1.text

I uninstall vb6.0 and then re-Install but problem is not resolved. Please help me urgent.
Thanks.
Nov 28 '07 #1
4 1541
lotus18
866 Contributor
I am using window XP, Access 2003 and vb6.0 enterprise edition. Till now my whole application worked fine. But today i install SP6 from miscrosoft website. After this some of my Adodc and DataEnvironment command gives me RunTime Error 91, "Object variable or with block variable not set". The error comes with following commands.
>if adodc1.recordset.recordcount=0 then

and
>dataenvironment1.command1 text1.text

I uninstall vb6.0 and then re-Install but problem is not resolved. Please help me urgent.
Thanks.
Does the installation successful? I think there's something wrong with the .ocx files. Try to double-check again your codes. : )

Rey Sean
Nov 28 '07 #2
Killer42
8,435 Recognized Expert Expert
I am using window XP, Access 2003 and vb6.0 enterprise edition. Till now my whole application worked fine. But today i install SP6 from miscrosoft website.
SP6 of what?

Anyway, it sounds as though perhaps some updated DLL has a compatibility problem. I'm not sure how you'd go about fixing it though.
Nov 29 '07 #3
Neelesh2007
41 New Member
SP6 of what?

Anyway, it sounds as though perhaps some updated DLL has a compatibility problem. I'm not sure how you'd go about fixing it though.

I again uninstall & re-Install vb6.0 and this time problem is solved. Thanks for helping.
Nov 29 '07 #4
Killer42
8,435 Recognized Expert Expert
I again uninstall & re-Install vb6.0 and this time problem is solved. Thanks for helping.
Let's just hope it hasn't upset anything else.
Nov 29 '07 #5

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

Similar topics

5
by: Bob Bamberg | last post by:
Hello All, I have been trying without luck to get some information on debugging the Runtime Error R6025 - Pure Virtual Function Call. I am working in C++ and have only one class that is derived...
5
by: Nathan Bloom | last post by:
Hi, I have a secured database that runs fine on the computer the database is installed on. I have several workstations with access runtime installed that also need access to the database. ...
2
by: Paul | last post by:
I'm hoping someone can help me with the problem. I have a database where the default value for a date field in a table is =date() This works perfectly in my table and on my form. But when I...
12
by: Markus Ewald | last post by:
I'm just experimenting around with the VisualC++ 2005 Express Edition Beta and found some strange behavior for which I can't seem to find a workaround. What I've done is set up two static library...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
0
by: zfraile | last post by:
I'm getting this error from the JIT compiler at runtime, but only on my boss' machine, not my development machine. I believe the error is generated from a call to an Excel object, but I can't tell...
0
by: Yelena Varshal via AccessMonster.com | last post by:
Hello We have a shortcut for our MS ACCESS application that uses a /Runtime switch because we may have some users that use Runtime. The application worked fine in Access 2000 and was tested with...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
3
by: Jim Armstrong | last post by:
Hello all - This is driving me crazy. I have a table called tblClients - very simple, has the following fields: taxID (PK) ClientName SalesName The main form of my application allows a...
1
by: BL3WC | last post by:
Hi, I'd created a MDE under Access 2003. It is now under testing stage. Some of the users will use Access 2003 runtime and some will use Access 2007 runtime to run this MDE. I installed the...
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
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...
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.