Print Page | Close Window

Visual basic line( )

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7376
Printed Date: 30 March 2026 at 3:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Visual basic line( )
Posted By: Gullanian
Subject: Visual basic line( )
Date Posted: 18 November 2003 at 7:03pm

Hey guys, sorry to be a pain

When you put this in a button press sub, it works fine:

Line (0, 0)-(100, 100), RGB(255, 0, 0)

However in the form_load subroutine it doesnt work!  anyone explain why, and a way to get around this?




Replies:
Posted By: michael
Date Posted: 19 November 2003 at 7:54am
I don't have VB6 installed here but did you try to put it in a Sub and call that Sub from the Form_load??

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Gullanian
Date Posted: 19 November 2003 at 10:09am
Tried it and it doesnt work



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net