Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Trying to reference MUSHclient from an external program

Trying to reference MUSHclient from an external program

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Krenath   USA  (76 posts)  Bio
Date Mon 14 Jan 2002 06:13 AM (UTC)
Message
I've created a reference to MUSHclient from an external program with the intention of being able to access MUSHclient's active World object from this program.

What I'm currently doing is as such:

Dim MushClientWorld
Set MushClientWorld = CreateObject("MushClient.World")


I'm not having any trouble connecting to MUSHclient, but the problem is that the second I do, MUSHclient feels compelled to create a brand new world from scratch, rather than simply connecting me to the active world's world object.

If I manage to get this working, I'll be able to create add-on programs that would be able to format and display data graphically, and these programs would be optional, not generating any errors within MUSHclient scripts if they're not running.


- Krenath from
bDv TrekMUSH
ATS TrekMUSH
TNG TrekMUSE
TOS TrekMUSE
Top

Posted by Nick Gammon   Australia  (23,132 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 14 Jan 2002 07:42 AM (UTC)
Message
I recognise that as a limitation of using MUSHclient as a COM object.

I can only suggest that you somehow create the external object from within MUSHclient, and pass a world reference to it. I think there are examples of that here.

ie. Instead of ...

Your program -> Create MUSHclient

you do ...

MUSHclient -> Create your program


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Krenath   USA  (76 posts)  Bio
Date Reply #2 on Mon 14 Jan 2002 02:50 PM (UTC)
Message
Bleah.

So far, it seems that if I reference my program from withing MUSHClient, I can't actually create any windows.

I'll try again. Maybe it's changed since the last release I tried that on.

I'm guessing I'll have to go to some intermediary object that can serve as a communication channel between MUSHclient and an external program. The MSWC.Myinfo component that comes with Internet Information Server might make a good once since it supports persistent storage of hierarchical data.

- Krenath from
bDv TrekMUSH
ATS TrekMUSH
TNG TrekMUSE
TOS TrekMUSE
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,549 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.