Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
QuestionHow to add all files in a directory structure to a project ? Pin
hongheo7618-Aug-06 18:56
hongheo7618-Aug-06 18:56 
AnswerRe: How to add all files in a directory structure to a project ? Pin
Stefan Troschuetz18-Aug-06 21:55
Stefan Troschuetz18-Aug-06 21:55 
AnswerRe: How to add all files in a directory structure to a project ? Pin
Ed.Poore19-Aug-06 6:08
Ed.Poore19-Aug-06 6:08 
QuestionCan't get SqlConnection() to connect after first failure Pin
shultas18-Aug-06 16:43
shultas18-Aug-06 16:43 
AnswerRe: Can't get SqlConnection() to connect after first failure [modified] Pin
coolestCoder18-Aug-06 19:53
coolestCoder18-Aug-06 19:53 
GeneralRe: Can't get SqlConnection() to connect after first failure Pin
Colin Angus Mackay18-Aug-06 23:14
Colin Angus Mackay18-Aug-06 23:14 
AnswerRe: Can't get SqlConnection() to connect after first failure Pin
Colin Angus Mackay18-Aug-06 23:16
Colin Angus Mackay18-Aug-06 23:16 
GeneralRe: Can't get SqlConnection() to connect after first failure Pin
shultas19-Aug-06 5:00
shultas19-Aug-06 5:00 
I never even thought to play with that value at all...

Anyhow, I removed that line and it works now!

The only thing that I am curious about is that when this scenario happens (I am not VPN'd in, I run the program, it cannot connect right away and then I VPN in) ... It will take it about 60-120 seconds to finally make that connection. I put a MessageBox.Show() in the Catch block of the attempt to connect, and it will pop up 5 to 10 times saying "Could not connect...blah blah". But I've run it 30 or 40 times now and it always connects it just takes a lot of failures before it finally does.

Thanks a ton for the input!
QuestionCustom Controls Pin
Tyrus18218-Aug-06 15:51
Tyrus18218-Aug-06 15:51 
AnswerRe: Custom Controls Pin
Martin#19-Aug-06 8:49
Martin#19-Aug-06 8:49 
GeneralRe: Custom Controls Pin
Tyrus18219-Aug-06 14:05
Tyrus18219-Aug-06 14:05 
GeneralRe: Custom Controls Pin
Martin#20-Aug-06 9:38
Martin#20-Aug-06 9:38 
Questiona question about Report. Pin
Mrguoxiang18-Aug-06 12:03
Mrguoxiang18-Aug-06 12:03 
QuestionError running Windows service in release mode Pin
Bharat Gadhia18-Aug-06 11:03
Bharat Gadhia18-Aug-06 11:03 
AnswerRe: Error running Windows service in release mode Pin
coolestCoder18-Aug-06 20:00
coolestCoder18-Aug-06 20:00 
GeneralRe: Error running Windows service in release mode Pin
Bharat Gadhia21-Aug-06 6:01
Bharat Gadhia21-Aug-06 6:01 
QuestionProblem with control docking Pin
AngryC18-Aug-06 10:49
AngryC18-Aug-06 10:49 
QuestionPDF Creation in C# Pin
Aaron Schaefer18-Aug-06 10:16
Aaron Schaefer18-Aug-06 10:16 
AnswerRe: PDF Creation in C# Pin
stancrm18-Aug-06 10:39
stancrm18-Aug-06 10:39 
AnswerRe: PDF Creation in C# Pin
Suelinda_W7-Sep-06 10:19
Suelinda_W7-Sep-06 10:19 
Questionwhat would the best way to approach this project be? Pin
mmatteson18-Aug-06 9:43
mmatteson18-Aug-06 9:43 
AnswerRe: what would the best way to approach this project be? Pin
Vitaliy Tsvayer18-Aug-06 10:47
Vitaliy Tsvayer18-Aug-06 10:47 
QuestionWant array with elements of different types - use what instead of an array? Pin
LuluSailor18-Aug-06 8:59
LuluSailor18-Aug-06 8:59 
AnswerRe: Want array with elements of different types - use what instead of an array? Pin
stancrm18-Aug-06 9:09
stancrm18-Aug-06 9:09 
AnswerRe: Want array with elements of different types - use what instead of an array? Pin
Not Active18-Aug-06 9:11
mentorNot Active18-Aug-06 9:11 

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.