473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

VB Color Question

I have an Access database that I use for my invoicing. I have different color codes that are used for the different shipping methods. I have a dark green that is used for one of my colors, but it is too close to black, and the shipping dept. misses it. The color code is 32768 for this dark green. I still need green, but it need it to be much brighter. Can anyone help me figure out the color coding, so i can get a brighter color?
Feb 5 '07 #1
1 1146
willakawill
1,646 1GB
Hi, here is the vb example of how to use the RGB() function.
Expand|Select|Wrap|Line Numbers
  1. Dim RED, I, RGBValue, MyObject
  2. Red = RGB(255, 0, 0)   ' Return the value for Red.
  3. I = 75   ' Initialize offset.
  4. RGBValue = RGB(I, 64 + I, 128 + I)    ' Same as RGB(75, 139, 203).
  5. MyObject.Color = RGB(255, 0, 0)   ' Set the Color property of 
  6.    ' MyObject to Red.
bright green is RGB(0,255,0)
Feb 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jim M M | last post by:
Hello Everyone, QUESTION #1 I am working on a timer. I have the following code which works kind of OK. If Form1.WindowState = 1 Then Form1.WindowState = 0 The problem is that if the user...
14
by: mr_burns | last post by:
hi, i am tryin to alter the color of my scroll bars on a site i am workin on. the site is oarsome.martynbissett.co.uk, to access the css style sheet, type in...
19
by: Vinod | last post by:
Hi, I have got a peculiar requirement. I want to distinquish between the color codes. I have got two text fields and i will enter the color codes there. The first text field will have ...
11
by: Yeah | last post by:
I have a multiple choice quiz where I would like to use CSS to change the color of the answers upon clicking them. I would like to present the right and wrong answers up front, rather than direct...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
4
by: Sami | last post by:
Hello, I just started out with Windows.Forms and was going through the MS tutorials. In the tutorial where you can create a non-rectangular shaped window by using your own window painted with...
1
by: Patrick.O.Ige | last post by:
Any ideas how to have users select different color for a website in ASP.NET? Any artticles would be appreciated!
8
by: Chad | last post by:
Should links automatically appear in the "visited" color as defined by the user's IE settings without having to add any special coding? I have a situation where the link was not changing color...
2
by: Eric | last post by:
When i bound the other form in my main form. The whole first subform area is covered with white color. But when i bound another form its not shows the whole area in white color. Why my one subform...
6
by: AAaron123 | last post by:
I'm using the CreateUserWizard Web Server Control The error message when the passwords do not match is colored red. Red does not show well against my background so I like to change that color. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.