Jump to content
Software FX Community

Return Value of GetExtension method


User (Legacy)

Recommended Posts

Hello,

I am using ChartFX Client Server with Access 97. I am trying to load an

existing configuration and then use the GetExtension method. As the method

returns the data type "unknown", I have to declare the receiving variable

as "Variant":

dim a as Variant

' load previous annotations

chart.Import CHART_CFXOLEFILE, fileName

' try tro get handle

set a = chart.GetExtension("AnnotationX.AnnList")

' add further annotations ...

This "Variant" type is useless for me, as I can not invoke methods on it. I

tried other possibilities, but all of them resulted in Access crashing,

e.g.:

- call "AddExtension" and afterwards "Import"

- call "Import" and afterwards "AddExtension"

Do you have any suggestions?

Thanks,

Florian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...