Monday, September 17, 2007

How to show screen saver in VB.NET

Found this on
Very easy and very good indeed.

Dim regkey As Microsoft.Win32.RegistryKey
regkey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Control Panel\Desktop")
Dim Prs As New Process
Prs.StartInfo.FileName = regkey.GetValue("SCRNSAVE.EXE").ToString

Enjoy IT!

SOLID Principle

S.O.L.I.D stands for: When expanded the acronyms might seem complicated, but they are pretty simple to grasp. S - Single-responsiblity...