Results 1 to 4 of 4

Thread: OLE-Box - No Pic

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    7

    Exclamation OLE-Box - No Pic

    When you click on the button "Clickez Ici Pour Une Photo", you get an commondialog to select a picture you want to see with an sertain person, but

    But when I test this with an winMe or earlyer machine, i don't get the picture, I get the pictogram with the file name!!!

    And that's not what I want!!

    What do I have to change so that Win98 users can see the picture they have selected?

    Thx
    Attached Files Attached Files

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try using a picturebox instead:

    Set PictureBox1.Picture=Loadpicture(cmndlg.Filename)

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    7
    I didn't want to work with picturebox because of the format

    With a picturebox the picture is to much streched, and that's something you don't have with an ole-box

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You could use an ImageBox to control the streching instead if you want. I'm not familiar enought with the OLE control to help with that one sorry.

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