Results 1 to 7 of 7

Thread: load picture in image .. :-0

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    load picture in image .. :-0

    hy .. why is this not working :

    Image1.Picture = App.Path & "\pics\rot.jpg"

    ?? .. ahhrgg ..
    Old enough to know better,
    but young enough to don't give a ****!

  2. #2
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    if you set it at design time, does it display ok?
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    humm .. error .. ..something with Types

    and a Kompile-error!!
    Old enough to know better,
    but young enough to don't give a ****!

  4. #4
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    Originally posted by [DBH]Longbow
    humm .. error .. ..something with Types

    and a Kompile-error!!
    need a little more detail than that...
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    ok, (i work with the german version, and i can't translate the error ...

    Code:
    Private Sub Command2_Click()
    Image1.Picture = App.Path & "\pics\FlascheRot0057.jpg"
    End Sub
    German ERROR:

    "Fehler beim Kompilieren: Typen unverträglich"

    My translated version:

    Kompile error: types do not fit together ... ??



    sorry there is no Errornumber ..
    Old enough to know better,
    but young enough to don't give a ****!

  6. #6
    Addicted Member Pickler's Avatar
    Join Date
    May 2001
    Location
    nffanb
    Posts
    248
    Image1.Picture = LoadPicture(App.Path & "\pics\rot.jpg")

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    thx again!
    Old enough to know better,
    but young enough to don't give a ****!

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