[Migrated content. Thread originally posted on 23 December 2004]
I encountered a strange problem .. maybe the solution is easy, but i can?t find it.
I am using a mschart control to display some values. For this i use the control as part of a screen like this:
03 MSChart1 MSCHART
COL 2
LINE 4
LINES 35
SIZE 75
.
this works with runtime 5.2 and 6.x.
but if i try to test the existance of the control with a line like this:
create MSChart of @MSChart20Lib handle in mschart-handle.
it only works with runtime 6.x.
runtime 5.2.1 tells me about an internal error 290.
i would like to test the existance of the control to make a button visible or not. (without the control, they dont need a useless button .. people click everything they can click :rolleyes: ).
does anybody know how to get this work with 5.2.1 (which most of our customers still have running)
thanx Davide for your program.
but i dont understand where to find the lnk-clsid, which you use in your linkage.
but the worst thing is, that many other parts of our program stopped working. all with internal error 290. and all with the create command (and on these codelines i need the create commands .. filling outlook contacts as example).
i guess it has something to do with the 6.2 acu-server. we installed the 6.2 acu-server on a server with 5.2.1 acu-server (linux).
both acu-server are running.
and i can not swear it, but i belive the problems startet with the 6.2 installation.
so my current status (one day after chrismas) is: panic!
and the man who installs the acu-server in our company is in holyday. (but he did a good job .. all of our servers have 5.2.1 and 6.2 acuserver running, so i can't test it with a 5.2.1 acu-server "standalone")
as i said .. not my day :(
[Migrated content. Thread originally posted on 23 December 2004]
I encountered a strange problem .. maybe the solution is easy, but i can?t find it.
I am using a mschart control to display some values. For this i use the control as part of a screen like this:
03 MSChart1 MSCHART
COL 2
LINE 4
LINES 35
SIZE 75
.
this works with runtime 5.2 and 6.x.
but if i try to test the existance of the control with a line like this:
create MSChart of @MSChart20Lib handle in mschart-handle.
it only works with runtime 6.x.
runtime 5.2.1 tells me about an internal error 290.
i would like to test the existance of the control to make a button visible or not. (without the control, they dont need a useless button .. people click everything they can click :rolleyes: ).
does anybody know how to get this work with 5.2.1 (which most of our customers still have running)
Found the problem:
The acu 6.2 compiler for windows has a bug.
(i?m compiling with -Z52).
if i use the 6.0 compiler, everything is ok. with the 6.2 compiler, the problem starts again.
and @Davide:
i looked in my outlook.def .. there is only a
CLSID, 00000000-0000-0000-0000-000000000000.
but it was the wrong example .. other def?s have an ID.
so thanks for the new direction .. i promise i will try some things with it.
[Migrated content. Thread originally posted on 23 December 2004]
I encountered a strange problem .. maybe the solution is easy, but i can?t find it.
I am using a mschart control to display some values. For this i use the control as part of a screen like this:
03 MSChart1 MSCHART
COL 2
LINE 4
LINES 35
SIZE 75
.
this works with runtime 5.2 and 6.x.
but if i try to test the existance of the control with a line like this:
create MSChart of @MSChart20Lib handle in mschart-handle.
it only works with runtime 6.x.
runtime 5.2.1 tells me about an internal error 290.
i would like to test the existance of the control to make a button visible or not. (without the control, they dont need a useless button .. people click everything they can click :rolleyes: ).
does anybody know how to get this work with 5.2.1 (which most of our customers still have running)
tried it with 6.2 and 6.0 .. but always zero.
but i don?t think that this is a "real" problem.
since i found the 6.2 bug, the office-parts are working well.
and all other controls have an ID.
[Migrated content. Thread originally posted on 23 December 2004]
I encountered a strange problem .. maybe the solution is easy, but i can?t find it.
I am using a mschart control to display some values. For this i use the control as part of a screen like this:
03 MSChart1 MSCHART
COL 2
LINE 4
LINES 35
SIZE 75
.
this works with runtime 5.2 and 6.x.
but if i try to test the existance of the control with a line like this:
create MSChart of @MSChart20Lib handle in mschart-handle.
it only works with runtime 6.x.
runtime 5.2.1 tells me about an internal error 290.
i would like to test the existance of the control to make a button visible or not. (without the control, they dont need a useless button .. people click everything they can click :rolleyes: ).
does anybody know how to get this work with 5.2.1 (which most of our customers still have running)
Hi gents,
happy new year!
First of all, do not use the CREATE verb to create instances of an ActiveX, which MSChart control is.
The CREATE verb should be used with COM only, not ActiveX.
Second, to my knowledge (and if anyone should now, I should :-) ), there are no known ActiveX bugs in 6.2, but there were some in 5.2.1.
Third, you try to create the control using a secondary interface, which you should not. Look for the tag PRIMARY-INTERFACE in the definition file, this is what you should use. E.g. in this case; Calendar, that is:
77 MyCalHandle HANDLE OF Calendar.
...
DISPLAY Calendar HANDLE IN myCalHandle.
I suggest you recreate the definition file using and AxDefGen for 6.2, recompile and post your example again if it still fails.