One of our client was randomly having the ASP.net “The state information is invalid for this page and might be corrupt” error on the pages. The weird thing was that it seems to be random. After some testing, we finally found a pattern and ultimately were able find the root cause of the bug. Though […]
Embedding DLL and binary files in the Win32 Executable
Embedding DLL and binary files in the Executable applications Though for most of the cases, it’s recommended keep the resources and other libraries separate from the main executable. This makes the main application executable size small, and thus that application will take less memory on load and will load/unload the external resources as required. Yet […]
Convert long array to string array using anonymous delegates in C#
I was looking today for a simple technique to get a list of long array values as a comma separate string (something similar to what JavaScript does with arrays). I didn’t find any method of the Array and List objects to return that comma separated string. Just before I decided to implement it using the […]
Taskbar buttons reorder utility
Since the start of my professional career, I had always liked the taskbar buttons in the Windows Taskbar to be in a specific order. Like mostly, the first application in my taskbar is the MS Outlook, then my to-do list in notepad, and then applications I am working on (vary from time to time and […]