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) ;
}
}
|