AndyAlexander Posted January 22, 2003 Posted January 22, 2003 I'm trying to set the wallpaper on my desktop using vb .net and just cannot seem to get it working. I've looked at some code posted elsewhere for vb6 but this doesn't seem to work in .net. The function suggested is [systemParametersInfo] but no luck as yet. Any suggestions TIA Andy PS Machine is W2k Quote
*Gurus* divil Posted January 22, 2003 *Gurus* Posted January 22, 2003 If you post the code you are trying to convert here, we will try and help you. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
AndyAlexander Posted January 22, 2003 Author Posted January 22, 2003 Divil, thanks for the reply. I tried a different tack. Using the type lib from http://www.domaindlx.com/e_morcillo/scripts/type/default.asp I tried the IActiveDesktop interface to the active desktop. This lets me either enable the activedesktop and use a JPG, or use the normal desktop mode and a .bmp. Reading a document on the desktop properties it seems that to use a JPG you must have activedesktop enabled; hence my problem. Thanks Andy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.