Click here to Skip to main content
15,889,335 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Inputbox triggering form_closed event Pin
Luc Pattyn13-Mar-09 12:30
sitebuilderLuc Pattyn13-Mar-09 12:30 
AnswerRe: Inputbox triggering form_closed event Pin
Dave Kreskowiak12-Mar-09 3:47
mveDave Kreskowiak12-Mar-09 3:47 
GeneralRe: Inputbox triggering form_closed event Pin
Sonhospa12-Mar-09 9:29
Sonhospa12-Mar-09 9:29 
Questionerror propagation [modified] Pin
captainmogo11-Mar-09 9:58
captainmogo11-Mar-09 9:58 
AnswerRe: error propagation Pin
Dave Kreskowiak12-Mar-09 3:46
mveDave Kreskowiak12-Mar-09 3:46 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 4:15
captainmogo12-Mar-09 4:15 
GeneralRe: error propagation Pin
Luc Pattyn12-Mar-09 4:54
sitebuilderLuc Pattyn12-Mar-09 4:54 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 5:03
captainmogo12-Mar-09 5:03 
I am going to write the errors to a log file because there is not user interface for this app. It is actually going execute on a machine with no monitor. The requirements I was given was to have the the db queries fail on any error but I want to try and handle what I can before saying its failed. say somethign like the db is not available.

Luc Pattyn wrote:
. when you want retries, you can but the try-catch inside the loop and swallow exceptions in all but the last iteration. Don't retry forever.

3. background threads typically need to report back to their parent thread, whether success or failure. You shouldn't have a background thread retry forever, or just fail or give up without telling.


This makes sense
so could I use recursion to do a retry. I dont want it to retry it forever... just wait a sec and then try to connect again. If it fails again then exit.
GeneralRe: error propagation Pin
Luc Pattyn12-Mar-09 5:23
sitebuilderLuc Pattyn12-Mar-09 5:23 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 8:14
captainmogo12-Mar-09 8:14 
QuestionHow to export to word using VB 2008 Pin
Manfred ramirez11-Mar-09 8:45
Manfred ramirez11-Mar-09 8:45 
AnswerRe: How to export to word using VB 2008 Pin
Luc Pattyn11-Mar-09 9:41
sitebuilderLuc Pattyn11-Mar-09 9:41 
Questiontransfer data from xml to database table Pin
madhuchandran11-Mar-09 6:49
madhuchandran11-Mar-09 6:49 
AnswerRe: transfer data from xml to database table Pin
Jon_Boy11-Mar-09 7:01
Jon_Boy11-Mar-09 7:01 
QuestionHow to ping every computer in a LAN Pin
Amer Rehman11-Mar-09 6:41
Amer Rehman11-Mar-09 6:41 
AnswerRe: How to ping every computer in a LAN Pin
0x3c011-Mar-09 6:59
0x3c011-Mar-09 6:59 
AnswerRe: How to ping every computer in a LAN Pin
Expert Coming11-Mar-09 22:35
Expert Coming11-Mar-09 22:35 
Question.NET Remoting help Pin
OorSkietKoS11-Mar-09 5:42
OorSkietKoS11-Mar-09 5:42 
AnswerRe: .NET Remoting help Pin
Johan Hakkesteegt11-Mar-09 7:41
Johan Hakkesteegt11-Mar-09 7:41 
GeneralRe: .NET Remoting help Pin
OorSkietKoS11-Mar-09 20:25
OorSkietKoS11-Mar-09 20:25 
GeneralRe: .NET Remoting help Pin
Johan Hakkesteegt12-Mar-09 2:18
Johan Hakkesteegt12-Mar-09 2:18 
AnswerRe: .NET Remoting help Pin
Dave Kreskowiak12-Mar-09 3:40
mveDave Kreskowiak12-Mar-09 3:40 
GeneralRe: .NET Remoting help Pin
OorSkietKoS12-Mar-09 4:40
OorSkietKoS12-Mar-09 4:40 
GeneralRe: .NET Remoting help Pin
Dave Kreskowiak12-Mar-09 5:55
mveDave Kreskowiak12-Mar-09 5:55 
QuestionVb.Net tlb file Pin
rmedo11-Mar-09 4:08
rmedo11-Mar-09 4:08 

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.