Tuesday, March 31, 2020

How to Stop Network Activity from Waking Your Windows PC

Run Windows Device Manager. To open it, press the Win + R keyboard combination, type “devmgmt.msc”. See https://www.howtogeek.com/170716/how-to-stop-network-activity-from-waking-your-windows-pc/ for more details.

Under Network adapters, find the appropriate adapter, select Properties, Power Management, unclick "All this device to wake the computer"


Monday, March 23, 2020

Removing empty lines in text using Visual Studio

Click ctrl-H to bring up the search window
Click: Use Regular Expressions
For the search term, put in: ^(?([^\r\n])\s)*\r?$\r?\n
For the replace term, delete everything

Thanks to https://stackoverflow.com/questions/12453160/remove-empty-lines-in-text-using-visual-studio

Horizontal Scrolling for Code

Horizontal scrolling can be obtained by using a tag as follows using  style="overflow: auto;"          Dim   connStr   As   Stri...