rubenruvalcaba Report post Posted October 17, 2007 Hi, I want to integrate the FusionCharts in a windows forms application (using vb.net or c#) I already added a Showckwave Flash Object to the form, I set the Movie property to the swf file. But how should I set the xml path or xml string with the data? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 22, 2007 Hi, IF the flash objects's name is FC then.. in C# : To set XML path use : FC.setVariable("dataURL","xmlfilename.xml"); to set data XML use : FC.setVaraible("dataXML",strXML); in VB : To set XML path use : FC.setVariable("dataURL","xmlfilename.xml") to set data XML use : FC.setVaraible("dataXML",strXML) Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 23, 2007 Hi, Here goes a simple example of FusionCharts in C# Windows Application. THe compiled exe is present in Compiled folder. Its in asp.net 2.0. So please use ,net 2.0 framework. [i have used the latest flash player from Adobe's site.] NOTE : You may face problem whlle adding the cox control in windows form.(its a known issue in VS2005) Trick : Add Shockwave Flash COM component in toolbox. Then copy the 2 dll files (AxInterop.ShockwaveFlashObjects.dll and Interop.ShockwaveFlashObjects.dll) in ObjDebug folder. Now try adding the flash control from toolbox to ur form. IT will work. FusionChartsCSv01.zip Share this post Link to post Share on other sites
avinash Report post Posted July 24, 2008 Hi , I am trying to use Fusion Charts in Window application. but I got error when calling following function FC.CallFunction(FlashCall("setDataXML", args)); and error is "Error HRESULT E_FAIL has been returned from a call to a COM component." Please reply Avinash Share this post Link to post Share on other sites
Rahul Kumar Report post Posted July 25, 2008 Hi, Could you please make sure that you are using FC.SetVariable("registerWithJS", "1") before calling FC.CallFunction(FlashCall("setDataXML", args))? Share this post Link to post Share on other sites