Daniel Vasquez Lopez .NET Blog
| C# tricks, source code, guidelines, Microsoft .NET programming, Visual C++ Mangaged. |
Daniel Vasquez Lopez: 03.2004
| The action being performed on this control is being called from the wrong thread.
"The action being performed on this control is being called from the wrong ... |
Daniel Vasquez Lopez: 06.2004
| How to Ping in C# using System.Management. If you are using Windows XP, Windows
Server 2003 or above perhaps you might want to avoid using unsupported code ... |
Daniel Vasquez Lopez: 05.2004
| P/Invoke Add-in for Visual Studio.NET. This is a very, very useful tool that can
help you to find quickly the P/Invoke definition for almost any Win32 API ... |
Daniel Vasquez Lopez: 04.2004
| Use Buffer.BlockCopy instead of Array.Copy for better performance. Buffer.BlockCopy is
faster than Array.Copy when you are copying primitive arrays (arrays ... |
Daniel Vasquez Lopez: 08.2004
| The OVERLAPPED structure in C#. The OVERLAPPED structure is widely used in the
Win32 functions (some examples are the functions ReadFile, WriteFile, ... |
Daniel Vasquez Lopez: Win32Exception class forgotten
| Win32Exception class forgotten. It’s very common to see people (and books)
declaring the FormatMessage Win32 API function in . ... |
Daniel Vasquez Lopez: Marshal.SizeOf returns 1 for System.Char
| Marshal.SizeOf returns 1 for System.Char. As you might know, in .NET all strings
are Unicode, because of that, the size of a System. ... |
Daniel Vasquez Lopez: How to clear the Downloaded Cache ...
| How to clear the Downloaded Cache programatically? The most important thing that
you must considerate before clear the Downloade Cache programmatically it's ... |
Daniel Vasquez Lopez: Enabling XP Visual Style in Windows Forms
| Enabling XP Visual Style in Windows Forms. Back to the .NET Framework version
1.0, the requirement to enable Windows XP Visual Style in a Windows Forms ... |