Re: How to convert error code to text??
- From: "Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx>
- Date: Fri, 1 Jul 2005 14:22:01 +0200
" **Developer**" <REMOVEdeveloper@xxxxxxxxxx> schrieb:
For WinSpool.SetPrinter a zero return indicates an error.
SetLastError defaults to True in VB so I can get the errorcode as follows:
ErrorCode = Marshal.GetLastWin32Error()
The value is 6 but that tells me very little.
Where can I find some text to better describe the error??
\\\ Dim s As String = _ (New Win32Exception(Marshal.GetLastWin32Error())).Message ///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
.
- Follow-Ups:
- Re: How to convert error code to text??
- From: **Developer**
- Re: How to convert error code to text??
- References:
- How to convert error code to text??
- From: **Developer**
- How to convert error code to text??
- Prev by Date: Re: How to convert error code to text??
- Next by Date: saved bitmap size
- Previous by thread: Re: How to convert error code to text??
- Next by thread: Re: How to convert error code to text??
- Index(es):