PC Review


Reply
Thread Tools Rate Thread

Clipboard Copy is not working

 
 
Anand Ganesh
Guest
Posts: n/a
 
      13th Apr 2006
Hi All,

I have .NET application working from a Windows 2003 Terminal Server.

The application had an ability to copy a Image in the "Clipboard". This was
done in the .NET code.

Then the client can paste the Image in his/her local computer.

All was working fine.

Recently couple of weeks ago I applied the Win 2003 Latest Service Packs and
then this feature stopped working.

Is this a known issue? Is there a solution?

Any suggestions please?

Thanks
Anand Ganesh

Here is my code, which was working before I applied Service Packs:

public void PerformCopytoClipboard()

{

Thread.CurrentThread.ApartmentState = ApartmentState.STA ;

try

{

System.Windows.Forms.Clipboard.SetDataObject(this.pictureBoxMap.Image) ;

this.statusBarPanelMessage.Text = "Data copied successfully !" ;

}

catch(Exception e)

{

MessageBox.Show(e.Message) ;

}

}


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy to clipboard stopped working. bravofoxtrotuk Microsoft Access VBA Modules 2 10th Jun 2009 04:38 PM
Clipboard gets empty by itself, cleared clipboard, copy paste doesn't work, outlook clears clipboard, problems with clipboard - possible solution Jens Hoerburger Microsoft Outlook 0 24th Aug 2006 02:44 PM
How do I disable Office Clipboard so Copy Paste uses traditional Windows Clipboard dwilliamson@ivsi.com Microsoft Excel Discussion 10 24th Feb 2005 02:36 PM
Copy To Clipboard Not Working Wayne Wengert Microsoft ASP .NET 2 23rd Feb 2005 05:05 PM
Using VB.Net or C#, utilizing the clipboard object, how to copy an MS Excel graphic from the clipboard to an image control and obtain its source reference TC Microsoft C# .NET 2 27th Jul 2004 06:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:59 PM.