I posted a few weeks ago about an encryption program I was writing. I now have it working almost as a translator program. I want to use system wide hotkeys to be able to copy, run through the scrambler, and paste over wherever the text was, while also continue to add to the log kept in the home form. I am using mclhotkey for the systemwide hotkeys, but I am not familiar with the clipboard in VB6.
This is the code I have to encode whatever input is entered.
uinput is the userinput textbox, the alpha$ array is ascii 32-127, the code$ array is ascii 32-127 randomly ordered in order to scramble the letters. As far as I can see, I would simply replace uinput with the clipboard text, and add in to save the scrambled text to the clipboard and repaste is where it was originally from. I THINK I have the concept of what to do but I'm not sure if I am correct and I'm not sure how to implement it =X.
Hopefully I provided enough info for you all to know what I'm talking about, help please!
Fr0g
This is the code I have to encode whatever input is entered.
Code:
sl = Len(uinput.Text) For x = 1 To sl word2$(x) = Mid$(uinput, x, 1) Next x M = 0 Log.Text = Log.Text & "Me: " + uinput.Text + " (" Do Until W = sl W = W + 1 For x = 1 To 95 If alpha$(x) = word2$(W) Then R = x Next x Log.Text = Log.Text & code$(R) Loop Log.Text = Log.Text & "#)" + vbCrLf uinput = ""
Hopefully I provided enough info for you all to know what I'm talking about, help please!
Fr0g
Comment