Search Results

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: setcho
Forum: Visual Basic 4 / 5 / 6 Jul 5th, 2009
Replies: 5
Views: 4,579
Posted By setcho
And a little bit simpler :)

Option Explicit

Private Sub Form_Click()
Form1.BackColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
End Sub
Forum: Visual Basic 4 / 5 / 6 Jul 4th, 2009
Replies: 5
Views: 4,579
Posted By setcho
Private Sub Form_Click()
Dim a As Long
Dim b As Long
Dim c As Long
Dim d As Long
a = randomise(0, 255)
b = randomise(0, 255)
c = randomise(0, 255)

d = a * b * c
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC