Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Random wallpaper harvester

by strat (Canon)
on Mar 19, 2007 at 08:08 UTC ( #605440=note: print w/replies, xml ) Need Help??


in reply to Random wallpaper harvester

Btw: if you want to set a background image under Win32 (tested with WinXP), you could use something like the following code:

use Win32::API; use constant SPI_SETDESKWALLPAPER => 20; use constant SPIF_UPDATEANDSENDINI => 3; my $image = "c:\\images\\image.bmp"; my $syspinf = Win32::API->new('user32','SystemParametersInfo', [ qw(I I P I) ], 'I') or die "Could not import function.\n"; $syspinf->Call(SPI_SETDESKWALLPAPER, 0, $image, SPIF_UPDATEANDSENDINI) +;

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://605440]
help
Chatterbox?
[abner]: I am seeking suggestion of how to substitute "Yes" or "No" for "1" or "0" when displaying data from mysql table.
[abner]: I was thinking something like: If $data1 == '1' {$answer = "Yes"}

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-01-25 02:09 GMT
Voting Booth?
Do you watch meteor showers?




Results (213 votes). Check out past polls.