Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Visual Basic: Random Strings!
iGuest
post Apr 20 2008, 10:09 AM
Post #11


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



help with selecting random pictures
Visual Basic: Random Strings!

Please could someone help with the following question

I'm new to VB and need help, My problem is that I need to know how I can write the correct code which enables a button when each time it is pressed, it randomly selects a picture from 6 different pictures and show this on the screen. The pictures are bmp and would be stored on the pc - I have for now put them in c:\pictures location with the file names 1.Bmp 2.Bmp etc...

I am unsure how to write the correct code to select the pictures at random from the file.


-question by steve
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. [visual Basic] How To Confirm A Array Is Null(6)
  2. Visual Basic Help(5)
  3. Visual Basic: Replace Explained!(4)
  4. Visual Basic: Unload Your Application Correctly!(1)
  5. Visual Basic: Change Your Start Button Text! (XP)(16)
  6. Visual Basic 6 + Crystal Reports 9(6)
  7. Visual Basic Names(11)
  8. New Features In Visual Studio 2005 Windows Forms(1)
  9. Visual Basic.NET Help Needed.(7)
  10. Is There A Free IDE For VB.NET Programming?(4)
  11. Visual Basic Express Tutorials(5)
  12. [help] Visual Studio .net 2005 Questions(8)
  13. Installed Internet Explorer 7?, Visual Basic Now Broken?(3)
  14. Visual Basic Projects: Scoreboard(0)
  15. Delete A Registry Subkey And Key(8)
  1. Necklace Problem In Visual Basic(3)


 



- Lo-Fi Version Time is now: 7th September 2008 - 07:18 AM