PC Review


Reply
Thread Tools Rate Thread

Code Works on 1 pc but not the other

 
 
Gary S
Guest
Posts: n/a
 
      14th Jul 2009
Hi,

For some reason code on one pc works fine, but none of the
code works on another pc(Access 2003). Even the most basic
code like opening a form I get the message: "Object or class
does not support the set of events". I have check the vba
references and they seem to be okay. Help!
--
Thanks!
Gary S
 
Reply With Quote
 
 
 
 
Gary S
Guest
Posts: n/a
 
      14th Jul 2009
Also, I am running multiple versions of Access(2003,2007) and my os is vista.
--
Thanks!
Gary S


"Gary S" wrote:

> Hi,
>
> For some reason code on one pc works fine, but none of the
> code works on another pc(Access 2003). Even the most basic
> code like opening a form I get the message: "Object or class
> does not support the set of events". I have check the vba
> references and they seem to be okay. Help!
> --
> Thanks!
> Gary S

 
Reply With Quote
 
Gary S
Guest
Posts: n/a
 
      14th Jul 2009
These are the references I am using:
1) Visual basic for applications
2) MS Access 11.0 Object Library
3) OLE automation
4) ms dao 3.6 object library
5) ms visual basic for applications extensibility 5.2
6) ms activex data objects 6.0 library
7) ms actviex data objexts recordset 6.0 library
8) ms ado ext 6.0 for ddl and security
--
Thanks!
Gary S


"Gary S" wrote:

> Hi,
>
> For some reason code on one pc works fine, but none of the
> code works on another pc(Access 2003). Even the most basic
> code like opening a form I get the message: "Object or class
> does not support the set of events". I have check the vba
> references and they seem to be okay. Help!
> --
> Thanks!
> Gary S

 
Reply With Quote
 
Tony Toews [MVP]
Guest
Posts: n/a
 
      14th Jul 2009
Gary S <(E-Mail Removed)> wrote:

>These are the references I am using:
>1) Visual basic for applications
>2) MS Access 11.0 Object Library
>3) OLE automation
>4) ms dao 3.6 object library
>5) ms visual basic for applications extensibility 5.2
>6) ms activex data objects 6.0 library
>7) ms actviex data objexts recordset 6.0 library
>8) ms ado ext 6.0 for ddl and security


Do you really need items 5, 7 and 8? Remove those one at a time and
try compiling.

Are you sure that the 6.0 is correct for the ADO references? I
would've thought 2.8.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 
Reply With Quote
 
Gary S
Guest
Posts: n/a
 
      15th Jul 2009
Tony,thanks for your help!
--
Thanks!
Gary S


"Tony Toews [MVP]" wrote:

> Gary S <(E-Mail Removed)> wrote:
>
> >These are the references I am using:
> >1) Visual basic for applications
> >2) MS Access 11.0 Object Library
> >3) OLE automation
> >4) ms dao 3.6 object library
> >5) ms visual basic for applications extensibility 5.2
> >6) ms activex data objects 6.0 library
> >7) ms actviex data objexts recordset 6.0 library
> >8) ms ado ext 6.0 for ddl and security

>
> Do you really need items 5, 7 and 8? Remove those one at a time and
> try compiling.
>
> Are you sure that the 6.0 is correct for the ADO references? I
> would've thought 2.8.
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
> Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
> Granite Fleet Manager http://www.granitefleet.com/
>

 
Reply With Quote
 
Tony Toews [MVP]
Guest
Posts: n/a
 
      19th Jul 2009
Gary S <(E-Mail Removed)> wrote:

>Tony,thanks for your help!


You're welcome.

But also please let us know what works for you and what doesn't work.
This will help us help others for the future.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL code works in Access SQL window but not in VBA SQL code EagleOne@discussions.microsoft.com Microsoft Access 61 5th Sep 2008 07:53 AM
It works but I need better code... fzl2007@gmail.com Microsoft Excel Programming 7 10th Apr 2007 08:46 PM
Code works - sometimes =?Utf-8?B?TXIgQg==?= Microsoft Access VBA Modules 8 28th Feb 2006 02:24 AM
Re: Code works in one MDB, but corrupts. Code doesn't work in a new M John Nurick Microsoft Access VBA Modules 1 22nd Aug 2004 01:13 AM
Why won't this code works ksnapp Microsoft Excel Programming 6 1st Apr 2004 01:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:29 AM.