Click here to Skip to main content
15,888,802 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VBA using Structure Appearance Pin
Kenneth Haugland28-Apr-13 21:36
mvaKenneth Haugland28-Apr-13 21:36 
AnswerRe: VBA using Structure Appearance Pin
Dave Kreskowiak29-Apr-13 2:07
mveDave Kreskowiak29-Apr-13 2:07 
QuestionTo readLine column by column Pin
cumaryare426-Apr-13 10:25
professionalcumaryare426-Apr-13 10:25 
AnswerRe: To readLine column by column Pin
Dave Kreskowiak26-Apr-13 12:21
mveDave Kreskowiak26-Apr-13 12:21 
QuestionHow to zip folder in vb6 Pin
wsun8726-Apr-13 0:47
wsun8726-Apr-13 0:47 
AnswerRe: How to zip folder in vb6 Pin
Eddy Vluggen26-Apr-13 6:14
professionalEddy Vluggen26-Apr-13 6:14 
GeneralRe: How to zip folder in vb6 Pin
cf2i-acive28-Apr-13 16:04
cf2i-acive28-Apr-13 16:04 
QuestionList of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 12:06
treddie25-Apr-13 12: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 Pin
dusty_dex25-Apr-13 13:47
dusty_dex25-Apr-13 13:47 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 16:49
treddie25-Apr-13 16:49 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
dusty_dex26-Apr-13 0:25
dusty_dex26-Apr-13 0:25 
AnswerRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak25-Apr-13 14:51
mveDave Kreskowiak25-Apr-13 14:51 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 16:56
treddie25-Apr-13 16:56 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 1:48
mveDave Kreskowiak26-Apr-13 1:48 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie26-Apr-13 10:15
treddie26-Apr-13 10:15 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 12:17
mveDave Kreskowiak26-Apr-13 12:17 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 12:19
mveDave Kreskowiak26-Apr-13 12:19 
Questiontextbox Pin
Member 994134324-Apr-13 22:10
Member 994134324-Apr-13 22:10 
AnswerRe: textbox Pin
Simon_Whale24-Apr-13 23:00
Simon_Whale24-Apr-13 23:00 
GeneralRe: textbox Pin
Member 994134324-Apr-13 23:53
Member 994134324-Apr-13 23:53 
GeneralRe: textbox Pin
Simon_Whale24-Apr-13 23:58
Simon_Whale24-Apr-13 23:58 
AnswerRe: textbox Pin
Eddy Vluggen25-Apr-13 0:29
professionalEddy Vluggen25-Apr-13 0:29 
QuestionSort a Custom Class Collection in VB6 Pin
KeithF23-Apr-13 23:41
KeithF23-Apr-13 23:41 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
_Marshall26-Apr-13 5:31
_Marshall26-Apr-13 5:31 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
PrissySC26-Apr-13 12:53
PrissySC26-Apr-13 12:53 

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

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