Programming Tools
Problem for Programming Tools
Generic problem for all Programming Tools

In visual basic how will we change the bac...




By stiny on Oct 06, 2008

" "
in this program we want to change the background color of the form by command button when we click on this it will change the bakground color.
everytime when we'll run the program it chose the different color.

Same Problem

Feb 25, 2009

-   I wanted to change the backcolor of a button , rnadomly, it should keep on changing-   priya1803

Solution #1

posted on Oct 11, 2008
Not Rated)

102713

Rank: Master 
Rating: 80%, 29 votes
Paste this code on you button. This generates a random color.

Red = Int(Rnd * 255)
Green = Int(Rnd * 255)
Blue = Int(Rnd * 255)


Form1.BackColor = RGB(Red, Green, Blue)

Was this helpful?
Yes
No

Popular Solutions for Programming Tools


Questions and Unsolved Problems for Programming Tools


Answer
where can I get a customer tool disk for a sharp xa-a41s??

Answer
what is the key to driver detective?

Answer
I have a lot of photographs in adobe 3.2. and I do not arrive to open this file they ask me for a... (More)

Answer
we have a 115u cpu 943b,stop light is flashing and basp is lit,we have no documentation ,any ideas

Answer
With downloading the WhiteSmoke 2010 All-inclusive package I do only get up to 47% of 100% when the... (More)


Didn't find what you were looking for?

Describe your Programming Tools problem:

Select a Category:







Ask our Experts

 

Solve Your Problem Now!
Chat Live with an Expert
Chat Now
Top Programming Tool Experts



Top Computer & Laptop Repairmen

(513) 874-3306
We fix and repair laptop motherboard no video, no...
LaptopOnCall Inc.

(952) 890-7770
Zkarlo.com provides discount and used laptop parts...
Zkarlo.com


       
Solve Your Problem Now!
Chat Live with an Expert
Chat Now

Insert Link
Insert Image
Insert You-Tube clip
Insert List
Insert List
Spell Check

What is this?



Select


close

Add to My Products

Add the things you own to your My Products collection and get product information, solutions to problems, manuals & guides, tips and how-to's, reviews & ratings and local repair service - all in one easy place.


Step 1: Select a category & subcategory

Appliances Cameras Cars Computers Electronics Home Audio TV & Videos Tools
Appliances Cameras Cars Computers Electronics Home Audio TV & Video Tools
 
Step 2: Select a product and click on add
I can't find my product

select

Cancel
close
Success!

Add another product
Close
close
Save This Product

Enter your email address

We will not share your email. Privacy Policy

I agree to the FixYa Terms of Use

 
Send to friends
Your name:
Your email:
Your friends email addresses: (e.g. Julie@email.com)
(Separate email adresses with commas)
Message:
Cancel