Mouse drag and drop fails

Fix problem with drag and drop not working in Windows. Have you encountered the problem in which you can no longer drag and drop files and folders in Windows Explorer (if you are using Windows 7) or File Explorer (if you are using Windows 10 or Windows 8.1)?

You can click and right click on files and folders, you can select files and folders, but you can’t drag and drop them anymore. We’ve encountered this issue ourselves and after searching for many possible solutions, we’ve found one which should work in most cases. Here’s how to restore the drag and drop feature in a couple of seconds:

Continue reading Mouse drag and drop fails

Convert between Local Time and UTC or Zulu time

Here is some visual basic code for you!
You receive a ZULU time and want to store it in your local time?

Dim MyZulu As New Date(year,month,day,hr,min,sec,DateTimeKind.Utc)
Dim MyLocal As DateTime = MyZulu.ToLocalTime()

Or is someone or some API asking you for the next format in return, and all you have is a DateTime with your local time in it?

*UTC + offset as (YYYY-MM-DDThh:mm:ss+hh:mm)
Continue reading Convert between Local Time and UTC or Zulu time

System.NullReferenceException: ‘Object reference not set to an instance of an object.’

A happy error while coding in visual basic, vb.net
It is not the line where you get this error, but something that happened before, that made one of your variables invalid and unusable.

Read this. (@ NullReference Exception — Visual Basic)

Continue reading System.NullReferenceException: ‘Object reference not set to an instance of an object.’

Descending Sort Order Thunderbird

I prefer my most recent emails at the top of the list. Unfortunately Thunderbird (and many other mail clients) do this different.
So how do I change the default sort order?
Change the advanced options!

If you want to sort all mail by DateDescending (newest at top), change the preferences in the config editor to:

mailnews.default_sort_order:    default     integer      2
mailnews.default_sort_type:     default     integer     18

So, what does that 2 stand for? And why 18?

Continue reading Descending Sort Order Thunderbird