Click to See Complete Forum and Search --> : need mschart.ocx


stonezhang
May 9th, 2001, 07:53 AM
I can not find mschart.ocx in my computer (WinNT, VS 6.0). I only can find mschrt20.ocx.

what's the difference between these two ActiveX control. any if you happen to have mschart.ocx, would you please email to me.
stone.zhang@one2one.co.uk

Iouri
May 9th, 2001, 08:48 AM
I have VB6 SP5 on W98. I also have only mschrt20.ocx.

Iouri Boutchkine
iouri@hotsheet.com

stonezhang
May 9th, 2001, 08:57 AM
I change ur command_click code to

Private Sub Command1_Click()
Picture1.Picture = LoadPicture("d:/one2one/vb/c.bmp")
'Picture1.AutoRedraw = False
Picture1.ScaleMode = vbPixels
Call DrawPiePiece(QBColor(1), 0.001, 36)
Call DrawPiePiece(QBColor(2), 36, 55)
Call DrawPiePiece(QBColor(3), 55, 75)
Call DrawPiePiece(QBColor(4), 75, 99.999)
End Sub

then it work. just wonder is it neccessary to load a existing picture file first.