Coding

Came across a script I wrote some time ago. Sitting there in my user directory was patch.cmd. As I find my scripts, I’m putting them in Git for historical purposes… and for a good laugh. What in the actual fuck are you, patch.cmd? –Rich One thing I learned;  document the damn things.  I had no…

Read More Forgotten Scripts

This snippet of code worked when tested in VB.NET application I’m working on. It will set the User Agent string for the duration of the control. Private Property uag As String = Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko _ Private Shared Function UrlMkSetSessionOption(ByVal dwOption As Integer, ByVal pBuffer As String, ByVal dwBufferLength…

Read More Change User-Agent in WebBrowser Control