Results 1 to 2 of 2

Thread: [RESOLVED] Set desktop wall paper and screensaver options

  1. #1

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Resolved [RESOLVED] Set desktop wall paper and screensaver options

    Hi,

    I want to set Desktop Wall paper to "None" and Screen Saver to "3D Text" through VB.

    Please help me on this.

    Thanks in advance.

    Kanna.

  2. #2
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Re: Set desktop wall paper and screensaver options

    VB Code:
    1. 'To set wall paper to none.
    2. Private Declare Function SystemParametersInfo Lib "user32" Alias _
    3.     "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, _
    4.     ByVal lpvParam As String, ByVal fuWinIni As Long) As Long
    5.  
    6. Sub ChangeWallpaper()
    7.     SystemParametersInfo 20, 0, "", 1
    8. End Sub
    Last edited by cssriraman; Nov 20th, 2006 at 01:15 PM.
    CS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width