Visual Basic 2005 Express Edition
When I use the CopyToClipboard function in my code and then Paste into another application such as Paint or Excel, I get a blue rectangle that is the size of the chart. If I try to use the Export page in a ChartController Edit control, I get an "Object reference net set to an instance of an object" error.
Steps to reproduce:
Create new VB Application. Add TChart and ChartController objects. Set ChartController1.Chart to TChart1. Add a button with the following code:
Code: Select all
TChart1.Export.Image.JPEG.CopyToClipboard()
Jay