Solved

Set wallpaper to NONE?

Posted on 1998-01-22
1
265 Views
Last Modified: 2008-03-06
Hello!
I am using the API-call SystemParametersInfo to change Windows´ wallpaper.
How can I set it to none?
I have tried "", but it doesn´t work.
0
Comment
Question by:martinag
1 Comment
 

Accepted Solution

by:
dpms earned 100 total points
ID: 1452888
Here's an example, notice that the "None" is in parens!!!!

 X = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0&, "(None)",
       SPIF_UPDATEINIFILE Or SPIF_SENDWININICHANGE)

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now