Click here to Skip to main content
15,909,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcreating Menubar in dialog based prj. Pin
ashsri28-Nov-04 6:00
ashsri28-Nov-04 6:00 
GeneralRe: creating Menubar in dialog based prj. Pin
Nick Nougat29-Nov-04 5:30
Nick Nougat29-Nov-04 5:30 
GeneralHeader Pin
BRIMID28-Nov-04 4:35
BRIMID28-Nov-04 4:35 
GeneralRe: Header Pin
Member 153369528-Nov-04 5:53
Member 153369528-Nov-04 5:53 
GeneralRe: Header Pin
BRIMID28-Nov-04 6:05
BRIMID28-Nov-04 6:05 
GeneralRe: Header Pin
PJ Arends28-Nov-04 7:19
professionalPJ Arends28-Nov-04 7:19 
Generalglobal variables Pin
Tomate6628-Nov-04 4:21
Tomate6628-Nov-04 4:21 
GeneralOpen files Pin
vilmer28-Nov-04 2:39
vilmer28-Nov-04 2:39 
Hi everybody.
I need to open some files from my app. So I used do parse the register in order to obtain the default program and run it. For example, to open a pdf file I parsed the HKEY_CLASSES_ROOT for the ".pdf" key and got AcroExch.Document as value. Then I parsed again HKEY_CLASSES_ROOT for the "AcroExch.Document\shell\comman\open\" key and got the whole path of Acrobat Reader. Finally I opened the file using spawnl command.
With Acrobat it's almost all OK, but I neede to open html files too. And Internet Explorer doesn't work as Acrobat does, besides I got the right value of Ecplorer's path.

Any suggestion?
Is there any other way to open a file using its default program?

Thanks,


GeneralRe: Open files Pin
PJ Arends28-Nov-04 7:31
professionalPJ Arends28-Nov-04 7:31 
GeneralVideo Compression?! Pin
sabzee27-Nov-04 21:43
sabzee27-Nov-04 21:43 
GeneralUCS2 to String ... Pin
rasha200327-Nov-04 21:37
rasha200327-Nov-04 21:37 
GeneralRe: UCS2 to String ... Pin
rasha200330-Nov-04 4:06
rasha200330-Nov-04 4:06 
GeneralQuestion about CEdit and CSpinButtonCtrl Pin
Uwe Keim27-Nov-04 20:53
sitebuilderUwe Keim27-Nov-04 20:53 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
John R. Shaw28-Nov-04 9:21
John R. Shaw28-Nov-04 9:21 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim28-Nov-04 15:19
sitebuilderUwe Keim28-Nov-04 15:19 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Ryan Binns28-Nov-04 17:28
Ryan Binns28-Nov-04 17:28 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Michael Dunn28-Nov-04 20:43
sitebuilderMichael Dunn28-Nov-04 20:43 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim29-Nov-04 4:10
sitebuilderUwe Keim29-Nov-04 4:10 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim29-Dec-04 18:58
sitebuilderUwe Keim29-Dec-04 18:58 
GeneralMFC help for a beginner Pin
Member 153369527-Nov-04 15:45
Member 153369527-Nov-04 15:45 
GeneralRe: MFC help for a beginner Pin
John R. Shaw27-Nov-04 18:22
John R. Shaw27-Nov-04 18:22 
GeneralRe: MFC help for a beginner Pin
rasha200327-Nov-04 21:41
rasha200327-Nov-04 21:41 
GeneralRe: MFC help for a beginner Pin
Member 153369528-Nov-04 4:08
Member 153369528-Nov-04 4:08 
GeneralRe: MFC help for a beginner Pin
bitpusher28-Nov-04 7:46
bitpusher28-Nov-04 7:46 
GeneralProblem with derivation Pin
Cramp27-Nov-04 15:05
Cramp27-Nov-04 15:05 

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.