943,431 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Unsolved
  • Views: 10791
  • Perl RSS
Jan 2nd, 2005
0

Windows XP - desktop variable

Expand Post »
hey all,

im trying to write a perl program that will change the desktop background. I dont have much (read: any) background in working with windows environment variables, and am hoping that desktop image location is in fact one of these variables.

any advice on how to reference and edit these variables would be appreciated.

TIA
mukul

edit: this is in windows XP
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
kaiser<lucy> is offline Offline
13 posts
since Nov 2004
Jan 3rd, 2005
0

Re: Windows XP - desktop variable

Hi

You can do this with in Perl with Win32::API or with Win32::OLE using the object wscript!

Using Win32::OLE will allow you to change the background image without the need to a shut down! Win32::API will also allow for this, but unless you import 'Kernel32.dll' into your API, you will have to reboot for desktop image changes!

J!
Reputation Points: 10
Solved Threads: 2
Newbie Poster
demo is offline Offline
18 posts
since Jan 2005
Jan 3rd, 2005
0

Re: Windows XP - desktop variable

thank you!
Reputation Points: 10
Solved Threads: 1
Newbie Poster
kaiser<lucy> is offline Offline
13 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: How to add printing features
Next Thread in Perl Forum Timeline: perl for win98 were do i start





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC