Windows API

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I am a high-school programmer trying to create a program that sets a pre
determined jpg to the windows desktop picture. I am using Python 2.3.4 as the
programming language and Windows XP as the OS. I would like to utilise an API
function, but right now, any method would help. I have already tried copying
a jpg file to the wallpaper1.bmp found in documents and settings... blah blah
blah.
Any help at all would be appreciated, Thanks
 
Are you sure you are doing something others have done before?
If you are not sure, check it on the internet first, or you may be called a
pirate.
 
Hi, I am a high-school programmer trying to create a program that sets a
pre
determined jpg to the windows desktop picture. I am using Python 2.3.4 as
the
programming language and Windows XP as the OS. I would like to utilise an
API
function, but right now, any method would help. I have already tried
copying
a jpg file to the wallpaper1.bmp found in documents and settings... blah
blah
blah.
Any help at all would be appreciated, Thanks

I am not familiar with Python.

Try going to: http://msdn.microsoft.com/vbasic/

Enter API in the search box {upper left} and click on Go. You will get some
MSDN documentation on API that may be of use to you.

Don
 
Hi, I am a high-school programmer trying to create a program that sets a
pre
determined jpg to the windows desktop picture. I am using Python 2.3.4 as
the
programming language and Windows XP as the OS. I would like to utilise an
API
function, but right now, any method would help. I have already tried
copying
a jpg file to the wallpaper1.bmp found in documents and settings... blah
blah
blah.
Any help at all would be appreciated, Thanks

To set the wallpaper to a specific setting for a user you need only place
the file ot some known loaction (one you set) and then update the users
registry key settings held in
HKEY_CURRENT_USER\Control Panel\Desktop

--

Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 
Back
Top