Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

createobject

Status
Not open for further replies.

ethorn10

Programmer
Feb 18, 2003
406
US
If I'm trying to create an object that is dependent on an application (ArcCatalog-for those wondering), is it:

Set xxxx = CreateObject("ArcCatalog.object_name")

?

I've tried different variations of this and I keep getting an ActiveX error <can't create the object>. Suggestions?
 
You really have to check out the programming help for that particular application to get the specific syntax.
Assuming it does support OLE Automation in the first place, of course.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top