Author | Message | Time |
---|---|---|
iNsaNe | Well, im making my first bot and the only trouble im having is that when i copy the data i receive from ethereal, it contains quote marks and vb6 thinks its the end of the string. How would i fix this problem, or avoid it.. | February 20, 2006, 6:07 PM |
NetNX | Use a StrToHex Function to obtain the hexidecimal values (or use them since ethereal shows them) and use a winsock1.send HexToStr("AA AA AA AA") replace AA's with the data you want to send! | February 20, 2006, 6:14 PM |
iNsaNe | lol thx ;D | February 20, 2006, 6:18 PM |
JoeTheOdd | If you want to make a string with the data hello"world"wtf, use this. [pre]Dim S as String S = "hello" & Chr(34) & "world" & Chr(34) & "wtf"[/pre] | February 22, 2006, 3:03 AM |
Myndfyr | [quote author=Joe link=topic=14310.msg146727#msg146727 date=1140577439] If you want to make a string with the data hello"world"wtf, use this. [pre]Dim S as String S = "hello" & Chr(34) & "world" & Chr(34) & "wtf"[/pre] [/quote] Isn't it also possible as: [code] S = "hello""world""wtf" [/code] ? | February 22, 2006, 3:19 AM |
JoeTheOdd | I think so, but I'm not sure about that rule. =/ | February 22, 2006, 12:59 PM |
Myndfyr | [quote author=Joe link=topic=14310.msg146773#msg146773 date=1140613198] I think so, but I'm not sure about that rule. =/ [/quote] I'm pretty sure that does work and is how it's supposed to be done. | February 22, 2006, 7:17 PM |
laurion | Tested it in a MsgBox, works fine. I've always used chr(34) myself, though. | February 23, 2006, 9:45 PM |