Results 1 to 5 of 5

Thread: import an image

  1. #1

    Thread Starter
    Junior Member RepoBounty's Avatar
    Join Date
    Jun 2002
    Location
    ILLINOIS
    Posts
    23

    import an image

    how can i import an image? i want to make a simple slid show that will have a Back & Next Button.

    Is there a sample i can look at?

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    YOu can use this line to load a .bmp file to an image controll....

    VB Code:
    1. Image1.Picture = LoadPicture("E:\dagbla.bmp")

  3. #3

    Thread Starter
    Junior Member RepoBounty's Avatar
    Join Date
    Jun 2002
    Location
    ILLINOIS
    Posts
    23
    Thanks

  4. #4

    Thread Starter
    Junior Member RepoBounty's Avatar
    Join Date
    Jun 2002
    Location
    ILLINOIS
    Posts
    23
    It did not seem to work. i am going to post in the correct form since I Am Using vb.NET

  5. #5
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Do that, because it works in VB6 i checked....but you are sure that you had a image controll called image1 ont he form, and a picture in e:\dagbla.bmp when you tested it...or if you changed it to something else, you are sure that you did put a valid path???

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