corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Visual Basic help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Visual Basic help
Andy_sxi
Member

Registered: 28th Aug 04
Location: West Midlands Drives: 1.2 16v SXi
User status: Offline
   26th Apr 07 at 13:03   View User's Profile U2U Member Reply With Quote

Hi is anyone good at visual basic? Im using visual basic 6.0 and need some help as im stuck. Could you u2u me if you are able to help.

Thanks
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
26th Apr 07 at 15:05   View Garage View User's Profile U2U Member Reply With Quote

Just post the problem.
Andy_sxi
Member

Registered: 28th Aug 04
Location: West Midlands Drives: 1.2 16v SXi
User status: Offline
26th Apr 07 at 15:16   View User's Profile U2U Member Reply With Quote

Ok, well I need to know how to deal random cards to four labels on a form.
Dom
Member

Registered: 13th Sep 03
User status: Offline
26th Apr 07 at 16:42   View User's Profile U2U Member Reply With Quote

Random cards? i take it you're making a card game?
JamesMG
Member

Registered: 14th Nov 06
Location: Newcastle-under-Lyme, Staffordshire
User status: Offline
26th Apr 07 at 20:34   View User's Profile U2U Member Reply With Quote

you goin to have to be more specific tbh.. how far have u got? any errors? what controls are you using.. etc

theres a random number generator function in vb.. cant remember the syntax off top of me head but you should be able to google it

after you got a random number ull need to check that card hasnt been drawn before.. easiest way would be to assign each card an id from 1 to 52 then store the dawn cards in an array and check each time if it has been used before if so generate again

once you have done that its a case of changing the labels to the variables and perhaps calling a picture based on the random number

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
vb code jaffa Geek Day 12 1350
14th May 03 at 12:06
by jaffa
 
Nebody good at visual basic?? Happy_2008 Geek Day 4 898
16th Apr 04 at 22:43
by Happy_2008
 
Computers geeks look in here Sam Geek Day 8 1011
7th May 05 at 15:46
by Sam
 
Visual Basic Help Andy_sxi Geek Day 6 713
5th May 06 at 23:51
by James
 
Visual Basic stubs Geek Day 3 694
24th Oct 06 at 10:12
by James
 

Corsa Sport » Message Board » Off Day » Geek Day » Visual Basic help 29 database queries in 0.0065529 seconds