Windows XP - desktop variable

Reply

Join Date: Nov 2004
Posts: 13
Reputation: kaiser<lucy> is an unknown quantity at this point 
Solved Threads: 1
kaiser<lucy> kaiser<lucy> is offline Offline
Newbie Poster

Windows XP - desktop variable

 
0
  #1
Jan 2nd, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 18
Reputation: demo is an unknown quantity at this point 
Solved Threads: 2
demo demo is offline Offline
Newbie Poster

Re: Windows XP - desktop variable

 
0
  #2
Jan 3rd, 2005
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!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 13
Reputation: kaiser<lucy> is an unknown quantity at this point 
Solved Threads: 1
kaiser<lucy> kaiser<lucy> is offline Offline
Newbie Poster

Re: Windows XP - desktop variable

 
0
  #3
Jan 3rd, 2005
thank you!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC