Click here to Skip to main content
15,916,846 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCreate listbox based on contents of table Pin
penguin500018-Apr-06 10:53
penguin500018-Apr-06 10:53 
AnswerRe: Create listbox based on contents of table Pin
Solid Snake18-Apr-06 11:01
Solid Snake18-Apr-06 11:01 
GeneralRe: Create listbox based on contents of table Pin
penguin500018-Apr-06 11:23
penguin500018-Apr-06 11:23 
GeneralRe: Create listbox based on contents of table Pin
Solid Snake18-Apr-06 11:40
Solid Snake18-Apr-06 11:40 
GeneralRe: Create listbox based on contents of table Pin
mr_1234518-Apr-06 13:36
mr_1234518-Apr-06 13:36 
GeneralRe: Create listbox based on contents of table Pin
mr_1234518-Apr-06 16:46
mr_1234518-Apr-06 16:46 
GeneralRe: Create listbox based on contents of table Pin
penguin500018-Apr-06 19:17
penguin500018-Apr-06 19:17 
QuestionUnique ramdomized numbers Pin
Solid Snake18-Apr-06 10:47
Solid Snake18-Apr-06 10:47 
i got the numbers 0 to 9 to place in rows and columns for a Sudoku Game, i have managed to code all i need exept for the unique numbers code. All the code is done in VB 6 becuse that is what my crappy school and budget can manage for licenses... >_<

the code for the Sudoku Game (form2 is only a credits window)
Option Explicit<br />
<br />
Private Sub Cmd_cred_Click()<br />
Form2.Visible = True<br />
End Sub<br />
<br />
Private Sub cmd_exit_Click()<br />
End<br />
End Sub<br />
<br />
Private Sub cmd_gen_Click()<br />
Dim a As Integer<br />
For a = 0 To 80<br />
Text1(a) = Int(Rnd * 2)<br />
If Text1(a) = 0 Then<br />
Text1(a) = ""<br />
End If<br />
Next<br />
Dim c As Integer<br />
For c = 0 To 80<br />
If Text1(c).Text = "1" Then<br />
Text1(c) = Int(Rnd * 10)<br />
End If<br />
Next<br />
Dim d As Integer<br />
For d = 0 To 80<br />
If Text1(d).Text = "0" Then<br />
Text1(d) = ""<br />
End If<br />
Next<br />
End Sub<br />
<br />
Private Sub cmd_reset_Click()<br />
Dim b As Integer<br />
For b = 0 To 80<br />
Text1(b) = ""<br />
Next<br />
Form1.BackColor = &HE0E0E0<br />
End Sub<br />
<br />
Private Sub Form_Load()<br />
Form1.BackColor = &HE0E0E0<br />
End Sub<br />


I have been using textboxes wit a control array for this progran
i hope you guys can help me
thanks in advance Smile | :)
AnswerRe: Unique ramdomized numbers Pin
Guffa18-Apr-06 12:56
Guffa18-Apr-06 12:56 
GeneralRe: Unique ramdomized numbers Pin
Solid Snake18-Apr-06 13:07
Solid Snake18-Apr-06 13:07 
AnswerRe: Unique ramdomized numbers Pin
Guffa19-Apr-06 2:24
Guffa19-Apr-06 2:24 
GeneralRe: Unique ramdomized numbers Pin
Solid Snake19-Apr-06 12:48
Solid Snake19-Apr-06 12:48 
AnswerRe: Unique ramdomized numbers Pin
Guffa20-Apr-06 7:16
Guffa20-Apr-06 7:16 
QuestionInternet Connection Status Pin
Devraj Raut18-Apr-06 10:12
Devraj Raut18-Apr-06 10:12 
AnswerRe: Internet Connection Status Pin
mr_1234518-Apr-06 13:13
mr_1234518-Apr-06 13:13 
GeneralRe: Internet Connection Status Pin
Devraj Raut18-Apr-06 22:25
Devraj Raut18-Apr-06 22:25 
QuestionDivisors Pin
Heart_Flame18-Apr-06 9:37
Heart_Flame18-Apr-06 9:37 
AnswerRe: Divisors Pin
Guffa18-Apr-06 10:08
Guffa18-Apr-06 10:08 
QuestionRe: Divisors Pin
Heart_Flame20-Apr-06 8:45
Heart_Flame20-Apr-06 8:45 
QuestionRegister Channel in WinXP SP2 Pin
Ali el18-Apr-06 8:56
Ali el18-Apr-06 8:56 
QuestionMsComm Buffer Pin
arunendra18-Apr-06 7:14
arunendra18-Apr-06 7:14 
AnswerRe: MsComm Buffer Pin
arunendra19-Apr-06 6:59
arunendra19-Apr-06 6:59 
QuestionComponentOne FlexGrid Pin
chitradash18-Apr-06 5:44
chitradash18-Apr-06 5:44 
AnswerRe: ComponentOne FlexGrid Pin
Suelinda_W1-Jun-06 8:23
Suelinda_W1-Jun-06 8:23 
Questionhow Pin
Mr kilany18-Apr-06 3:56
Mr kilany18-Apr-06 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.