P
Phillll Peeps via .NET 247
Hi there, hope you can help
How can i put the contents of the clipboard into a two dimensional array of type double?
i can get the data with:
Dim iData As IDataObject = Clipboard.GetDataObject()
i want to build a dynamic array based on the amount of data in the clipboard
so if i copied the 2 lines:
1 2 3
4 5 6
from excel then i would get a 2 dimensional array like this
dim myArray(2, 2) as double, with the clipboard data in the array at the correct locations (myArray(0,0) = 1..... myArray(2,2) = 1 etc....)
How can i put the contents of the clipboard into a two dimensional array of type double?
i can get the data with:
Dim iData As IDataObject = Clipboard.GetDataObject()
i want to build a dynamic array based on the amount of data in the clipboard
so if i copied the 2 lines:
1 2 3
4 5 6
from excel then i would get a 2 dimensional array like this
dim myArray(2, 2) as double, with the clipboard data in the array at the correct locations (myArray(0,0) = 1..... myArray(2,2) = 1 etc....)