Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sending A Message to the Network User's Pin
RizwanSharp19-Jul-06 11:57
RizwanSharp19-Jul-06 11:57 
QuestionWhats the best practice for getting XML out of an SQL query? Pin
Red_Wizard_Shot_The_Food17-Jul-06 23:53
Red_Wizard_Shot_The_Food17-Jul-06 23:53 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
J4amieC18-Jul-06 0:41
J4amieC18-Jul-06 0:41 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
Not Active18-Jul-06 2:41
mentorNot Active18-Jul-06 2:41 
QuestionProblem to print HTML File ... Pin
SD317-Jul-06 23:40
SD317-Jul-06 23:40 
QuestionC# BHO question [modified] Pin
elefas17-Jul-06 23:27
elefas17-Jul-06 23:27 
QuestionStarting a service depending on SQLEXPRESS? Pin
mav.northwind17-Jul-06 23:06
mav.northwind17-Jul-06 23:06 
AnswerRe: Starting a service depending on SQLEXPRESS? Pin
Paul Brower18-Jul-06 1:29
Paul Brower18-Jul-06 1:29 
Here's a snippet of some code I use to make sure sql server is running (actually msde, but same diff) locally ... maybe it will help:

private void CheckLocalDBService()
{
ServiceController[] services = ServiceController.GetServices() ;
foreach ( System.ServiceProcess.ServiceController cont in services)
{
if (cont.ServiceName.ToUpper().CompareTo("MSSQLSERVER") == 0)
{
SplashScreen.SetStatus("Found SQLSERVER service") ;
if (cont.Status != ServiceControllerStatus.Running)
{
SplashScreen.SetStatus("attempting to start SQLSERVER service") cont.Start() ;
cont.WaitForStatus(ServiceControllerStatus.Running,new TimeSpan(0,1,0)) ;
if (cont.Status == ServiceControllerStatus.Running)
{
_hasLocalMSDE = true ;
SplashScreen.SetStatus("SQL Server Service successfully started") ;
}
}
else
{
_hasLocalMSDE = true ;
}
}
}
}







GeneralRe: Starting a service depending on SQLEXPRESS? Pin
mav.northwind18-Jul-06 3:16
mav.northwind18-Jul-06 3:16 
Questionusing hashtable in settings (app.config) Pin
Badscher17-Jul-06 22:40
Badscher17-Jul-06 22:40 
AnswerRe: using hashtable in settings (app.config) Pin
engsrini17-Jul-06 23:55
engsrini17-Jul-06 23:55 
GeneralRe: using hashtable in settings (app.config) Pin
Badscher18-Jul-06 0:06
Badscher18-Jul-06 0:06 
QuestionA specified logon session does not exist Pin
dabuskol17-Jul-06 22:13
dabuskol17-Jul-06 22:13 
QuestionHow to disable right click mouse, select and copy text in WebBrowser Pin
COBECTb17-Jul-06 22:02
COBECTb17-Jul-06 22:02 
AnswerRe: How to disable right click mouse, select and copy text in WebBrowser Pin
Vivek.Sivasamy17-Jul-06 22:32
Vivek.Sivasamy17-Jul-06 22:32 
Questionhowto determine ip? help please ... Pin
cmpeng3417-Jul-06 21:57
cmpeng3417-Jul-06 21:57 
AnswerRe: howto determine ip? help please ... Pin
Gavin Roberts18-Jul-06 0:53
Gavin Roberts18-Jul-06 0:53 
AnswerRe: howto determine ip? help please ... Pin
Mr. VB.NET18-Jul-06 0:58
Mr. VB.NET18-Jul-06 0:58 
Questionpsl, Help me, Pin
tranglt17-Jul-06 21:39
tranglt17-Jul-06 21:39 
AnswerRe: psl, Help me, Pin
J4amieC17-Jul-06 21:56
J4amieC17-Jul-06 21:56 
GeneralRe: psl, Help me, Pin
tranglt17-Jul-06 22:14
tranglt17-Jul-06 22:14 
GeneralRe: psl, Help me, Pin
leppie17-Jul-06 22:19
leppie17-Jul-06 22:19 
GeneralRe: psl, Help me, Pin
tranglt18-Jul-06 23:54
tranglt18-Jul-06 23:54 
QuestionSerialPort Control in VC# Express 2005 Pin
Audio_Developer17-Jul-06 21:31
Audio_Developer17-Jul-06 21:31 
GeneralRe: SerialPort Control in VC# Express 2005 Pin
Audio_Developer18-Jul-06 21:17
Audio_Developer18-Jul-06 21:17 

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.