I posted this before and got a few answers that haven't worked for me so far. Therefore I'm going to post part of my code so you can see what I'm talking about. The highlighted part is what I pulled from another post and it's not working for me right now. I'm using visual studio 2008 and the program was written in Basic. I pulled most of this program from the net and started tweaking it to my needs, if you can help I appreciate it! Thanks! If you're familiar with arabic you will understand the letters, if not, just use A and B for the variables.I posted this before and got a few answers that