User (Legacy) Posted April 29, 2005 Report Share Posted April 29, 2005 Hello, When I tested the beta version of ChartFX6.2 there were problems in using of ChartFX in a VB6 program. The problem is described here: http://mysupport.softwarefx.com/Help/SupportTool/History.aspx?IID=0324eeb6-22cc-4820-aedd-1cad0a2d083d Now I use the release version of ChartFX6.2, but this problem is still not solved. ChartFX6.2 doesn't work in VB6, only in ASP, which is unexplainable for me, because ChartFX6.2 is a COM component and should be working in every language, which supports COM. Is decision for this problem expected soon? Thank you! Fanko Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 29, 2005 Author Report Share Posted April 29, 2005 Hello, When I tested the beta version of ChartFX6.2 there were problems in using of ChartFX in a VB6 program. The problem is described here: http://mysupport.softwarefx.com/Help/SupportTool/History.aspx?IID=0324eeb6-22cc-4820-aedd-1cad0a2d083d Now I use the release version of ChartFX6.2, but this problem is still not solved. ChartFX6.2 doesn't work in VB6, only in ASP, which is unexplainable for me, because ChartFX6.2 is a COM component and should be working in every language, which supports COM. Is decision for this problem expected soon? Thank you! Fanko Link to comment Share on other sites More sharing options...
Software FX Posted April 29, 2005 Report Share Posted April 29, 2005 GetHtmlTag cannot be used from a C++ or VB app, it is meant to be used only from an ASP page. There are some assumptions in this method, that will for example send the imgmap (if required) directly to the ASP.Response object or it will use Server.MapPath to know where to generate files. You can use the GetHtmlDataEx method (which is also much more flexible on where the output goes) that has the following signature GetHtmlDataEx (VARIANT vWidth,VARIANT vHeight,VARIANT vTag,VARIANT vData,VARIANT *pvMap,VARIANT *pvHtmlOutput) The first 3 parameters are identical to the ones in GetHtmlTag. vData allows you to specify the target location for the output (image, svg, etc.). As of today it supports BSTR that represents the path of the file to be generated. We also plan to support an IStream parameter so that we can write the output directly to memory or other IStream implementations (C++) pvMap will contain the img map (only for image output when URLs are assigned). pvHtmlOutput will contain the tag required to display the element. E.g. "<img src="." >" The current public build does not support NULL on pvMap and pvHtmlOutput but our internal build does. As of today you must pass a pointer to a VARIANT and make sure it is cleaned up as it will be populated with a BSTR (C++) How to call it in VB Dim map Dim html map = "" html = "" chart1.GetHtmlDataEx 400, 400, "png", "C:\Temp\Test.png", map, html Regards, JC Software FX Support "Fanko" <igospodinov@eicos-bg.com> wrote in message news:WGXvolJTFHA.1772@webserver3.softwarefx.com... > Hello, > > When I tested the beta version of ChartFX6.2 there were problems in using > of ChartFX in a VB6 program. > The problem is described here: > http://mysupport.softwarefx.com/Help/SupportTool/History.aspx?IID=0324eeb6-22cc-4820-aedd-1cad0a2d083d > > Now I use the release version of ChartFX6.2, but this problem is still not > solved. ChartFX6.2 doesn't work in VB6, only in ASP, > which is unexplainable for me, because ChartFX6.2 is a COM component and > should be working in every language, which supports COM. > > Is decision for this problem expected soon? > > Thank you! > > Fanko > Link to comment Share on other sites More sharing options...
Software FX Posted April 29, 2005 Report Share Posted April 29, 2005 GetHtmlTag cannot be used from a C++ or VB app, it is meant to be used only from an ASP page. There are some assumptions in this method, that will for example send the imgmap (if required) directly to the ASP.Response object or it will use Server.MapPath to know where to generate files. You can use the GetHtmlDataEx method (which is also much more flexible on where the output goes) that has the following signature GetHtmlDataEx (VARIANT vWidth,VARIANT vHeight,VARIANT vTag,VARIANT vData,VARIANT *pvMap,VARIANT *pvHtmlOutput) The first 3 parameters are identical to the ones in GetHtmlTag. vData allows you to specify the target location for the output (image, svg, etc.). As of today it supports BSTR that represents the path of the file to be generated. We also plan to support an IStream parameter so that we can write the output directly to memory or other IStream implementations (C++) pvMap will contain the img map (only for image output when URLs are assigned). pvHtmlOutput will contain the tag required to display the element. E.g. "<img src="." >" The current public build does not support NULL on pvMap and pvHtmlOutput but our internal build does. As of today you must pass a pointer to a VARIANT and make sure it is cleaned up as it will be populated with a BSTR (C++) How to call it in VB Dim map Dim html map = "" html = "" chart1.GetHtmlDataEx 400, 400, "png", "C:\Temp\Test.png", map, html Regards, JC Software FX Support "Fanko" <igospodinov@eicos-bg.com> wrote in message news:WGXvolJTFHA.1772@webserver3.softwarefx.com... > Hello, > > When I tested the beta version of ChartFX6.2 there were problems in using > of ChartFX in a VB6 program. > The problem is described here: > http://mysupport.softwarefx.com/Help/SupportTool/History.aspx?IID=0324eeb6-22cc-4820-aedd-1cad0a2d083d > > Now I use the release version of ChartFX6.2, but this problem is still not > solved. ChartFX6.2 doesn't work in VB6, only in ASP, > which is unexplainable for me, because ChartFX6.2 is a COM component and > should be working in every language, which supports COM. > > Is decision for this problem expected soon? > > Thank you! > > Fanko > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.