گزارش گیری از تاریخ

select * from Orders
where orderDate='1996-07-4'
go

select * from Orders
where orderDate between '1996-07-4' and '1997-07-4'

Date Between 't' AND 't2'

Reset کردن explorer

System.Diagnostics.Process.Start("explorer.exe")

جلوگیری از خاموش شدن سیستم

Static masir As String = "software\microsoft\windows\currentversion\policies\explorer"
Dim regeditkey As RegistryKey
regeditkey = Registry.CurrentUser
regeditkey = regeditkey.CreateSubKey(masir)
regeditkey.SetValue("NoClose", 1, RegistryValueKind.DWord)


System.Diagnostics.Process.Start("explorer.exe")