Click here to Skip to main content
15,914,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Difference between Leave and LostFocus events of textbox in vb.net? Pin
Navneet Hegde14-Jan-07 23:08
Navneet Hegde14-Jan-07 23:08 
QuestionTV Tuner Pin
densti14-Jan-07 19:50
densti14-Jan-07 19:50 
QuestionResource file Pin
nitin_ion14-Jan-07 19:41
nitin_ion14-Jan-07 19:41 
QuestionDETECT LAST PAGE WHEN PRINT..PLS HELP Pin
vbbeg14-Jan-07 19:30
vbbeg14-Jan-07 19:30 
AnswerRe: Msg for DAVE KRESKOWIAK Pin
Colin Angus Mackay14-Jan-07 22:32
Colin Angus Mackay14-Jan-07 22:32 
GeneralRe: Msg for DAVE KRESKOWIAK Pin
Colin Angus Mackay15-Jan-07 1:39
Colin Angus Mackay15-Jan-07 1:39 
QuestionTry-Catch blocks? Pin
Rahithi14-Jan-07 16:48
Rahithi14-Jan-07 16:48 
AnswerRe: Try-Catch blocks? Pin
Christian Graus14-Jan-07 18:21
protectorChristian Graus14-Jan-07 18:21 
Rahithi wrote:
means we are displaying error message to USER?

If you like, but rarely.  It usually means you anticipated a specific type of error.  Your syntax is wrong.  Catch can catch Exception, but it should really catch specific exceptions such as

catch(FileNotFoundException ex)   -- this is C# syntax, it probably gets twisted a little for VB

So, you'd catch this if you knew there was a chance it would be thrown, and you know how to deal with it, for example, by showing a message, or creating a config file that is missing.

Rahithi wrote:
n finally block what we have to write?


Any code that you want executed if an exception is thrown or not, such as code to close a database connection or clean up resources.



Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

AnswerRe: Try-Catch blocks? Pin
The ANZAC14-Jan-07 19:30
The ANZAC14-Jan-07 19:30 
AnswerRe: Try-Catch blocks? Pin
vengaqua14-Jan-07 21:19
vengaqua14-Jan-07 21:19 
AnswerRe: Try-Catch blocks? Pin
roo42615-Jan-07 1:50
roo42615-Jan-07 1:50 
AnswerRe: Try-Catch blocks? Pin
Rahithi15-Jan-07 17:11
Rahithi15-Jan-07 17:11 
QuestionConnecting to Access Database on remote server Pin
fatali814-Jan-07 12:03
fatali814-Jan-07 12:03 
AnswerRe: Connecting to Access Database on remote server Pin
Dave Kreskowiak14-Jan-07 13:10
mveDave Kreskowiak14-Jan-07 13:10 
GeneralRe: Connecting to Access Database on remote server Pin
fatali814-Jan-07 15:32
fatali814-Jan-07 15:32 
GeneralRe: Connecting to Access Database on remote server Pin
Dave Kreskowiak14-Jan-07 16:16
mveDave Kreskowiak14-Jan-07 16:16 
GeneralRe: Connecting to Access Database on remote server Pin
fatali814-Jan-07 16:48
fatali814-Jan-07 16:48 
GeneralRe: Connecting to Access Database on remote server Pin
fatali814-Jan-07 17:10
fatali814-Jan-07 17:10 
GeneralRe: Connecting to Access Database on remote server Pin
Dave Kreskowiak14-Jan-07 18:26
mveDave Kreskowiak14-Jan-07 18:26 
GeneralRe: Connecting to Access Database on remote server Pin
fatali815-Jan-07 3:53
fatali815-Jan-07 3:53 
GeneralRe: Connecting to Access Database on remote server Pin
Dave Kreskowiak15-Jan-07 5:29
mveDave Kreskowiak15-Jan-07 5:29 
GeneralRe: Connecting to Access Database on remote server Pin
fatali815-Jan-07 5:40
fatali815-Jan-07 5:40 
QuestionSimple question on text? Pin
rudemusik14-Jan-07 6:59
rudemusik14-Jan-07 6:59 
AnswerRe: Simple question on text? Pin
MatrixCoder14-Jan-07 8:01
MatrixCoder14-Jan-07 8:01 
GeneralRe: Simple question on text? Pin
rudemusik14-Jan-07 9:23
rudemusik14-Jan-07 9:23 

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.