Salat
Well-known member
Is it possible to use clipboard to hold some my own defined data?
eg:
there is some expection with invalid cast, Ive tried with CType and DirectCast but I cant handle it... please help me !!!
eg:
Code:
Structure stData
Dim a as Integer
Dim b as String
End Structure
Dim ToHold(10) as stData
procedure code
Clipboard.SetDataObject(ToHold(2))
other procedure code
ToHold(3) = Clipboard.GetDataObject()
there is some expection with invalid cast, Ive tried with CType and DirectCast but I cant handle it... please help me !!!