KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Need an example of Graphics with vbScript

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
rjdegraff
KiXforms Dabbler
KiXforms Dabbler


Joined: 12 Sep 2007
Posts: 8
Location: Winnipeg, Manitoba, Canada

PostPosted: Fri Oct 19, 2007 8:19 pm    Post subject: Need an example of Graphics with vbScript Reply with quote

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"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group