Click here to Skip to main content
       

Visual Basic

 
AnswerRe: VBA using Structure Appearance PinprofessionalKenneth Haugland28-Apr-13 22:36 
AnswerRe: VBA using Structure Appearance PinmvpDave Kreskowiak29-Apr-13 3:07 
QuestionTo readLine column by column Pinmembercumaryare426-Apr-13 11:25 
AnswerRe: To readLine column by column PinmvpDave Kreskowiak26-Apr-13 13:21 
QuestionHow to zip folder in vb6 Pinmemberwsun8726-Apr-13 1:47 
AnswerRe: How to zip folder in vb6 PinmvpEddy Vluggen26-Apr-13 7:14 
GeneralRe: How to zip folder in vb6 Pinmembercf2i-acive28-Apr-13 17:04 
QuestionList of error codes and matching error descriptions in vb.net [modified] Pinmembertreddie25-Apr-13 13:06 
Hi.
 
Does anyone know of a way to throw errors in vb.Net based on the error number? I need to build a list of just that since, as unnbeleivable as it sounds, MS apparently can't provide a table of error codes matched to their descriptions like they did in vb6. If that means they are too numerous to list, then if they can't stand the heat, get out of the kitchen, right? Smile | :)
 
Anyway, the Throw() method seems to be based on the user providing the error description so that the error can be thrown, and THEN you can query the Err structure to get the corresponding number. But I don't see a way of going in reverse...Providing an error number and having the exception thrown, so you can get at the description.
 
In that same regard, I could go back and use the error codes from vb6.....IF they matched up with the ones in vb.Net. That's one hell of an assumption!
 

Best regards!

modified 25-Apr-13 18:14pm.

AnswerRe: List of error codes and matching error descriptions in vb.net Pinmemberdusty_dex25-Apr-13 14:47 
GeneralRe: List of error codes and matching error descriptions in vb.net Pinmembertreddie25-Apr-13 17:49 
GeneralRe: List of error codes and matching error descriptions in vb.net Pinmemberdusty_dex26-Apr-13 1:25 
AnswerRe: List of error codes and matching error descriptions in vb.net PinmvpDave Kreskowiak25-Apr-13 15:51 
GeneralRe: List of error codes and matching error descriptions in vb.net Pinmembertreddie25-Apr-13 17:56 
GeneralRe: List of error codes and matching error descriptions in vb.net PinmvpDave Kreskowiak26-Apr-13 2:48 
GeneralRe: List of error codes and matching error descriptions in vb.net Pinmembertreddie26-Apr-13 11:15 
GeneralRe: List of error codes and matching error descriptions in vb.net PinmvpDave Kreskowiak26-Apr-13 13:17 
GeneralRe: List of error codes and matching error descriptions in vb.net PinmvpDave Kreskowiak26-Apr-13 13:19 
Questiontextbox PinmemberMember 994134324-Apr-13 23:10 
AnswerRe: textbox PinprofessionalSimon_Whale25-Apr-13 0:00 
GeneralRe: textbox PinmemberMember 994134325-Apr-13 0:53 
GeneralRe: textbox PinprofessionalSimon_Whale25-Apr-13 0:58 
AnswerRe: textbox PinmvpEddy Vluggen25-Apr-13 1:29 
QuestionSort a Custom Class Collection in VB6 PinmemberKeithF24-Apr-13 0:41 
AnswerRe: Sort a Custom Class Collection in VB6 Pinmember_Marshall26-Apr-13 6:31 
AnswerRe: Sort a Custom Class Collection in VB6 PinmemberPrissySC26-Apr-13 13:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 19 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid