public const int ERROR_ACCESS_DENIED = 5;
Public ERROR_ACCESS_DENIED As Integer = 5
One of the many error codes returned by GetLastError, which should not be used within the .NET framework. Instead you must use Marshal.GetLastWin32Error().
Derived from MSDN and WinBase.h original value was: ((DWORD)-1) which is the same numerically as above. [Ummmm, please explain how -1 is equal to 5...]
Contributed by [ http://www.paradisim.net ] [ http://inversegoogle.paradisim.net/index3.htm ] - gabriel@paradisim.net .