|
-
Nov 13th, 2001, 05:13 PM
#1
Thread Starter
Member
One simple l'ine of code stoppin prog to work!! Help!
Adding variable names!
i have this line of code in a vb app:
Picturebox1.Picture = LoadPicture("C:\Matt\Cards\" & RandomCardName & ".bmp")
i want it to load a picturefrom the file
C:\Matt\Cards\Filename.bmp
seen as this file will be randomly choen by an array and stored inthe variabe RandomCardName
now the code above looks for file
C:\Matt\Cards\.bmp
can anyone solve it?? heeeeeelp!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|