A
Arvi
im able to store the value in clipboard. but when i try to paste it by right
clicking on some tet editors or email application. it is not getting the
right values.
why is it so?
string test;
IDataObject iData = Clipboard.GetDataObject();
if(iData.GetDataPresent(DataFormats.Text))
{
// Yes it is, so display it in a text box.
test = (String)iData.GetData(DataFormats.Text);
}
clicking on some tet editors or email application. it is not getting the
right values.
why is it so?
string test;
IDataObject iData = Clipboard.GetDataObject();
if(iData.GetDataPresent(DataFormats.Text))
{
// Yes it is, so display it in a text box.
test = (String)iData.GetData(DataFormats.Text);
}