split 1 string into 2
Posted: Thu Feb 24, 2011 5:06 pm
hi, I have a string here which is suppose to be a mouse location coordinat:
225/118
I wanted to split it into x and y as the function only supports the following format :
225/118
I wanted to split it into x and y as the function only supports the following format :
Code: Select all
I'm using the "225/118" in a listbox to record the user's mouse position for every 10 seconds and I've made the listbox to scroll down automatically so when the listbox hits "225/118", it must point the cursor to it.Windows.Forms.Cursor.Position = New System.Drawing.Point(x, y)