Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > colors


Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2003, 03:09 PM
marvintyke marvintyke is offline
Freshman
 
Join Date: Apr 2003
Location: Great Britain
Posts: 46
Question colors


what is the code for colour green?
Reply With Quote
  #2  
Old 05-21-2003, 03:11 PM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,883
Default

vbGreen
Reply With Quote
  #3  
Old 05-21-2003, 05:31 PM
ViSioN's Avatar
ViSioN ViSioN is offline
Centurion
 
Join Date: Apr 2003
Location: Ontario, Canada
Posts: 136
Default

or you could use RGB(0,255,0)
both work just as well
__________________
(Please correct me if I'm wrong.. I'm dumb)
Reply With Quote
  #4  
Old 05-21-2003, 05:33 PM
YuanHao's Avatar
YuanHao YuanHao is offline
Contributor
 
Join Date: Feb 2003
Location: Outer Heaven
Posts: 552
Default

RGB is a function call, so better stay with vbGreen.
__________________
Tenshi — through the Blue Sky
Reply With Quote
  #5  
Old 05-21-2003, 07:52 PM
ViSioN's Avatar
ViSioN ViSioN is offline
Centurion
 
Join Date: Apr 2003
Location: Ontario, Canada
Posts: 136
Default

i guess it depends on what he wants to do with it right? anyways, there should be enough information here marvintyke to figure it out
__________________
(Please correct me if I'm wrong.. I'm dumb)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting and Saving system colors Jdo300 File I/O and Registry 6 04-06-2003 10:19 PM
Colors nighthawk General 5 04-03-2002 07:34 PM
displaying multiple colors in Excel mdobson Word, PowerPoint, Outlook, and Other Office Products 0 11-20-2001 01:05 AM
flashing colors program wanna_b_vber General 6 06-04-2001 12:03 AM
How to make random colors stop?? yellowraider General 1 04-10-2001 09:52 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->