Results 1 to 2 of 2

Thread: Card Shuffler

  1. #1
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Card Shuffler

    I am attempting to create a VB application and part of that app requires that a standard deck of cards be shuffled and dealt, randomly. I found one site with code for randomly dealing 12 numbered cards without any suits or face cards involved. I couldn't figure out how to include non-numeric values in the array. I will need to assign each card dealt to a separate label or text box for use in other parts of the app. I had thought that I could use a data list or database containing the 52 cards but without knowing how to code the randomizer portion I wasn't sure I could use either of those for the data storage.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi-

    Which version of Visual Basic are you using. There are differences between VB6 and VB.NET 2003, for example.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

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