On Dec 7, 4:47 pm, Frank Uray <FrankU...@discussions.microsoft.com>
wrote:
Hi
Maybe this helps:
System.Windows.Forms.Clipboard.SetData(System.Wind ows.Forms.DataFormats.Tex-t, "blabla");
System.Windows.Forms.Clipboard.GetData(System.Wind ows.Forms.DataFormats.Tex-t);
Frank
"shirleylo...@gmail.com" wrote:
Hi Ppl, Could anyone help me out with retrieving URL from Clipboard
using C#??- Hide quoted text -
- Show quoted text -
Hi Frank,
Thanks for your suggestion. But Im looking for retrieving URLs. Like
when Im trying to copy text with url, I would like to know if the text
contains any URL or not. And if it does contain, would like to retrive
it from the copied text. I tried retrieving it in html and rtf
formats, using the following statments:
Clipboard.GetDataObject().GetDataPresent(DataForma ts.Html);
Clipboard.GetDataObject().GetDataPresent(DataForma ts.Rtf);
But Im having trouble in retrieving the URL from both formats. Any
suggestion pertaining to this would be really helpful.
-Shirley