VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

View a playing card using VBCARDS.OCX

Patrick K. Bigley  (14 Submissions)   Games   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Simple code shows how to display any playing card image using the VBCRADS.OCX.

Assumes
Create a form (Form1) Create a command button control (Button1) Create an image control (Image1) Create a label control (Label1) Create a VBCARDS control (Deck1) A free copy of the VBCARDS OCX control can be downloaded at http://bargainbd.com/opusopus/vbcards.htm or http://www.geocities.com:80/SiliconValley/Grid/7284/cardocx1.zip Don't crowd the screen with the controls, space them neatly

Returns
Returns an image of a playing card.

Side Effects
Takes a second or two for the OCX file to load into VB

API Declarations
Global CountCard As Long

Rate View a playing card using VBCARDS.OCX (108(108 Vote))
View a playing card using VBCARDS.OCX.bas

View a playing card using VBCARDS.OCX Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters