VB.net

VB.net Images in SQL

Writing image to SQL, reading image from SQL
https://www.codeproject.com/Articles/437937/Save-and-Retrieve-Image-from-a-SQL-Server-Database

VB.net Stop String at Character

Stop String at Character
Dim timeStr = stringArr(arrIndex).IndexOf(" ")

WMI Command Prompts

WMI Command Prompts
https://msdn.microsoft.com/en-us/library/aa822854(v=vs.85).aspx
Enable:
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
Disable:
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=no

VB.net Replace Character in String

Replace word or character in string
txt.Text = txt.Text.Replace("'", ControlChars.Quote)

VB.net Color DGV

When coloring DGV, header backcolor:
Pasted Graphic