Home > Archive > Cobol > November 2004 > AcuCobol MSChart
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Martje 2004-11-23, 3:55 pm |
| Hi,
I want to use MS Chart within my cobol program, but don't know where to start.
Who've got an example program for me, so i can learn more about this.
Thanx
| |
| Cheesle 2004-11-23, 3:55 pm |
| > I want to use MS Chart within my cobol program, but don't know where to
start.
> Who've got an example program for me, so i can learn more about this.
It is pretty straight forward.
Provided you have your definition file readily at hand (mschart.def) and a
valid license;
IDENTIFICATION DIVISION.
PROGRAM-ID. Chart1.
AUTHOR. Cheesle.
REMARKS.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
COPY "MSCHART.DEF".
| |
| Martje 2004-11-24, 8:55 am |
| Thanx Cheesle !
I've tested it, and everything is working! And most important, i
understand your sample program.
I only have one more question about this issue.
Instead of MSCHART.DEF, i used MSCHRT20.DEF (I don't know if they are
the same), but when i test the program on a computer (Windows 98)
where i didn't install the visual basic program (i only downloaded
from the microsoft site the runtime for VB6), the program is not
working, and i'll get an error creating ActiveX control.
Purhapse, do you know what to download more, so i can get this program
working on every computer, whitout installing a complete program for
VB6? Or purhapse, must i use the standard MSCHART.DEF instead of the
MSCHRT20.DEF i've used? And if so, where can i find the correct
version of MSCHART.DEF
Thanx again!
| |
| Cheesle 2004-11-24, 3:55 pm |
| What you need to add is a license. One way to get that is to get it is to
upgrade to version 6.2 of ACUCOBOL-GT.
Another one is to get a utility from MSDN (Licreqst.exe) which you can use
on the machine of which you have Visual Basic installed and then execute and
get the license key that way.
| |
| Martje 2004-11-27, 3:55 pm |
| Thanx Cheesle !
I've tested it, and everything is working! And most important, i
understand your sample program.
I only have one more question about this issue.
Instead of MSCHART.DEF, i used MSCHRT20.DEF (I don't know if they are
the same), but when i test the program on a computer (Windows 98)
where i didn't install the visual basic program (i only downloaded
from the microsoft site the runtime for VB6), the program is not
working, and i'll get an error creating ActiveX control.
Purhapse, do you know what to download more, so i can get this program
working on every computer, whitout installing a complete program for
VB6? Or purhapse, must i use the standard MSCHART.DEF instead of the
MSCHRT20.DEF i've used? And if so, where can i find the correct
version of MSCHART.DEF
Thanx again!
| |
| Cheesle 2004-11-29, 3:55 pm |
| What you need to add is a license. One way to get that is to get it is to
upgrade to version 6.2 of ACUCOBOL-GT.
Another one is to get a utility from MSDN (Licreqst.exe) which you can use
on the machine of which you have Visual Basic installed and then execute and
get the license key that way.
|
|
|
|
|