Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Making a C++ DLL to be used form VB - Static Question Pin
Chris Losinger9-Jun-05 9:47
professionalChris Losinger9-Jun-05 9:47 
GeneralCDO/MAPI sending problem Pin
vineas9-Jun-05 8:43
vineas9-Jun-05 8:43 
Generalloading a bitmap from file Pin
bkphat9-Jun-05 8:37
bkphat9-Jun-05 8:37 
GeneralRe: loading a bitmap from file Pin
Dominik Reichl9-Jun-05 8:48
Dominik Reichl9-Jun-05 8:48 
GeneralRe: loading a bitmap from file Pin
Budric B.9-Jun-05 8:51
Budric B.9-Jun-05 8:51 
Questionhow to count print outs Pin
Ajay Nikam9-Jun-05 8:14
Ajay Nikam9-Jun-05 8:14 
GeneralGet the path to MS Office Pin
Nitron9-Jun-05 8:12
Nitron9-Jun-05 8:12 
GeneralRe: Get the path to MS Office Pin
Kappy9-Jun-05 10:49
Kappy9-Jun-05 10:49 
I would reccomend going through the Registry. Read HKEY_CLASSES_ROOT\.xls and see what the associated program name is. If this key doesn't exist you know right away that Excel is probably not installed. Next take the value read from the default value (usually something like "Excel.Sheet.8") and look for it in the registry with the command path appended:

HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command

The default value of that key will tell you the location of Excel. You will have to parse it up a bit though. Hope that helps.


GeneralRe: Get the path to MS Office Pin
Tom Archer9-Jun-05 16:18
Tom Archer9-Jun-05 16:18 
GeneralRe: Get the path to MS Office Pin
Nitron10-Jun-05 2:42
Nitron10-Jun-05 2:42 
GeneralMenu in child window Pin
PJ Arends9-Jun-05 7:02
professionalPJ Arends9-Jun-05 7:02 
GeneralRe: Menu in child window Pin
James R. Twine9-Jun-05 7:22
James R. Twine9-Jun-05 7:22 
GeneralRe: Menu in child window Pin
PJ Arends9-Jun-05 17:56
professionalPJ Arends9-Jun-05 17:56 
QuestionHow to Create A Shared Folder Pin
f29-Jun-05 6:41
f29-Jun-05 6:41 
GeneralailFreeing memory Pin
laiju9-Jun-05 4:57
laiju9-Jun-05 4:57 
GeneralRe: ailFreeing memory Pin
Cedric Moonen9-Jun-05 5:05
Cedric Moonen9-Jun-05 5:05 
GeneralRe: ailFreeing memory Pin
Budric B.9-Jun-05 5:13
Budric B.9-Jun-05 5:13 
GeneralRead a line from a text file Pin
bkphat9-Jun-05 4:34
bkphat9-Jun-05 4:34 
GeneralRe: Read a line from a text file Pin
toxcct9-Jun-05 5:18
toxcct9-Jun-05 5:18 
GeneralRe: Read a line from a text file Pin
James R. Twine9-Jun-05 5:49
James R. Twine9-Jun-05 5:49 
GeneralChanging the font of a control ( CStatic ) Pin
Maximilien9-Jun-05 4:34
Maximilien9-Jun-05 4:34 
GeneralRe: Changing the font of a control ( CStatic ) Pin
James R. Twine9-Jun-05 4:42
James R. Twine9-Jun-05 4:42 
GeneralRe: Changing the font of a control ( CStatic ) Pin
Maximilien9-Jun-05 5:32
Maximilien9-Jun-05 5:32 
GeneralRe: Changing the font of a control ( CStatic ) Pin
James R. Twine9-Jun-05 5:45
James R. Twine9-Jun-05 5:45 
GeneralRe: Changing the font of a control ( CStatic ) Pin
Michael Dunn9-Jun-05 6:55
sitebuilderMichael Dunn9-Jun-05 6:55 

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.