Results 1 to 1 of 1

Thread: Calling an image from file isn't working. (Resolved)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Resolved Calling an image from file isn't working. (Resolved)

    VB Code:
    1. PictureBox1.Image = Image.FromFile(Application.StartupPath & DiceRollResults(1) & ".gif")

    I think the problem is in the diceResult(2) part of the code. I can not remember how this is calling the image by name. The name of the image is 1d6black[1].gif

    I confused myself, maybe with some questions I can check where to look.

    Thanks in advance

    EDIT:

    Go it, i have the file name before the number not called.
    Last edited by gjon; Feb 1st, 2005 at 11:58 AM.

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