mIRC Home    About    Download    Register    News    Help

Print Thread
#41587 13/08/03 04:33 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32
Hello,

Where can i find a listing of current COM objects avaible? I mean like Excel.Application is one and where can I find more?

Thanks for the help smile


am a big noob
#41588 13/08/03 05:12 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well thats not really an mIRC question. You need a 3rd party application that can do that. Usually you can find such a tool in a Visual Basic compiler. The one I use is the one included with Microsoft Visual Studio .NET.

#41589 13/08/03 06:50 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
In addition to codemastr's suggestion (F2 in VB as long as you've referenced what you want to use), you can also get to such a tool in Word, Excel, PowerPoint (Alt-F11, then F2).

Bear in mind, however, that not all objects revealed there are COM objects. For instance, if you are playing with ADO (ActiveX Data Objects) to play with a database, you can't instantiate a Field object, even though there is such an object in the ADO object model.

/comopen dbMyDatabase ADODB.Connection
/comopen rsMyTable ADODB.RecordSet
/comopen fldTest ADODB.Field

The first two will work and are usable; the third one doesn't work because, although Field is an object, it's not a COM object.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#41590 14/08/03 01:36 AM
Joined: Dec 2002
Posts: 5
M
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
M
Joined: Dec 2002
Posts: 5
Micrsoft have a thing called ole/com viewer you can download it at

http://www.microsoft.com/com/resources/oleview.asp


I found a tutorial on how to use ole/come viewer at

http://www.winscripter.com/wsh/tools/oleview.asp


--
GamerTag: maffew
How many hax0rz does it take to screw in a lightbulb? 1337

Link Copied to Clipboard