Sign in to follow this  
Hakan

Fail to load chart from DLL

Recommended Posts

In my desktop application I show a FC chart in an IE Browser Control (setDataXML method with the XML hardcoded in the HTML).

During development all files are loaded from local file system: The HTML file, js include files, chart swf file, image files and so on. The path to the files (in the HTML code) is "C:/Data/Utveckling/Dev/Siffersurfaren/res/". This works fine.

When building the release version the load method is changed. All files are embedded as resources in a DLL file and then loaded from the DLL at runtime, both the HTML file and all other files reffered to in the HTML. In this case the path to the files in the HTML code is "res://C:ProgramEdisonEdison Ekonomi Byr

Share this post


Link to post
Share on other sites

Sorry, a small typo in the code above. It should be:

......./RT_SS_XF/xf_FusionCharts_Line.swf.......

It doesn't help to exclude the querystring parameters:

myChart = new FusionCharts("res://C:ProgramEdisonEdison Ekonomi Byr

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this