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
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



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

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Nov 20th, 2006, 12:59 PM   #1
csKanna
Hyperactive Member
 
csKanna's Avatar
 
Join Date: Dec 05
Location: Tech-Tips-Now.com
Posts: 318
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, 01: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 01: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 Search this Thread
Search this Thread:

Advanced Search
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 02:36 PM.




To view more projects, click here

Acceptable Use Policy


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.