![]() |
|
Text prob - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: Text prob (/Thread-Text-prob) |
Text prob - 1llusion - 01-12-2011 Hey all!!! When I encrypt my strings, I sometimes get this character †which breaks the encrypted word in a half. Is there a way to prevent it? I would love to protect my program ![]() Thanks!!! RE: Text prob - Coder-san - 01-12-2011 I'm not sure if I understood it totally. Can you give an example? What encryption are you using? You may need to modify it a little. RE: Text prob - 1llusion - 01-12-2011 I use RC4 encryption, forgot to mention it. Well, when I encrypt some word, I sometimes get something like: Kě2K"k1 The " makes me unable to use it, because it breaks the string in half ![]() (Im using this function: rc4(" Kě2K"k1","pass") Thanks for reply! RE: Text prob - Coder-san - 01-12-2011 Oh, then you can simply use Chr(34) instead of that one " which is the same thing. Code: rc4(" Kě2K" & Chr(34) & "k1","pass")RE: Text prob - 1llusion - 01-12-2011 (01-12-2011, 07:47 PM)Coder-san Wrote: Oh, then you can simply use Chr(34) instead of that one " which is the same thing. ow awesome thanks ![]() Where do you find these chr's? Just got idea with them ![]() Thanks
RE: Text prob - Coder-san - 01-12-2011 You can find out yourself by running a Loop. ![]() Code: For i As Integer = 0 To 255
TextBox1.Text &= i & " - " & Chr(i) & vbNewLine
NextRE: Text prob - 1llusion - 01-12-2011 awesome ![]() Thanks!!! |