Click here to Skip to main content
12,501,692 members (64,216 online)

Visual Basic

 
AnswerRe: show and hide process with showwindow api Pin
Eddy Vluggen29-Apr-13 2:17
mvpEddy Vluggen29-Apr-13 2:17 
GeneralRe: show and hide process with showwindow api Pin
jan212r29-Apr-13 2:40
memberjan212r29-Apr-13 2:40 
AnswerRe: show and hide process with showwindow api Pin
Eddy Vluggen29-Apr-13 3:24
mvpEddy Vluggen29-Apr-13 3:24 
GeneralRe: show and hide process with showwindow api Pin
jan212r29-Apr-13 20:38
memberjan212r29-Apr-13 20:38 
GeneralRe: show and hide process with showwindow api Pin
Dave Kreskowiak30-Apr-13 1:43
mvpDave Kreskowiak30-Apr-13 1:43 
QuestionVBA using Structure Appearance Pin
mach1carr28-Apr-13 9:19
membermach1carr28-Apr-13 9:19 
AnswerRe: VBA using Structure Appearance Pin
Kenneth Haugland28-Apr-13 21:36
professionalKenneth Haugland28-Apr-13 21:36 
AnswerRe: VBA using Structure Appearance Pin
Dave Kreskowiak29-Apr-13 2:07
mvpDave Kreskowiak29-Apr-13 2:07 
QuestionTo readLine column by column Pin
cumaryare426-Apr-13 10:25
membercumaryare426-Apr-13 10:25 
AnswerRe: To readLine column by column Pin
Dave Kreskowiak26-Apr-13 12:21
mvpDave Kreskowiak26-Apr-13 12:21 
QuestionHow to zip folder in vb6 Pin
wsun8726-Apr-13 0:47
memberwsun8726-Apr-13 0:47 
AnswerRe: How to zip folder in vb6 Pin
Eddy Vluggen26-Apr-13 6:14
mvpEddy Vluggen26-Apr-13 6:14 
GeneralRe: How to zip folder in vb6 Pin
cf2i-acive28-Apr-13 16:04
membercf2i-acive28-Apr-13 16:04 
QuestionList of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 12:06
membertreddie25-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
memberdusty_dex25-Apr-13 13:47 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 16:49
membertreddie25-Apr-13 16:49 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
dusty_dex26-Apr-13 0:25
memberdusty_dex26-Apr-13 0:25 
AnswerRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak25-Apr-13 14:51
mvpDave Kreskowiak25-Apr-13 14:51 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie25-Apr-13 16:56
membertreddie25-Apr-13 16:56 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 1:48
mvpDave Kreskowiak26-Apr-13 1:48 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
treddie26-Apr-13 10:15
membertreddie26-Apr-13 10:15 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 12:17
mvpDave Kreskowiak26-Apr-13 12:17 
GeneralRe: List of error codes and matching error descriptions in vb.net Pin
Dave Kreskowiak26-Apr-13 12:19
mvpDave Kreskowiak26-Apr-13 12:19 
Questiontextbox Pin
Member 994134324-Apr-13 22:10
memberMember 994134324-Apr-13 22:10 
AnswerRe: textbox Pin
Simon_Whale24-Apr-13 23:00
professionalSimon_Whale24-Apr-13 23:00 
GeneralRe: textbox Pin
Member 994134324-Apr-13 23:53
memberMember 994134324-Apr-13 23:53 
GeneralRe: textbox Pin
Simon_Whale24-Apr-13 23:58
professionalSimon_Whale24-Apr-13 23:58 
AnswerRe: textbox Pin
Eddy Vluggen25-Apr-13 0:29
mvpEddy Vluggen25-Apr-13 0:29 
QuestionSort a Custom Class Collection in VB6 Pin
KeithF23-Apr-13 23:41
memberKeithF23-Apr-13 23:41 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
_Marshall26-Apr-13 5:31
member_Marshall26-Apr-13 5:31 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
PrissySC26-Apr-13 12:53
memberPrissySC26-Apr-13 12:53 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
Roy Heil3-Jun-13 10:34
memberRoy Heil3-Jun-13 10:34 
QuestionHow to make main window invisible in VB for Windows CE? Pin
Member 989133422-Apr-13 21:45
memberMember 989133422-Apr-13 21:45 
AnswerRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex22-Apr-13 23:27
memberdusty_dex22-Apr-13 23:27 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133423-Apr-13 2:16
memberMember 989133423-Apr-13 2:16 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Eddy Vluggen23-Apr-13 2:40
mvpEddy Vluggen23-Apr-13 2:40 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:51
memberdusty_dex23-Apr-13 2:51 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133424-Apr-13 3:35
memberMember 989133424-Apr-13 3:35 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex24-Apr-13 4:08
memberdusty_dex24-Apr-13 4:08 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133425-Apr-13 3:50
memberMember 989133425-Apr-13 3:50 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:45
memberdusty_dex23-Apr-13 2:45 
QuestionVery long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 13:13
membertreddie22-Apr-13 13:13 
AnswerRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
Dave Kreskowiak22-Apr-13 14:05
mvpDave Kreskowiak22-Apr-13 14:05 
GeneralRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 16:39
membertreddie22-Apr-13 16:39 
QuestionGlobal Hotkey Pin
Member 878710722-Apr-13 11:01
memberMember 878710722-Apr-13 11:01 
AnswerRe: Global Hotkey Pin
Dave Kreskowiak22-Apr-13 14:08
mvpDave Kreskowiak22-Apr-13 14:08 
GeneralRe: Global Hotkey Pin
Member 878710723-Apr-13 6:33
memberMember 878710723-Apr-13 6:33 
GeneralRe: Global Hotkey Pin
Dave Kreskowiak23-Apr-13 7:39
mvpDave Kreskowiak23-Apr-13 7:39 
QuestionHow to force a new instance when a form is created? Pin
GuyThiebaut22-Apr-13 4:26
memberGuyThiebaut22-Apr-13 4:26 
AnswerRe: How to force a new instance when a form is created? Pin
Eddy Vluggen22-Apr-13 5:00
mvpEddy Vluggen22-Apr-13 5:00 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 25 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid