Kalkran

01-22-2005, 08:52 AM

Hi All

I've got a slight problem with the SavePicture function, I have made a simple Graph drawing program in VB, it uses the line and PSet functions to draw the coordinates. It works real good, but I can't save the graph. My code for saving

SavePicture Graph.Picture, "C:\temp.bmp" This says Invalid picture, and when I hover my mouse above the Graph.Picture part, it says Graph.Picture = "0"... Can someone tell me how I can save my Graph???

Kalkran

PS Hope I gave all the info necessary to solve my problem

I've got a slight problem with the SavePicture function, I have made a simple Graph drawing program in VB, it uses the line and PSet functions to draw the coordinates. It works real good, but I can't save the graph. My code for saving

SavePicture Graph.Picture, "C:\temp.bmp" This says Invalid picture, and when I hover my mouse above the Graph.Picture part, it says Graph.Picture = "0"... Can someone tell me how I can save my Graph???

Kalkran

PS Hope I gave all the info necessary to solve my problem