Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Changing windows desktop background from VB.Net application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mf_sina - 16 Aug 2005 16:46 GMT
Hi!

is it possible to change the windows background file or screensaver timeout
or screensaver itself from a vb.Net form (myForm1)
i think it must be possible but i don't know the way.
by the way i need to open control panel applets from within my VB.Net
application. how can i do it?

i appreciate if someone can help me in doing that things.

best wishes...
Metallikanz! - 16 Aug 2005 18:12 GMT
I don't think the there's any type in the FCL that allows you to do it
directly, you'll have to "PInvoke" and call the SystemParametersInfo Win32
API call passing SPI_SETDESKWALLPAPER as the accessibility parameter. You
can also use the SPI_SETSCREENSAVEACTIVE accessibility parameter for the
same function to manipulate screensavers.

HTH, Metallikanz!

> Hi!
>
[quoted text clipped - 7 lines]
>
> best wishes...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.