CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: counter

  1. #1
    Join Date
    Jan 2000
    Posts
    6

    counter

    i need help making a counter for this

    chkBoxValues(0) = 0
    chkBoxValues(1) = 0
    chkBoxValues(2) = 0
    chkBoxValues(3) = 0
    chkBoxValues(4) = 0
    chkBoxValues(5) = 0
    chkBoxValues(6) = 0
    chkBoxValues(7) = 0
    chkBoxValues(8) = 0
    chkBoxValues(9) = 0
    chkBoxValues(10) = 0
    chkBoxValues(11) = 0




  2. #2
    Join Date
    Nov 1999
    Location
    Italy
    Posts
    80

    Re: counter

    Please be more specific.

    Something over there is coding....
    ... and you don't know!

  3. #3
    Join Date
    Jan 2000
    Posts
    6

    Re: counter

    chkBoxValues 0-11 have to equal 0 is there a way to shorten the code


  4. #4
    Join Date
    Nov 1999
    Location
    Italy
    Posts
    80

    Re: counter


    private sub ...()
    dim i as integer

    for i = 0 to 11
    chkBoxValues(i) = 0
    next i
    end sub




    Something over there is coding....
    ... and you don't know!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured