Solved

COM Objects, how to discover what they are

Posted on 2004-08-17
4
158 Views
Last Modified: 2010-05-02
I'll try to phrase this question in a way that makes sense..

I've only recently been turned on to the power of COM objects and what their potential is, so I've had a little fun with Outlook and automating it.  However, I'd like to look at other applications and the way THEY can be "played with" using COM Objects.

Unfortunately, not every program is as simple as "Outlook.Application", and not every program has a nice site set up like MSDN to show bluntly what these things are.

How do I go about finding what this is in other programs besides Microsoft Applications? (For instance, I know Winamp's would be "WinampCOM.Application").
0
Comment
Question by:Jezuit
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 125 total points
ID: 11827551
Not every application is going to expose an object model.  You can use this tool:
http://www.vbaccelerator.com/home/VB/Utilities/ActiveX_Documenter/VB6_ActiveX_Documenter.asp

To investigate exes/dlls/ocxs/olbs etc that may show a particular application provides a COM interface you can utilize.
0
 

Author Comment

by:Jezuit
ID: 11827617
Understood, at that.  Is every application going to have, even though it is not widely known or publicly distributed, a way to perform automation in this way?  Or can some applications simply choose not to allow things of this nature?
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 11827636
Most applications, in fact, will not provide automation in this way.  For example, if you create a simple exe in VB there is no way to automate it.  You would have to create an ActiveX EXE (ActiveX and COM are one in the same).  Unless the developer of the program decides from inception that they are going to expose their application in this way, it will not be available to you.
0
 

Author Comment

by:Jezuit
ID: 11827702
How terribly unfortunate... That would've been a great deal of fun to have, in all truth.  Can't win them all, I suppose.

Thanks for your time.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 59
Access query that references subform 5 47
Protecting vb6 & .Net code Obfuscation 18 121
MS Access 03, TransferText, decimal places 8 68
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now