Jump to content
Software FX Community

Return Value of GetExtension method


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...