Helixoft

Helixoft Blog

Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation

Archive for March, 2006

How To Use TRACE In VS

Monday, March 27th, 2006

I must say that I ignored Trace object and TRACE compilation constant for long time. I've been only using Debug object and DEBUG constant for debugging purposes.
Recently, one user of our VBdocman .NET encountered strange problem which I couldn't reproduce. We all know it. So I created special tracing build for him which logged all [...]

Converting “On Error…” To “Try…Catch”

Thursday, March 9th, 2006

We all know that we should use Try ... Catch instead of On Error... But our VBdocman .NET contains some code ported from VB6. This code naturally uses On Error... and it was OK as long as the code worked correctly.
Recently, we decided to clean the old code and use String.equals method for comparing two [...]