I am using VB5 and my operating system is W98 SE.
I have some applications under development, in which I need to display a graphic representation of data. I can do this quite easily, using the PictureBox control, and by using things like PictureBox.Line [data]. However, I can’t output the resultant ‘graph’ to the printer, as Printer.PaintPicture PictureBox gives an error message saying that only Bitmaps etc embedded in the picture box control are valid. To get round this, I seem to have to write a separate routine for printing in which I substitute the code PictureBox.Line [data] with Printer.Line [data] …etc. Am I missing something obvious here?
Also, I have been using a very good book called Visual Basic 5 Interactive Course (Waite Group Press) to get some good tips to help with my projects. This states that there is a very useful custom control called GRAPH in VB5 (this appears to be quite different from the MS CHART control). The information further states that I should be able to find it in Project components under the name of Pinnacle BPS Graph control – however it does not appear to be there. Any ideas?
All help will be gratefully received and acknowledged.
STEPHEN CHEEK
I have some applications under development, in which I need to display a graphic representation of data. I can do this quite easily, using the PictureBox control, and by using things like PictureBox.Line [data]. However, I can’t output the resultant ‘graph’ to the printer, as Printer.PaintPicture PictureBox gives an error message saying that only Bitmaps etc embedded in the picture box control are valid. To get round this, I seem to have to write a separate routine for printing in which I substitute the code PictureBox.Line [data] with Printer.Line [data] …etc. Am I missing something obvious here?
Also, I have been using a very good book called Visual Basic 5 Interactive Course (Waite Group Press) to get some good tips to help with my projects. This states that there is a very useful custom control called GRAPH in VB5 (this appears to be quite different from the MS CHART control). The information further states that I should be able to find it in Project components under the name of Pinnacle BPS Graph control – however it does not appear to be there. Any ideas?
All help will be gratefully received and acknowledged.
STEPHEN CHEEK