?
Solved

COM Objects, how to discover what they are

Posted on 2004-08-17
4
Medium Priority
?
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 500 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month13 days, left to enroll

777 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