PC Review


Reply
Thread Tools Rate Thread

Adding an automation object

 
 
Anthony
Guest
Posts: n/a
 
      20th Oct 2008
I know how to programmatically add an automation object using "References.
Addfromfile "object". However, I don't know what commands you would use to
FIRST test to see if the object is already there before adding. If I add an
automation object that already exists, it gives me an error. So I want to
test to see if it already exists. Something like:

IF Automation object doesn't exist Then
Add it
Else
do nothing.

Thanks


 
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
Re: Object does not contain the automation object in dlookup queryresults John Spencer MVP Microsoft Access VBA Modules 0 25th Jun 2009 03:33 PM
Re: Object does not contain the automation object in dlookup query results Ken Snell [MVP] Microsoft Access VBA Modules 0 25th Jun 2009 03:25 PM
The Object Doesn't contain the Automation object 'securityTicker' Maury Markowitz Microsoft Access Form Coding 1 8th May 2009 07:22 AM
object does not contain automation object form- error vandy Microsoft Access Macros 5 4th Jun 2008 09:20 AM
The Object Doesn't contain the Automation object 'Date' weircolin@googlemail.com Microsoft Access Form Coding 6 25th Aug 2006 09:30 AM


Features
 

Advertising
 

Newsgroups
 


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