COM scripting

Posted by Poromenos on Wed 04 Jun 2003 11:47 AM — 4 posts, 10,948 views.

Greece #0
I am having a small problem linking a COM object. I am doing this:
Set oAimlBot = CreateObject ("AIMLBOT_Lib.AimlBot")
But the script tells me it can't find the object. I got that from a visual basic app, where it was:
Dim oAimlBot As AIMLBOT_Lib.AimlBot
That should work, shouldn't it? If not, what must I do?
Greece #1
Or rather, it says that it can't CREATE the object...
Australia Forum Administrator #2
Does the VB line work on that same PC (in VB rather than MUSHclient)? If not, it might not be installed.
Greece #3
Yes, it works. I figured it out now, seems that the component had a different name than its VB name, namely Aiml.Bot... Odd...