Click here to Skip to main content
16,010,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFixed CSplitterWnd bars Pin
Mark Donkers30-Nov-01 6:47
Mark Donkers30-Nov-01 6:47 
GeneralRe: Fixed CSplitterWnd bars Pin
30-Nov-01 7:26
suss30-Nov-01 7:26 
GeneralRe: Fixed CSplitterWnd bars Pin
Mark Donkers30-Nov-01 9:15
Mark Donkers30-Nov-01 9:15 
GeneralServer - Client Pin
30-Nov-01 6:37
suss30-Nov-01 6:37 
GeneralRe: Server - Client Pin
Anders Molin30-Nov-01 11:30
professionalAnders Molin30-Nov-01 11:30 
GeneralRe: Server - Client Pin
Chris Hafey30-Nov-01 16:12
Chris Hafey30-Nov-01 16:12 
GeneralGreek Language in MFC App Pin
George Metaxas30-Nov-01 6:22
professionalGeorge Metaxas30-Nov-01 6:22 
GeneralMSDE/SQL status Pin
Alan Wlasuk30-Nov-01 5:29
Alan Wlasuk30-Nov-01 5:29 
I would like to check the status of the SQL Server Service from within a C++ app.
My Installshield app installs MSDE if needed so I can assume SQL Server is a least present on the PC.

The functions I am looking for:

- See if it is installed - I currently do this via CurrentVersion item under the Software\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion key

- See if it is running

- See if it is configured to start automattically at boot time

I would also like the ability to set up SQL Server to run and start at boot time from my app as well.

The difficult part is that I am looking to do this under Windows 98, ME, NT, 2000 and XP. I know there are functions in NT, 2000 and XP that I can use but I need all OS's.

Thanks
AW

GeneralRe: MSDE/SQL status Pin
Carlos Antollini30-Nov-01 5:59
Carlos Antollini30-Nov-01 5:59 
GeneralRe: MSDE/SQL status Pin
Alan Wlasuk30-Nov-01 6:18
Alan Wlasuk30-Nov-01 6:18 
Generalretrieving OutlookExpress contacts Pin
SAWilde30-Nov-01 5:07
SAWilde30-Nov-01 5:07 
GeneralRe: retrieving OutlookExpress contacts Pin
Michael P Butler30-Nov-01 5:15
Michael P Butler30-Nov-01 5:15 
GeneralCString::Replace Pin
(Steven Hicks)n+130-Nov-01 4:45
(Steven Hicks)n+130-Nov-01 4:45 
GeneralRe: CString::Replace Pin
Chris Losinger30-Nov-01 5:12
professionalChris Losinger30-Nov-01 5:12 
GeneralRe: CString::Replace Pin
Not Active30-Nov-01 16:48
mentorNot Active30-Nov-01 16:48 
GeneralCatching WM_ messages Pin
Rickard Andersson2030-Nov-01 4:32
Rickard Andersson2030-Nov-01 4:32 
GeneralRe: Catching WM_ messages Pin
Jon Hulatt30-Nov-01 5:50
Jon Hulatt30-Nov-01 5:50 
GeneralRe: Catching WM_ messages Pin
Michael Dunn30-Nov-01 8:03
sitebuilderMichael Dunn30-Nov-01 8:03 
GeneralStrange dial-up behavior in Win2000 Pin
Joaquín M López Muñoz30-Nov-01 4:20
Joaquín M López Muñoz30-Nov-01 4:20 
GeneralPrintscreen from CView content Pin
30-Nov-01 4:16
suss30-Nov-01 4:16 
QuestionHow can I create an Excel file in my program? Pin
30-Nov-01 3:43
suss30-Nov-01 3:43 
AnswerRe: How can I create an Excel file in my program? Pin
Ganesh Ramaswamy30-Nov-01 12:25
Ganesh Ramaswamy30-Nov-01 12:25 
AnswerRe: How can I create an Excel file in my program? Pin
Shog91-Dec-01 8:43
sitebuilderShog91-Dec-01 8:43 
GeneralShared Service.... Pin
Carlos Antollini30-Nov-01 3:05
Carlos Antollini30-Nov-01 3:05 
GeneralRe: Shared Service.... Pin
Gavin Taylor30-Nov-01 3:43
professionalGavin Taylor30-Nov-01 3:43 

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.