Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to open the project in VC6.0? Pin
ZoogieZork13-Dec-03 4:22
ZoogieZork13-Dec-03 4:22 
GeneralRe: How to open the project in VC6.0? Pin
zhaopzhi13-Dec-03 5:07
zhaopzhi13-Dec-03 5:07 
QuestionHow to only list my own posted messages in the forum? Pin
zhaopzhi13-Dec-03 3:35
zhaopzhi13-Dec-03 3:35 
AnswerRe: How to only list my own posted messages in the forum? Pin
ZoogieZork13-Dec-03 4:23
ZoogieZork13-Dec-03 4:23 
General(1)Overlay a text on DIB. (2)Merge 2 DIBs Pin
Saurabh_Delhi13-Dec-03 3:19
Saurabh_Delhi13-Dec-03 3:19 
Generalgetting RGB values from BMP Pin
Cyberizen13-Dec-03 1:00
Cyberizen13-Dec-03 1:00 
GeneralRe: getting RGB values from BMP Pin
Monty213-Dec-03 2:02
Monty213-Dec-03 2:02 
Generalfile execution,"open with" Pin
thes3cr3t113-Dec-03 0:58
thes3cr3t113-Dec-03 0:58 
hello,im looking for some information regarding executing files in c++,i have used the WinExec() function to execute files in a certain directory,however this file will only execute programs with the .exe file extension.
so if i want to open a file like soandso.txt how do i associate it with a program like notepad,or why dosent the .txt file open with its default asscociated Program?

for instance if i wanted to open a .pdf file,and im using the WinExec function why wouldnt the .pdf file automatically run in say adobe acrobat reader,or another e-book reader.
do i need to pass the file name as a parameter to a program or something?
any information would greatly be appriciated.

chris
GeneralRe: file execution,"open with" Pin
Michael P Butler13-Dec-03 2:24
Michael P Butler13-Dec-03 2:24 
GeneralRe: file execution,"open with" Pin
thes3cr3t113-Dec-03 2:52
thes3cr3t113-Dec-03 2:52 
GeneralRe: file execution,"open with" Pin
Anonymous13-Dec-03 6:20
Anonymous13-Dec-03 6:20 
GeneralRe: file execution,"open with" Pin
thes3cr3t113-Dec-03 8:56
thes3cr3t113-Dec-03 8:56 
Generalstring Hex to int Pin
Monty213-Dec-03 0:38
Monty213-Dec-03 0:38 
GeneralRe: string Hex to int Pin
Michael Dunn13-Dec-03 5:25
sitebuilderMichael Dunn13-Dec-03 5:25 
QuestionHow Can I determine the Connection State of My Local System? Pin
mfc_surfer13-Dec-03 0:35
mfc_surfer13-Dec-03 0:35 
AnswerRe: How Can I determine the Connection State of My Local System? Pin
Michael Dunn13-Dec-03 5:27
sitebuilderMichael Dunn13-Dec-03 5:27 
GeneralReading Outlook pst files Pin
Waleed Zedan12-Dec-03 22:15
Waleed Zedan12-Dec-03 22:15 
GeneralProgramming for Macintosh in visual c++. Pin
Atif Mushtaq12-Dec-03 22:06
Atif Mushtaq12-Dec-03 22:06 
GeneralRe: Programming for Macintosh in visual c++. Pin
Michael P Butler13-Dec-03 2:30
Michael P Butler13-Dec-03 2:30 
GeneralUNIX Gurus Pin
Jagadeesh VN12-Dec-03 20:59
Jagadeesh VN12-Dec-03 20:59 
GeneralGot the thread Handle, But still!!! Pin
Jagadeesh VN12-Dec-03 21:06
Jagadeesh VN12-Dec-03 21:06 
GeneralRe: UNIX Gurus Pin
Johnny ²12-Dec-03 22:03
Johnny ²12-Dec-03 22:03 
GeneralRe: UNIX Gurus Pin
Jagadeesh VN13-Dec-03 2:01
Jagadeesh VN13-Dec-03 2:01 
GeneralRe: UNIX Gurus Pin
markkuk13-Dec-03 0:22
markkuk13-Dec-03 0:22 
GeneralRe: Getting all exe running on Desktop Pin
l a u r e n12-Dec-03 20:18
l a u r e n12-Dec-03 20:18 

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.