We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

copy and paste exceptions

Thread ID:





58142 Mar 20,2007 02:35 AM UTC Apr 17,2007 04:02 AM UTC WinForms 4
Tags: EditControl
Administrator [Syncfusion]
Asked On March 20, 2007 02:35 AM UTC

I've been noticing a few random copy and paste crashes lately with the edit control. I've done tweaking of any cut and paste functionality. Here is the stack trace:

any ideas?

System.Runtime.InteropServices.ExternalException was unhandled
Message="Requested Clipboard operation did not succeed."
at Syncfusion.Windows.Forms.Edit.StreamEditControl.Copy()
at Syncfusion.Shared.Utils.KeyBinding.Implementation.KeyCommandImpl.Execute()
at Syncfusion.Shared.Utils.KeyBinding.Implementation.KeyProcessor.KeyCommandListBinderImpl.ProcessKey(Keys key)
at Syncfusion.Shared.Utils.KeyBinding.Implementation.KeyProcessor.ProcessKey(Keys key)
at Syncfusion.Windows.Forms.Edit.StreamEditControl.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.Edit.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Edit.IntelliScrollableControl.WndProc(Message& m)
at Syncfusion.Windows.Forms.Edit.StreamEditControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MetraConfig.Program.Main(String[] args) in C:\ICE\Source\MetraTech\ICE\Program.cs:line 109
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Administrator [Syncfusion]
Replied On March 20, 2007 02:36 AM UTC

Sorry... that was supposed to read: "I've done *no* tweaking of any cut and paste functionality"

Administrator [Syncfusion]
Replied On March 20, 2007 10:17 PM UTC

Hi Travis,

The exception is thrown because of an issue in Clipboard.SetDataObject method. It is possible to workaround this issue by deriving from EditControl and using the action-keys binding feature. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.



Replied On April 10, 2007 04:39 PM UTC

Hi! Ebenezer,

Does this sample and work around work for version


Administrator [Syncfusion]
Replied On April 17, 2007 04:02 AM UTC

Hi Bits,

It is possible to work around this issue in v4.2.0.60. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon