mIRC Home    About    Download    Register    News    Help

Print Thread
#138862 08/01/06 12:07 AM
Joined: Jan 2006
Posts: 5
Sid Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Joined: Jan 2006
Posts: 5
Well, this isn't really a scripting problem.
But I was wondering if anyone has a link to a website which contains all the public methods and properties of COM Objects, as in, all the "places" I can open a COM object to, such as Shell.Application, or Excel.Application, and their commands, etc.

If anyone's got anything, that would be a great help.


Mad at god, and mad at you, you're believing in something which cannot be true
#138863 08/01/06 04:17 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
a good source would be the MSDN but I wouldn't know where to start searching really ;-]


If it ain't broken, don't fix it!
#138864 08/01/06 05:01 PM
Joined: Jan 2006
Posts: 5
Sid Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Joined: Jan 2006
Posts: 5
Thanks, I'll have a look.


Mad at god, and mad at you, you're believing in something which cannot be true
#138865 08/01/06 07:04 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
There's no such thing as what you are asking, because COM objects are not one "thing" that you can download/find in one place.

A program, such as Nero for example might expose a COM interface, which you can then call because you have Nero installed. Same for iTunes, Adobe or any other program that supports a COM interface. The documentation for this interface will be found on their websites.

However, there are also a number of COM objects that are shipped automatically with certain versions of Windows. For those, as mentioned, MSDN is the place to be but you will need to use the library to look for the section on Scripting, and delve through that. You will also find the COM documentation for a lot of MS products that supports it, such as WMP, Word, Excel etc.

Another misconception is that COM as a whole only works on certain OS'es. It all depends on which COM object (and which version of the COM object). And it doesn't necessarily depend on the OS, it could depend on the version of IE that you have installed on your OS etc.

Basically, the world of COM is a jungle, and you are going to have to find your own way through it, just like everybody else did.

Btw, if you don't know VBScript/Jscript, then now is the right time to learn it, as a LOT of COM usage is shown in small scripts written in those languages. On MSDN, when there are examples, they will usually be in those two languages, so getting used to the syntax will help you tremendously.


Gone.
#138866 09/01/06 04:52 PM
Joined: Jan 2006
Posts: 5
Sid Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Joined: Jan 2006
Posts: 5
Alright, thanks, FiberOptics, I'll dig up through C:\. smile


Mad at god, and mad at you, you're believing in something which cannot be true

Link Copied to Clipboard