To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier

Reply Post New Thread
 
Thread Tools Display Modes
Old Nov 20th, 2006, 11:59 AM   #1
csKanna
Hyperactive Member
 
csKanna's Avatar
 
Join Date: Dec 05
Location: Tech-Tips-Now.com
Posts: 321
csKanna is on a distinguished road (10+)
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.
csKanna is offline   Reply With Quote
Old Nov 20th, 2006, 12:07 PM   #2
cssriraman
Frenzied Member
 
cssriraman's Avatar
 
Join Date: Jun 05
Posts: 1,465
cssriraman has a spectacular aura about (125+)cssriraman has a spectacular aura about (125+)
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. Sub ChangeWallpaper()
  6.     SystemParametersInfo 20, 0, "", 1
  7. End Sub

Last edited by cssriraman; Nov 20th, 2006 at 12:15 PM.
cssriraman is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:29 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.