View Full Version : Card Shuffler

04-02-2005, 03:35 AM
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.

04-02-2005, 08:54 AM

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