Search:

Type: Posts; User: chrispej

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    5,028

    Re: VB 6 - Combinatorics - Lottery Problem

    I updated the code a little for VB 2019, variant and list seemed to be retired....

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
    Dim A() As Object =...
  2. Replies
    14
    Views
    32,504

    Re: Generating Unique Combinations

    'An integer array to hold the set.
    Dim mySet() As Object = {1, 2, 3, 4, 5}
    'Get the unique combinations of numbers.
    Dim mySubsets As New List(Of List(Of Object))
    mySubsets =...
Results 1 to 2 of 2



Click Here to Expand Forum to Full Width