devxlogo

Tip Bank

Using the Guard Mechanism in Multi-Threaded Applications

Using the guard mechanism in multi-threaded applications instead of explicit Lock and Unlock instructions can save you from a number of undesirable synchronization problems. Developers writing multi-threaded applications often fall

A Handy Way to Use Notepad for Logging

Notepad has a little-known feature that lets you use it to keep a personal timestamped log of records easily. To try it, create a new text document by right clicking

Method to Release COM Object References

This method releases COM object references, such as references to an Excel application or Workbook object, etc. Pass the object you want to release to the method. private void NAR(object