Click here to Skip to main content
16,005,236 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting to float freezes build Pin
Leslie Sanford3-Dec-06 20:19
Leslie Sanford3-Dec-06 20:19 
AnswerRe: Converting to float freezes build Pin
Guffa3-Dec-06 21:06
Guffa3-Dec-06 21:06 
GeneralRe: Converting to float freezes build Pin
Leslie Sanford4-Dec-06 6:14
Leslie Sanford4-Dec-06 6:14 
QuestionWeb browser hangs in some systems Pin
madhusri3-Dec-06 18:57
madhusri3-Dec-06 18:57 
QuestionSaving MySQL Connection Object Pin
Tomy14023-Dec-06 16:44
Tomy14023-Dec-06 16:44 
AnswerRe: Saving MySQL Connection Object Pin
Dave Kreskowiak3-Dec-06 18:24
mveDave Kreskowiak3-Dec-06 18:24 
GeneralRe: Saving MySQL Connection Object Pin
Tomy14023-Dec-06 20:50
Tomy14023-Dec-06 20:50 
GeneralRe: Saving MySQL Connection Object Pin
Dave Kreskowiak4-Dec-06 11:52
mveDave Kreskowiak4-Dec-06 11:52 
OK. In that case, all you have to do is create a static class that exposes a method to return a connection object. That class can manage the settings on its own, probably getting the settings from the app.config file or some other place.

Static classes and methods don't need an instance to work. You can call them from anywhere in your project, so long as they're public.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Saving MySQL Connection Object Pin
Tomy14024-Dec-06 17:51
Tomy14024-Dec-06 17:51 
GeneralRe: Saving MySQL Connection Object Pin
Dave Kreskowiak5-Dec-06 1:37
mveDave Kreskowiak5-Dec-06 1:37 
QuestionExtending Shortcut Menus Pin
Ovelisax3-Dec-06 15:14
Ovelisax3-Dec-06 15:14 
QuestionHelp on using Help Class Pin
lagumaster3-Dec-06 14:14
lagumaster3-Dec-06 14:14 
AnswerRe: Help on using Help Class Pin
lagumaster3-Dec-06 14:37
lagumaster3-Dec-06 14:37 
QuestionProblem to Create Database in SqlServer from Client. Pin
hdv2123-Dec-06 12:29
hdv2123-Dec-06 12:29 
AnswerRe: Problem to Create Database in SqlServer from Client. Pin
Judah Gabriel Himango3-Dec-06 12:39
sponsorJudah Gabriel Himango3-Dec-06 12:39 
AnswerRe: Problem to Create Database in SqlServer from Client. Pin
Paul Conrad3-Dec-06 16:11
professionalPaul Conrad3-Dec-06 16:11 
QuestionThreading/Delegate Freezes my App [modified] Pin
dubbaluga3-Dec-06 12:16
dubbaluga3-Dec-06 12:16 
AnswerRe: Threading/Delegate Freezes my App Pin
Judah Gabriel Himango3-Dec-06 12:18
sponsorJudah Gabriel Himango3-Dec-06 12:18 
GeneralRe: Threading/Delegate Freezes my App Pin
dubbaluga3-Dec-06 12:24
dubbaluga3-Dec-06 12:24 
GeneralRe: Threading/Delegate Freezes my App Pin
Judah Gabriel Himango3-Dec-06 12:30
sponsorJudah Gabriel Himango3-Dec-06 12:30 
GeneralRe: Threading/Delegate Freezes my App Pin
dubbaluga3-Dec-06 12:31
dubbaluga3-Dec-06 12:31 
GeneralRe: Threading/Delegate Freezes my App Pin
Judah Gabriel Himango3-Dec-06 12:31
sponsorJudah Gabriel Himango3-Dec-06 12:31 
AnswerRe: Threading/Delegate Freezes my App Pin
S. Senthil Kumar4-Dec-06 4:16
S. Senthil Kumar4-Dec-06 4:16 
Questionlock touchpad Pin
DarsVaeda3-Dec-06 11:51
DarsVaeda3-Dec-06 11:51 
AnswerRe: lock touchpad Pin
logoto_it3-Dec-06 16:37
logoto_it3-Dec-06 16:37 

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.