trinitrotoluen Posted August 18, 2009 Share Posted August 18, 2009 (edited) Hi,I'm new in COM. May I ask you some questions :1. Does every application has it own objects and can we always use them ?2. Where can I find the document/help for the application's object ?3. When I look at OLE/COM Object Viewer I can't find 'InternetExplorer.Application' only see 'Shell.Explorer' in 'Object Classes->Grouped by Component Category->Control->Microsoft Web Browser' so where does 'InternetExplorer.Application' come from ? Are 'InternetExplorer.Application' and 'Shell.Explorer' the same ?4. I can't do searching in OLE/COM Object Viewer so it make me hard to find the application's object. Is there any tool more useful then OLE/COM Object Viewer ?Many thanks !Ps : I found out InternetExplorer.Application. It's in All Objects -> Internet Explorer(ver 1.0). But now I'm looking fot shell.appilcation and winhttp.winhttprequest.5.1. Where do they come from ? Edited August 18, 2009 by trinitrotoluen Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 18, 2009 Share Posted August 18, 2009 No, not every application has a COM object. They are specially designed pieces of code that can be loaded by name instead of by file. You can find documentation online usually. The MSDN contains everything Microsoft related. I'm not sure about the naming scheme. I've never quite understood it. Link to comment Share on other sites More sharing options...
trinitrotoluen Posted August 18, 2009 Author Share Posted August 18, 2009 (edited) No, not every application has a COM object. They are specially designed pieces of code that can be loaded by name instead of by file.You can find documentation online usually. The MSDN contains everything Microsoft related.I'm not sure about the naming scheme. I've never quite understood it.Hi,Thank you for your help ...Yes, MSDN contains everything Microsoft related but how about the apps that are not from Microsoft ? Edited August 18, 2009 by trinitrotoluen Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 18, 2009 Share Posted August 18, 2009 Your best bet would be to Google something like "[program] COM documentation". Link to comment Share on other sites More sharing options...
trinitrotoluen Posted August 18, 2009 Author Share Posted August 18, 2009 OK, thank you for your reply ... Link to comment Share on other sites More sharing options...
bo8ster Posted August 19, 2009 Share Posted August 19, 2009 Hi,Thank you for your help ...Yes, MSDN contains everything Microsoft related but how about the apps that are not from Microsoft ?You can create apps that contain Active X or COM objects however you will have to know who to get them to work within Windows then reference them. I am sure there are examples showing you how to create your own COM objects on the net. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
trinitrotoluen Posted August 19, 2009 Author Share Posted August 19, 2009 You can create apps that contain Active X or COM objects however you will have to know who to get them to work within Windows then reference them. I am sure there are examples showing you how to create your own COM objects on the net.Hi,What do you mean ? I'm not talking about my apps. I'm asking how can find the apps COM info. e.g : how can I get the COM of Yahoo! Messenger ? Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 19, 2009 Share Posted August 19, 2009 Like I said before, not every application has a COM interface. I haven't heard of Yahoo having one. Link to comment Share on other sites More sharing options...
bo8ster Posted August 19, 2009 Share Posted August 19, 2009 It is handy to know how they are registered and used by windows first. Its been a while but I think in MTS you can see what COM objects Windows has registered and when they are being used. My point is you need to understand more about them. Are you sure Yahoo! Messenger uses a COM object? Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
trinitrotoluen Posted August 19, 2009 Author Share Posted August 19, 2009 (edited) It is handy to know how they are registered and used by windows first. Its been a while but I think in MTS you can see what COM objects Windows has registered and when they are being used. My point is you need to understand more about them. Are you sure Yahoo! Messenger uses a COM object?What is MTS ? No, I'm not sure if Y!M has a COM (can't find in OLE/COM viewer). I should learn more about COM as I said I'm new in COM. Edited August 19, 2009 by trinitrotoluen Link to comment Share on other sites More sharing options...
bo8ster Posted August 19, 2009 Share Posted August 19, 2009 Microsoft Transaction Server - http://en.wikipedia.org/wiki/Microsoft_Transaction_Server Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now