ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Compile error: Method or data member not found
Posted by Mike Turner on Feb-08-2021 11:59
I was forced to upgrade vb6 and it seems to have wiped out my ChartDirector functionality. I have been able to get most of it back, but when I run this code (below), I get the above error message:

Call TIPLayer.addDataSet(TMI_TIP_Up, &HFF00, "Bullish Inflection Point").setDataSymbol(cd.TriangleShape, 20)

vb highlights TriangleShape

This is mission critical for me.  Please respond quickly. Thank you.

  Re: Compile error: Method or data member not found
Posted by Peter Kwan on Feb-08-2021 23:20
Hi Mike,

Would you mind to clarify how do you upgrade VB6?

As far as I know, VB6 is the final version of classical VB, and there is no newer version to upgrade.

There is a VB in the .NET Framework, but it is incompatible with classical VB. If you change to the VB in the .NET Framework, I suggest you use ChartDirector for .NET instead.

If you are still using VB6 (since there is no newer version), you should still be using the VB6 IDE, and your project has added a reference to the ChartDirector component. In the VB6 IDE, you can open the Immediate Window (choose View/Immediate Window), and you can manually enter the following code to see what is the result:

Set cd = CreateObject("ChartDirector.API")

Debug.Print Hex(cd.getVersion())

Debug.Print cd.getBootLog()


The cd.getVersion line will print out the ChartDirector version you are using. The cd.getBootLog line will display why the license key cannot be loaded.


Please let me know what is the result.

Regards
Peter Kwan