COM samples

Posted by Poromenos on Wed 02 Apr 2003 12:28 PM — 4 posts, 13,552 views.

Greece #0
Nick, could you post a sample VB progam COM linked with a plugin? I would be interested in that, but I don't know how to get mushclient to link to it. I think the example would interest many people.
Australia Forum Administrator #1
Can you give me a broad idea of the sort of thing you are thinking of?
Greece #2
I just need the code to link the COM executable to MUSHClient with VBScript. Isn't the rest standard VB? I.e.:
Dim x, y
x = new("Program.Function")
y = x(3, 2, 1)

etc. You can tell i'm not much into COM programming :)
Right now i don't know exactly what i want to make, but if i knew how to link VB programs properly, a whole new field would open up :p
Australia Forum Administrator #3
There are examples on this forum of doing that, search for "createobject", I think. The trick is to have MUSHclient running, and create an instance of a COM object, not the other way around.