title: Why clipboard.setdataobject doesn't copy object to the clipboard in C#
body: <p>I have a win app (C#) that use clipboard to send and receive data to/from other applications. for example I want to use Word app in windows, I copy a text using c# to the clipboard, but when i want to simulate paste key <code>(Stroke Ctrl+v)</code> in c# , the clipboard is empty and i just got <code>"v"</code> as result.
  To copy to the clipboard i use the following code:</p>
  
  <pre><code>  public static void CopyToClipboard(string textForCopyToClipBoard)
    {
       Clipboard.Clear();
       Clipboard.SetDataObject(
       textForCopyToClipBoard, 
       true, 
       5, 
       200); 
     }
  </code></pre>
  
  <p>To simulate paste or stroke Ctrl+v, i use the following code</p>
  
  <pre><code>public static void PasteFromClipboard()
     {
          System.Windows.Forms.SendKeys.Send("^v");
     }
  </code></pre>