Click here to Skip to main content
15,917,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Vb.net text box Pin
Tom Deketelaere17-Aug-09 23:56
professionalTom Deketelaere17-Aug-09 23:56 
GeneralRe: Vb.net text box Pin
Christian Graus18-Aug-09 0:06
protectorChristian Graus18-Aug-09 0:06 
GeneralRe: Vb.net text box Pin
Tom Deketelaere18-Aug-09 0:12
professionalTom Deketelaere18-Aug-09 0:12 
GeneralRe: Vb.net text box Pin
Christian Graus18-Aug-09 1:27
protectorChristian Graus18-Aug-09 1:27 
GeneralRe: Vb.net text box Pin
rrrriiizz18-Aug-09 0:50
rrrriiizz18-Aug-09 0:50 
GeneralRe: Vb.net text box Pin
Tom Deketelaere18-Aug-09 1:31
professionalTom Deketelaere18-Aug-09 1:31 
QuestionI need your help desperately on Crystal report [modified] Pin
Dambod17-Aug-09 22:56
Dambod17-Aug-09 22:56 
QuestionHow we Use XtraChart? Pin
faravani17-Aug-09 21:54
faravani17-Aug-09 21:54 
AnswerRe: How we Use XtraChart? Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
QuestionHow to get winpadlock.ocx as free for VB Pin
vasanth arivali17-Aug-09 21:30
vasanth arivali17-Aug-09 21:30 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Dave Kreskowiak18-Aug-09 2:12
mveDave Kreskowiak18-Aug-09 2:12 
Questionneed help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 15:01
vblearner0917-Aug-09 15:01 
AnswerRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 15:31
protectorChristian Graus17-Aug-09 15:31 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:20
vblearner0917-Aug-09 16:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:28
protectorChristian Graus17-Aug-09 16:28 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:34
vblearner0917-Aug-09 16:34 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:50
protectorChristian Graus17-Aug-09 16:50 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 17:57
vblearner0917-Aug-09 17:57 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 19:20
protectorChristian Graus17-Aug-09 19:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0918-Aug-09 7:59
vblearner0918-Aug-09 7:59 
QuestionVariable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:43
professionalAaron @ Think Software17-Aug-09 14:43 
I have a loop at the moment that creates a number loop that is 5 deep, each number in a sequence can only be used once...for example

12345
12354
12435
54321 etc...

Here is what i have for the code creating this sequencing...

SortOrder = New List(Of Integer())

Dim iTemp(PanelDepth) As Integer, iCount As Integer = 0

For a As Integer = 0 To PanelDepth - 1
    For b As Integer = 0 To PanelDepth - 1
        If b <> a Then
            For c As Integer = 0 To PanelDepth - 1
                If c <> b And c <> a Then
                    For d As Integer = 0 To PanelDepth - 1
                        If d <> c And d <> b And d <> a Then
                            For e As Integer = 0 To PanelDepth - 1
                                If e <> d And e <> c And e <> b And e <> a Then

                                    ReDim iTemp(PanelDepth)

                                    iTemp(0) = a
                                    iTemp(1) = b
                                    iTemp(2) = c
                                    iTemp(3) = d
                                    iTemp(4) = e

                                    SortOrder.Add(iTemp)

                                End If
                            Next
                        End If
                    Next
                End If
            Next
        End If
    Next
Next


my dilemma is that i need it to be variable on the depth of the sequencing, so for example i might need it to calculate 9 deep, so 123456789, or even more 10/11 sometimes, but i am having trouble coming up with a way to do this, anyone got some ideas that i could try to get it to loop through and still create individual number sets for a n deep sequence?

ta.
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Christian Graus17-Aug-09 14:56
protectorChristian Graus17-Aug-09 14:56 
GeneralRe: Variable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:59
professionalAaron @ Think Software17-Aug-09 14:59 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 15:38
professionalAaron @ Think Software17-Aug-09 15:38 

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.