Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...