Jump to content
Software FX Community

deployment


User (Legacy)

Recommended Posts

I used ChartFx client server with Active Report in a VB6 project. I create a

installation package and install the program in a clean computer. When I

tried to run the program, I got the error message (see attached)

Manually register sfxbar.dll and cfx4032.ocx does not solve the problem.

Create a simple VB project with a chartfx control (without Active Report)

works.

Install the chartfx SDK in the target machine also solve the problem.

Any suggestion? Thanks.

Shin

Link to comment
Share on other sites

Looks like a License problem. You need to contact Active Reports to find out 

if the support Licensed ActiveX controls.

The fact that it works when you install Chart FX points me to that.

One thing you can do if Active Reports doesn't have support for licensed

controls, is to create a chart (it may be invisible) in your application

BEFORE displaying the report, this will validate the license.

--

Francisco Padron

www.chartfx.com

"Shin Hsieh" <shsieh@1stglobal.com> wrote in message

news:BhAg4TEmFHA.1828@webserver3.softwarefx.com...

>I used ChartFx client server with Active Report in a VB6 project. I create

>a

> installation package and install the program in a clean computer. When I

> tried to run the program, I got the error message (see attached)

>

> Manually register sfxbar.dll and cfx4032.ocx does not solve the problem.

> Create a simple VB project with a chartfx control (without Active Report)

> works.

> Install the chartfx SDK in the target machine also solve the problem.

>

> Any suggestion? Thanks.

>

> Shin

>

>

>

Link to comment
Share on other sites

"Shin Hsieh" <shsieh@1stglobal.com> wrote in message

news:BhAg4TEmFHA.1828@webserver3.softwarefx.com...

> I used ChartFx client server with Active Report in a VB6 project. I create

a

> installation package and install the program in a clean computer. When I

> tried to run the program, I got the error message (see attached)

>

> Manually register sfxbar.dll and cfx4032.ocx does not solve the problem.

> Create a simple VB project with a chartfx control (without Active Report)

> works.

> Install the chartfx SDK in the target machine also solve the problem.

>

> Any suggestion? Thanks.

>

> Shin

>

>

Another way to handle this is as follows:

1) In the ActiveReports designer, use an "Image" control, instead of trying

to embed the ChartFX control.

2) Use your chart's .GetPicture method, and assign it to the image control

in ActiveReports, like this:

oActiveReports.imgChart.Picture = oChartFX.GetPicture(CHART_BITMAP)

Hope this helps.

Gary German

Link to comment
Share on other sites

"Shin Hsieh" <shsieh@1stglobal.com> wrote in message

news:BhAg4TEmFHA.1828@webserver3.softwarefx.com...

> I used ChartFx client server with Active Report in a VB6 project. I create

a

> installation package and install the program in a clean computer. When I

> tried to run the program, I got the error message (see attached)

>

> Manually register sfxbar.dll and cfx4032.ocx does not solve the problem.

> Create a simple VB project with a chartfx control (without Active Report)

> works.

> Install the chartfx SDK in the target machine also solve the problem.

>

> Any suggestion? Thanks.

>

> Shin

>

>

Forgot to mention in my earlier post - you assign the picture to the image

control in the ActiveReport's ActiveReport_DataInitialize event procedure.

GG

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...