Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Runtime Error 91

 
   Database Forums (Home) -> Visual Basic -> DAO RSS
Next:  Runtime Error 91 with Access 2003 and VB6  
Author Message
Jean-Philippe Michaud

External


Since: Oct 17, 2005
Posts: 4



(Msg. 1) Posted: Mon Oct 17, 2005 4:47 pm
Post subject: Runtime Error 91
Archived from groups: microsoft>public>vb>database>dao (more info?)

Hi

I have a VB6 Application wich connect to an Access 97 database. We have a
function to connect to the database like this

Dim wrkDefault As Workspace

Set wrkDefault = DBEngine.Workspaces(0)
Set objDatabase = wrkDefault.OpenDatabase(strConnectionString)

In the references we are using the

It works on all the computer, but today we found a problem with one
computer. On this computer we have Microsoft Office 2003 with Access 2003
and Windows XP Home Edition. And each time we try to run the program we get
the following error :

Runtime Error 91 Object variable or width block not set

and after that

Runtime error 429 : ActiveX cannot create object

Normally when we have this kind of problem we ask our customer to update
their MDAC and jet version. But this time, it didn't work. The setup told
me that the version of mdac is already updated.

I checked the version with the MDAC Component Checker, and the version is
MDAC 2.8 SP1.

I tried to remove Access, make all the windows update. But nothing works.

Can some help me ?

Thanks

 >> Stay informed about: Runtime Error 91 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Problems with a JET-ODBC-Connection and Access97-Runtime - I have a very strange problem with a JET-ODBC-Connection. Using Access97-Runtime, we connect the table with a DSN-less-ODBC-Connection to SQLServer 2000 SP3. The Application runs on a Windows Server 2003 Terminal-Server with CITRIX Metaframe. Office 2003...

Can someone please help me to fix an error ? - I am using VB.NET. I just created a form where user enters information. Once information is entered, user clicks ok button. While updating the table, I am getting an error and it does not update. I am using 2 tables, INVSHIP and PARTSQTY. Both hav...

Authentication Error??? - Ok so heres the code.. for some reason I kept getting the no permissions message, so I attempted to add the access workgroup file. Now I get the "Authentication Failed" message. This is a secure database. HELP.. I know I'm writing (adding) som...

dao recordset error trapping - I have a dao recordset which I update with the following code: With rsOrderShip .Edit !CustCode = frmOrders.txtSTCustCode.Text !stcustname = frmOrders.txtSTCustName.Text !staddress1 = frmOrders.txtSTAddress1.Text ....

Error 3167 recordset is delete - Hello, ich habe in verschiedenen Newsgroups gesucht aber keine Lösung zu dem folgenden Problem gefunden. Zwei Personen arbeiten gemeinsam mit einem VB6-Programm an einer ACCESS 2000 Datenbank Der Zugriff von VB auf ACCESS erfolgt mit DAO 3.60. Eine de...
   Database Forums (Home) -> Visual Basic -> DAO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]