i have to use the system clipboard as a buffer, but i don't want to cleanup its contents.how i can backup and restore what it has?i try System.Windows.Forms.Clipboard, but there seems something wrong when i restore
the contents, that String[] dataFormArr = iData.GetFormats(); has some types missing.and i want to know how i can do if the clipboard holds an image, wave or something.thanks all
the contents, that String[] dataFormArr = iData.GetFormats(); has some types missing.and i want to know how i can do if the clipboard holds an image, wave or something.thanks all
object obj = Clipboard.GetDataObject(); //save system clipboard data to obj
Clipboard.SetDataObject(obj); restore data to clipboard