I have a simple translating program i working on in vb 2010.
I have a combobox and a textbox and a button.
What i have so far is when you select the option in the combobox the textbox and button will appear. then when you type something it replaces each letter with something new, in the same textbox.
what i cant figure out is how to make it so where if i click the button again it translates the replaced letters back to the original ones.
how would this be done?
Try copying your text to a string before you replace it, then replace the text in the textbox with the contents of your string when you click your 2nd button something like this.