R
rodchar
hey all,
i'm using the following in my console app:
My.Computer.Clipboard.SetText(sb.ToString())
i'm getting inconsistent results with the copy. sometimes it works and most
of the time i get the following error below. i just keep executing until it
works.
i'm getting the following error:
Which mode? (1=Read only 2=Edit 3=Insert)
1
Contents are now on the clipboard!
Unhandled Exception: System.Runtime.InteropServices.ExternalException:
Requested
Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean
copy, In
t32 retryTimes, Int32 retryDelay)
at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat
format)
at System.Windows.Forms.Clipboard.SetText(String text)
at Microsoft.VisualBasic.MyServices.ClipboardProxy.SetText(String text)
at MyHtmlBuilderSolution.Module1.Main() in C:\Documents and
Settings\rodney_s
antiago\My Documents\Visual Studio
2005\Projects\MyHtmlBuilderSolution\MyHtmlBui
lderSolution\Module1.vb:line 24
Press any key to continue . . .
thanks,
rodchar
i'm using the following in my console app:
My.Computer.Clipboard.SetText(sb.ToString())
i'm getting inconsistent results with the copy. sometimes it works and most
of the time i get the following error below. i just keep executing until it
works.
i'm getting the following error:
Which mode? (1=Read only 2=Edit 3=Insert)
1
Contents are now on the clipboard!
Unhandled Exception: System.Runtime.InteropServices.ExternalException:
Requested
Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean
copy, In
t32 retryTimes, Int32 retryDelay)
at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat
format)
at System.Windows.Forms.Clipboard.SetText(String text)
at Microsoft.VisualBasic.MyServices.ClipboardProxy.SetText(String text)
at MyHtmlBuilderSolution.Module1.Main() in C:\Documents and
Settings\rodney_s
antiago\My Documents\Visual Studio
2005\Projects\MyHtmlBuilderSolution\MyHtmlBui
lderSolution\Module1.vb:line 24
Press any key to continue . . .
thanks,
rodchar