Joined: 12 Sep 2007
Location: Winnipeg, Manitoba, Canada
|Posted: Fri Oct 19, 2007 8:19 pm Post subject: Need an example of Graphics with vbScript
|Forgive me for heresy, but I use KixForms.Net exclusively through vbScript. Does anyone have a simple example of doing graphics via vbscript? All the examples I see use kixtart and when I try
Bitmap = System.Bitmap.FromSize(PictureBox.Size)
Graphics = System.Graphics.FromImage(Bitmap)
where PictureBox is a like-named control, I get
C:\test.vbs(42, 1) Microsoft VBScript runtime error: Invalid procedure call or argument: 'Graphics.FromImage'
I just need a starting point like "draw a line from one point to another"