A tough one:
Using the PivotChart view of a few forms to display some nice charts and having difficulty with the ExportPicture method of the ChartSpace object - keep getting an error:
'Run-time error 430
Class does not support Automation or does not support expected interface'
This occurs at the ExportPicture line
FRM is a Form variable passed to this function and sFile is a string with a proposed file name for the image to be saved.
I've tried setting an object variable to the FRM.ChartSpace without any luck but the weird thing is this used to work on the same machine before a Windows & Office reinstall a month or two ago.
I've attempted to reinstall the OWC both versions 10 & 11, re-registering the dll's via Regsvr32 all without success.
Any OWC experts out there?
Using the PivotChart view of a few forms to display some nice charts and having difficulty with the ExportPicture method of the ChartSpace object - keep getting an error:
'Run-time error 430
Class does not support Automation or does not support expected interface'
This occurs at the ExportPicture line
Code:
FRM.ChartSpace.ExportPicture sFile, , 800, 600
FRM is a Form variable passed to this function and sFile is a string with a proposed file name for the image to be saved.
I've tried setting an object variable to the FRM.ChartSpace without any luck but the weird thing is this used to work on the same machine before a Windows & Office reinstall a month or two ago.
I've attempted to reinstall the OWC both versions 10 & 11, re-registering the dll's via Regsvr32 all without success.
Any OWC experts out there?