Click here to Skip to main content

Visual Basic

 
AnswerRe: show and hide process with showwindow api PinmvpEddy Vluggen29-Apr-13 3:17 
GeneralRe: show and hide process with showwindow api Pinmemberjan212r29-Apr-13 3:40 
AnswerRe: show and hide process with showwindow api PinmvpEddy Vluggen29-Apr-13 4:24 
GeneralRe: show and hide process with showwindow api Pinmemberjan212r29-Apr-13 21:38 
GeneralRe: show and hide process with showwindow api PinmvpDave Kreskowiak30-Apr-13 2:43 
QuestionVBA using Structure Appearance Pinmembermach1carr28-Apr-13 10:19 
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 
AnswerRe: Sort a Custom Class Collection in VB6 PinmemberRoy Heil3-Jun-13 11:34 
QuestionHow to make main window invisible in VB for Windows CE? PinmemberMember 989133422-Apr-13 22:45 
AnswerRe: How to make main window invisible in VB for Windows CE? Pinmemberdusty_dex23-Apr-13 0:27 
GeneralRe: How to make main window invisible in VB for Windows CE? PinmemberMember 989133423-Apr-13 3:16 
GeneralRe: How to make main window invisible in VB for Windows CE? PinmvpEddy Vluggen23-Apr-13 3:40 
GeneralRe: How to make main window invisible in VB for Windows CE? Pinmemberdusty_dex23-Apr-13 3:51 
GeneralRe: How to make main window invisible in VB for Windows CE? PinmemberMember 989133424-Apr-13 4:35 
GeneralRe: How to make main window invisible in VB for Windows CE? [modified] Pinmemberdusty_dex24-Apr-13 5:08 
GeneralRe: How to make main window invisible in VB for Windows CE? PinmemberMember 989133425-Apr-13 4:50 
GeneralRe: How to make main window invisible in VB for Windows CE? Pinmemberdusty_dex23-Apr-13 3:45 
QuestionVery long rtf string loading into RTB, and ContextSwitchDeadlock Pinmembertreddie22-Apr-13 14:13 
AnswerRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock PinmvpDave Kreskowiak22-Apr-13 15:05 
GeneralRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pinmembertreddie22-Apr-13 17:39 
QuestionGlobal Hotkey PinmemberMember 878710722-Apr-13 12:01 
AnswerRe: Global Hotkey PinmvpDave Kreskowiak22-Apr-13 15:08 
GeneralRe: Global Hotkey PinmemberMember 878710723-Apr-13 7:33 
GeneralRe: Global Hotkey PinmvpDave Kreskowiak23-Apr-13 8:39 
QuestionHow to force a new instance when a form is created? PinmemberGuyThiebaut22-Apr-13 5:26 
AnswerRe: How to force a new instance when a form is created? PinmvpEddy Vluggen22-Apr-13 6:00 

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
Web02 | 2.8.150129.1 | Last Updated 30 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid