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
➜ what's wrong? I want use mushclient.tlb IN VB...please help me.
|
what's wrong? I want use mushclient.tlb IN VB...please help me.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Applehoo
China (4 posts) Bio
|
| Date
| Wed 21 Sep 2011 01:31 AM (UTC) Amended on Wed 21 Sep 2011 01:33 AM (UTC) by Applehoo
|
| Message
| i have already added the mushclient.tlb file to the "References" menu item.
Private Sub Command1_Click()
Dim world As world
Dim otherworld As world
Set world = CreateObject(" MUSHclient.world")
Rem ----cannot creat object ???what's wrong ??
Set otherworld = world.GetWorld("world")
otherworld.Note "Hi there"
Set world = Nothing
Set otherworld = Nothing
End Sub
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Wed 21 Sep 2011 03:18 AM (UTC) |
| Message
| | You have a space before MUSHclient in the CreateObject call. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Applehoo
China (4 posts) Bio
|
| Date
| Reply #2 on Wed 21 Sep 2011 10:33 PM (UTC) |
| Message
| Removing spaces does not work.
Real-time error 429,Activex component can not create object.
Oh.....:( | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Thu 22 Sep 2011 03:17 AM (UTC) |
| Message
| This might be relevant:
It possibly cannot be done. It wasn't designed to be instantiated from another script. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
16,690 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top