Results 1 to 3 of 3

Thread: Loadpicture

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Posts
    2

    Question Loadpicture

    I am new to graphic programming in visual basic so this question might sound kind of stupid to most of you.
    I want to randomly display a different picture in a certain location in my program.
    I appreciate any help you could give me.
    Thank you in advance.

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub Command1_Click()
    2.     Picture1.Picture = LoadPicture("C:\TEST.JPG")
    3. End Sub
    -= a peet post =-

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Posts
    2
    thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width