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 ➜ External MUClient text window

External MUClient text window

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


Pages: 1  2  3 4  

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #30 on Tue 01 Jun 2004 08:54 PM (UTC)
Message
OK, so much for reading comments and cleaning up :p The code is actually pretty legible, and it should be very easy to add new functions. Enjoy.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #31 on Tue 01 Jun 2004 08:55 PM (UTC)
Message
In case you're wondering, yes, it would be better if I posted the actual URL too :P
http://storage.poromenos.org/window.zip

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #32 on Thu 03 Jun 2004 12:25 AM (UTC)
Message
You may want to comment on this:

http://www.gammon.com.au/forum/?bbsubject_id=4286

- Nick Gammon

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

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #33 on Sun 01 Aug 2004 09:35 PM (UTC)
Message
New URL for this:
http://poromenos.fateback.com/MUClientWindow.exe

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Lisev   Poland  (8 posts)  Bio
Date Reply #34 on Fri 17 Dec 2004 11:52 AM (UTC)
Message
How did you do colored text in this external window?

Would you be so kind to poste the code of that function Sub Note() in your VB ?
Top

Posted by David Berthiaume   (202 posts)  Bio
Date Reply #35 on Fri 17 Dec 2004 04:27 PM (UTC)
Message
I've tried your window, I couldn't get it working.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #36 on Sun 19 Dec 2004 10:25 AM (UTC)
Message
Quote:

I've tried your window, I couldn't get it working.

Did you run the .exe first? What happened?

Note is:

Public Sub Note(strText As Variant, Optional strFontName As String, Optional intFontSize As Integer, Optional varColor As Variant)
    frmMain.rtbText.SelStart = Len(frmMain.rtbText.Text)
    frmMain.rtbText.SelLength = 0
    frmMain.rtbText.SelText = strText
    frmMain.rtbText.SelStart = Len(frmMain.rtbText.Text) - Len(strText)
    frmMain.rtbText.SelLength = Len(strText)
    If Not IsMissing(strFontName) Then frmMain.rtbText.SelFontName = strFontName
    If Not IsMissing(intFontSize) Then frmMain.rtbText.SelFontSize = intFontSize
    If Not IsMissing(varColor) Then frmMain.rtbText.SelColor = varColor
    frmMain.rtbText.SelLength = 0
End Sub

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #37 on Mon 20 Dec 2004 08:25 PM (UTC)
Message
Not working for me:( I run the MUClientWindow.exe, then I run MC, and then your Demo alias, and what I get is:
Error number: -2147024894
Event: Execution of line 3 column 1
Description:
Line in error:

Called by: Immediate execution

The line in error is the CreateObject one.
I've tried running the .exe from the cmd.exe, straight from windows, before running MC, and while running MC.. and I also tried registering it, which didnt work (and shouldnt).
The MUClientWindow.exe doesnt appear in processes or in apps in the Task Manager.

Help plz?:)
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #38 on Mon 20 Dec 2004 09:07 PM (UTC)
Message
Hmm, that is very odd. You have the vb6 runtimes installed? Although it should produce an error if you don't. I downloaded the file, ran it and ran
Set WindowObject = CreateObject ("MUClientWindow.TextBox")
in MC and a window popped up. This has been reported again, but I don't think it's a problem with the program itself... Which OS are you running?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #39 on Mon 20 Dec 2004 09:11 PM (UTC)
Message
Win XP, not SP1/2.. hmm, I'm not 100% sure about vb runtimes, how can I check?
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #40 on Mon 20 Dec 2004 09:27 PM (UTC)

Amended on Mon 20 Dec 2004 09:45 PM (UTC) by Scypio

Message
Oh, I checked my event logs, and found something.. it's not in English tho, so I'll give you my best translation:P

Cannot run DCOM server: {1F32B04F-9C49-491F-98AF-0C5B61895360}. Error:
„File not found. ”
occured during the following command:
D:\Documents and Settings\Maciek\Pulpit\MUClientWindow.exe -Embedding

For more info, visit http://go.microsoft.com/fwlink/events.asp

Gonna check the M$ thing now.. but doubt it will be helpful

/Edit
Yep, nothing on their site:( Currently there's no info concerning this issue blah blah blah:(
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #41 on Mon 20 Dec 2004 09:31 PM (UTC)
Message
Try copying it to the D:\ root. Maybe it has problems with spaces.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #42 on Mon 20 Dec 2004 09:50 PM (UTC)

Amended on Mon 20 Dec 2004 09:54 PM (UTC) by Scypio

Message
Ok, guess what. The funny thing about that error message was that the file was NOT in the D:\Documents and Settings\Maciek\Pulpit\ (which is just the desktop), but in another dir on D:\. So what I did was copy it to the desktop and run. It did run and is showing itself on the Task manager now, and there are no events in the event log. However, I still get an error when I CreateObject, only this time it's different:
Error number: -2146827949
Event: Execution of line 3 column 1
Description: Nieznany b³±d czasu wykonywania.: 'CreateObject'
Line in error:

Called by: Immediate execution

Desc translated by me: Unknown runtime error -- not very helpful:(

/Edit

I just googled the error number, and all I found was:
http://news2.componentone.com/cgi-bin/dnewsweb.exe?cmd=article&group=Component1.public.query&item=600&utag=
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #43 on Mon 20 Dec 2004 09:54 PM (UTC)
Message
Hmm, it shouldn't appear in the task manager before a CreateObject, it should just register itself and wait. Try closing it from the task manager, moving it to d:\, running it and doing a CreateObject?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Scypio   Poland  (50 posts)  Bio
Date Reply #44 on Mon 20 Dec 2004 10:00 PM (UTC)

Amended on Mon 20 Dec 2004 10:04 PM (UTC) by Scypio

Message
Hmm. So I kept it on the desktop. I shut it using the task manager. I opened MC, and ran the alias line by line. After CreateObject, I got the aforementioned error. However, MUClientWindow.exe appeared in task manager. But WindowObject is unreachable - when I try to access its properties (WindowObject.Topmost=True) it says that it needs an object: WindowObject.

/Edit
And, using CreateObject, I can create more of the instances of MUClientWindow.exe appearing in the task manager.. but cannot create the actual scripting object:(
Gonna get back to this tommorrow after work, gnight:) And thanks for quick answers:)
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.


132,590 views.

This is page 3, subject is 4 pages long:  [Previous page]  1  2  3 4  [Next page]

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.