Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

COM Objects, how to discover what they are

Posted on 2004-08-17
4
Medium Priority
?
166 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

609 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