Results 1 to 2 of 2

Thread: using *.jpg files to change the wallpaper

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    egypt
    Posts
    25

    Talking

    i develop an project but i stoped at a point that using systemparametersinfo function i must use *.bmp files
    even if i am at active desktop mode i can simulate what windows do exactly but the .jpg image didn't appeared unless i refreshed the desktop manually
    now you must solve my proplem even by converting *.jpg files to *.bmp files
    or any other
    please if you do not know ask your friend and reply me
    and i will thank you or i will thank you also
    thank you

    [email protected]

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    To convert a JPEG file into a BMP simply load the JPEG into a PictureBox and use this code to save it:
    Code:
    SavePicture Picture1.Image, "c:\MyPic.bmp"
    Good luck!

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