PDA

Click to See Complete Forum and Search --> : Err.LastDllError equivlanet?


Merrion
Nov 3rd, 2002, 10:36 AM
How can I get similar functionality to Err.LastDllError (from VB5/6) in VB.Net? I presume GetLastError api call is still suspect because of API functions that may trample on the error code being called internally by the programming language?

Lethal
Nov 3rd, 2002, 11:21 AM
How about the HResult property off of the exception class?

MerrionComputin
Nov 4th, 2002, 03:19 AM
System.Runtime.InteropServices.Marshal.GetLastWin32Error


From Extreme Visual Basic Forum (http://www.visualbasicforum.com)...