Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
QuestionC# developer Pin
super flower11-Nov-07 18:18
super flower11-Nov-07 18:18 
AnswerRe: C# developer Pin
Vasudevan Deepak Kumar11-Nov-07 18:26
Vasudevan Deepak Kumar11-Nov-07 18:26 
QuestionData fusion Pin
Ghamil11-Nov-07 18:18
Ghamil11-Nov-07 18:18 
QuestionDisabling an item in a checkedListBox Pin
Pankaj - Joshi11-Nov-07 17:50
Pankaj - Joshi11-Nov-07 17:50 
AnswerRe: Disabling an item in a checkedListBox Pin
Luc Pattyn11-Nov-07 18:00
sitebuilderLuc Pattyn11-Nov-07 18:00 
QuestionFile replication Pin
suny12311-Nov-07 17:43
suny12311-Nov-07 17:43 
AnswerRe: File replication Pin
Christian Graus11-Nov-07 17:52
protectorChristian Graus11-Nov-07 17:52 
QuestionCreating a globally-accessable object? Pin
mwholt11-Nov-07 17:03
mwholt11-Nov-07 17:03 
I'm a bit new to C#, and am wondering - specifically - how to keep a remote MySQL connection alive as long as the program runs. It has an MDI container and will have many forms open throughout its operation. I want to keep the connection running from start until close.

I can connect, no issue there. (Although, it would be nice if the program wouldn't lock up while it was connecting. Any work-around there, at least to display a waiting cursor?) I would just like to be able to globally access the MySqlConnection object throughout the application. Thanks for any help!



_________________________________________
1 + 1 = 10. What do you not understand?
AnswerRe: Creating a globally-accessable object? Pin
Christian Graus11-Nov-07 17:27
protectorChristian Graus11-Nov-07 17:27 
GeneralRe: Creating a globally-accessable object? Pin
mwholt12-Nov-07 11:12
mwholt12-Nov-07 11:12 
AnswerRe: Creating a globally-accessable object? Pin
Michael Sync11-Nov-07 18:35
Michael Sync11-Nov-07 18:35 
Questionwhy do we use interfaces in c#? Pin
codesri11-Nov-07 15:17
codesri11-Nov-07 15:17 
AnswerRe: why do we use interfaces in c#? Pin
Luc Pattyn11-Nov-07 15:20
sitebuilderLuc Pattyn11-Nov-07 15:20 
GeneralRe: why do we use interfaces in c#? Pin
codesri11-Nov-07 15:30
codesri11-Nov-07 15:30 
GeneralRe: why do we use interfaces in c#? Pin
Luc Pattyn11-Nov-07 15:44
sitebuilderLuc Pattyn11-Nov-07 15:44 
AnswerRe: why do we use interfaces in c#? Pin
Christian Graus11-Nov-07 15:51
protectorChristian Graus11-Nov-07 15:51 
QuestionOpening program file Pin
pevnak11-Nov-07 15:16
pevnak11-Nov-07 15:16 
AnswerRe: Opening program file Pin
Luc Pattyn11-Nov-07 15:27
sitebuilderLuc Pattyn11-Nov-07 15:27 
GeneralRe: Opening program file Pin
pevnak11-Nov-07 15:44
pevnak11-Nov-07 15:44 
GeneralRe: Opening program file Pin
Luc Pattyn11-Nov-07 15:49
sitebuilderLuc Pattyn11-Nov-07 15:49 
GeneralRe: Opening program file Pin
pevnak12-Nov-07 15:20
pevnak12-Nov-07 15:20 
QuestionHashTable Problem Pin
ytubis11-Nov-07 12:24
ytubis11-Nov-07 12:24 
AnswerRe: HashTable Problem Pin
Christian Graus11-Nov-07 12:29
protectorChristian Graus11-Nov-07 12:29 
GeneralRe: HashTable Problem Pin
ytubis11-Nov-07 12:49
ytubis11-Nov-07 12:49 
GeneralRe: HashTable Problem Pin
Christian Graus11-Nov-07 12:52
protectorChristian Graus11-Nov-07 12:52 

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.