Salat
Regular
Is it possible to use clipboard to hold some my own defined data?
eg:
there is some expection with 'invalid cast', I've tried with CType and DirectCast but I can't handle it... please help me !!!
eg:
Visual Basic:
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', I've tried with CType and DirectCast but I can't handle it... please help me !!!