473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Error Using the Export Picture Method

Good afternoon,

Can someone please assist me with getting over this error. I am trying to export a chartspace as a gif image. I keep getting runtime error 430- Class does not support Automation or does not support expected interface.

This is lines of code that i am using

Dim objChartSpace As OWC10.ChartSpace

Set frm = Forms("frmPivotChart")

Set objChartSpace = frm.ChartSpace
objChartSpace.Clear
objChartSpace.Charts.Add
Set objPivotChart = objChartSpace.Charts.Item(0)

objChartSpace.ExportPicture "D:\My Documents\My Pictures\chart1.gif", "gif", 320, 240

Can someone please help me get over this runtime error??

Thanks,
Jul 25 '07 #1
1 3068
FishVal
2,653 Expert 2GB
Good afternoon,

Can someone please assist me with getting over this error. I am trying to export a chartspace as a gif image. I keep getting runtime error 430- Class does not support Automation or does not support expected interface.

This is lines of code that i am using

Dim objChartSpace As OWC10.ChartSpace

Set frm = Forms("frmPivotChart")

Set objChartSpace = frm.ChartSpace
objChartSpace.Clear
objChartSpace.Charts.Add
Set objPivotChart = objChartSpace.Charts.Item(0)

objChartSpace.ExportPicture "D:\My Documents\My Pictures\chart1.gif", "gif", 320, 240

Can someone please help me get over this runtime error??

Thanks,

Hi, there.

Object variable objChartSpace is declared as OWC10.ChartSpace. Then you try to set it to object being returned by Form.ChartSpace property.
Do you mean an OWC chart form control or ChartSpace property of the form itself?
Aug 1 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ron Holmes | last post by:
I posted this question on the Crystal Reports Support site and I am still waiting for an answer. Using Crystal Reports 9.0 Developer Full edition: My Crystal report .RPT file has a Picture box...
3
by: marwa mohamed | last post by:
salamo alikom hi all when i run report that includes image control linked to a field in the table that contains the image path(on the server)and the record source of the report contains over 30...
3
by: Alex Wisnoski | last post by:
I am trying to adapt Lebans' ReportUtilities to export reports (to preserve formatting) from an Access 97 application. I have made the reference to his mde and copied the modules into my db. I...
2
by: drisso | last post by:
Hello, I have searched that error on these message boards, msdn and crystaldecisions.com. I found tutorials that showed how to export a crystal report to pdf, but like many others I am getting...
3
by: Peter | last post by:
VS 2005 Pro. I am getting the following error when I try to export a report to PDF or any other format using Crystal Reports 11 library. Does anyone knows how to fix this problem, the same code...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
0
by: smkkaleem | last post by:
I am stuck with the error I have posted above in the question title I am developing ASP.NET 2.0 web site and I have added a new rdlc file to my project by using the following process: -Right...
7
by: Tina I | last post by:
Hi group :) I have this standard line: export = open(self.exportFileName , 'w') 'exportFileName' is a full path given by the user. If the user gives an illegal path or filename the...
0
by: ismashkhy | last post by:
I want to create a report table of certain Items with their corresponding pictures. Using Msaccess as database connection (ADO) in VB6, I need to export the table with header and it's complete...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.