Sytze and Manjit, I'll give both your queries a look when I'm back at work tomorrow.
Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sytze de Boer Sent: 26 March 2008 18:55 To: [email protected] Subject: Re: VFP and Graph - RMChart - OLE IDispatch exception I'm watching this thread with interest because I'm trying to include this with my own App When you've figured out how to print, let me know please Sytze On Thu, Mar 27, 2008 at 6:50 AM, Manjit Basra <[EMAIL PROTECTED]> wrote: > Hi, > > Dave, thanks for recommending RMChart for graphs and the sample code. It > works great even in VFP7. > > I downloaded and installed RMChart 4.12. I am using VFP7. I use the > following command to create an instance: > > obj = CREATEOBJECT("RMChart.RMChartX") > > No problem. However, when I issue the following commands: > > obj.Reset > obj.SetProperties(640, 400, 0, 2, "", "Tahoma", , , , ) > > I get the following error for both of the lines: > > "OLE IDispatch exception code 0 from RMChart: Object variable or With > block variable not set." > > I am trying to create a report for my web based app. The EXE file has no > GUI objects. That is why I need to use CREATEOBJECT(). > > Any thought? Appreciate your help. > > > > Manjit > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

