Jump to content

Recommended Posts

Posted (edited)

Hi all

some of my code coming out of GUICtrlCreateInput is in ANSI or hex looks like this [] but smaller

box is there a way to fix this been looking in the help book cant seem to find help on this if you know would you please tell me how to fix this or point me to the way i can read on how to fix this thank you

michael

EDIT: i think they are call'd cross-hatch box is there a way to rid them so the data coming from GUICtrlCreateInput its plane text ?

Edited by Michael36
Posted

You'll need to post some screen shots or code for us to understand your problem and be able to assist. What you have told us so far is way too general to do anything with.

Posted

Sounds like the input data you are displaying may be a problem. For diagnostic purposes, have you tried displaying it to a message box to see what it looks like there?

Example: MsgBox(0,"Diagnostic output", "Name is:" & $InputName & @CRLF & "Nick is:" & $InputNick,30)

PS: Plain text B) - I'm still struggling with the "hatch box". Did you have some source listing to look at?

Posted

Sounds like the input data you are displaying may be a problem. For diagnostic purposes, have you tried displaying it to a message box to see what it looks like there?

Example: MsgBox(0,"Diagnostic output", "Name is:" & $InputName & @CRLF & "Nick is:" & $InputNick,30)

PS: Plain text :o - I'm still struggling with the "hatch box". Did you have some source listing to look at?

hi i fig out i need the &@LF

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))

is it Possible to put the &@LF in that line of code above i been trying no luck

i can put it in the gui input but will leave a hatch box in my input i'd like to get it in the above line somehow

$Input_6 = GuiCtrlCreateInput(""&@LF, 60, 40, 120, 20,)

Any Ideas?

thank you

michael

Func Connect($Edit_10)
    $g_IP =   $g_IP
    TCPStartUp()
GUICtrlSetState(-1,$GUI_FOCUS)
  $g_IP=TCPNameToIP(GUICtrlRead($Input_1)) 
    $socket = TCPConnect( $g_IP, GUICtrlRead ($Input_4))
    If $socket = 1 Then Exit
    WinSetTitle($titl,"","connected")
TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))
TCPSend( $socket,"USER Guest 0 0 :"& GUICtrlRead($Input_6))
EndFunc
B)
Posted

hi i fig out i need the &@LF

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))

is it Possible to put the &@LF in that line of code above i been trying no luck

i can put it in the gui input but will leave a hatch box in my input i'd like to get it in the above line somehow

$Input_6 = GuiCtrlCreateInput(""&@LF, 60, 40, 120, 20,)

Any Ideas?

thank you

michael

Func Connect($Edit_10)
    $g_IP =   $g_IP
    TCPStartUp()
GUICtrlSetState(-1,$GUI_FOCUS)
  $g_IP=TCPNameToIP(GUICtrlRead($Input_1)) 
    $socket = TCPConnect( $g_IP, GUICtrlRead ($Input_4))
    If $socket = 1 Then Exit
    WinSetTitle($titl,"","connected")
TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))
TCPSend( $socket,"USER Guest 0 0 :"& GUICtrlRead($Input_6))
EndFunc
B)
Wooohooo i got it

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8)&@LF)

man this was Suppose to be a easy script hahaha the next one will be simple for me After all this lol

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...