Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOpen a Url the user has entered form a text box Pin
BrockCooper11-Jul-08 20:58
BrockCooper11-Jul-08 20:58 
AnswerRe: Open a Url the user has entered form a text box Pin
Hamid_RT1-Jul-08 21:01
Hamid_RT1-Jul-08 21:01 
GeneralRe: Open a Url the user has entered form a text box Pin
ThatsAlok1-Jul-08 22:49
ThatsAlok1-Jul-08 22:49 
AnswerRe: Open a Url the user has entered form a text box Pin
Jagdish V. Bhimbha2-Jul-08 0:01
Jagdish V. Bhimbha2-Jul-08 0:01 
GeneralRe: Open a Url the user has entered form a text box Pin
BrockCooper12-Jul-08 0:07
BrockCooper12-Jul-08 0:07 
GeneralRe: Open a Url the user has entered form a text box Pin
Jagdish V. Bhimbha2-Jul-08 0:19
Jagdish V. Bhimbha2-Jul-08 0:19 
GeneralRe: Open a Url the user has entered form a text box Pin
Alan Balkany2-Jul-08 4:16
Alan Balkany2-Jul-08 4:16 
QuestionAny Program Using SaferGetLevelInformation Function Pin
Aabid1-Jul-08 20:52
Aabid1-Jul-08 20:52 
AnswerRe: Any Program Using SaferGetLevelInformation Function Pin
Saurabh.Garg1-Jul-08 20:56
Saurabh.Garg1-Jul-08 20:56 
Questionproblem in tapiRequestMakeCall Pin
guru moorthy.k1-Jul-08 20:48
guru moorthy.k1-Jul-08 20:48 
AnswerRe: problem in tapiRequestMakeCall Pin
Saurabh.Garg1-Jul-08 20:57
Saurabh.Garg1-Jul-08 20:57 
GeneralRe: problem in tapiRequestMakeCall Pin
guru moorthy.k1-Jul-08 21:18
guru moorthy.k1-Jul-08 21:18 
GeneralRe: problem in tapiRequestMakeCall Pin
Hamid_RT1-Jul-08 21:25
Hamid_RT1-Jul-08 21:25 
GeneralRe: problem in tapiRequestMakeCall Pin
Saurabh.Garg2-Jul-08 17:09
Saurabh.Garg2-Jul-08 17:09 
GeneralRe: problem in tapiRequestMakeCall Pin
Hamid_RT2-Jul-08 18:26
Hamid_RT2-Jul-08 18:26 
GeneralRe: problem in tapiRequestMakeCall Pin
Saurabh.Garg1-Jul-08 21:40
Saurabh.Garg1-Jul-08 21:40 
GeneralRe: problem in tapiRequestMakeCall Pin
guru moorthy.k1-Jul-08 23:00
guru moorthy.k1-Jul-08 23:00 
GeneralRe: problem in tapiRequestMakeCall Pin
guru moorthy.k2-Jul-08 0:33
guru moorthy.k2-Jul-08 0:33 
GeneralRe: problem in tapiRequestMakeCall Pin
Saurabh.Garg2-Jul-08 3:18
Saurabh.Garg2-Jul-08 3:18 
GeneralRe: problem in tapiRequestMakeCall Pin
Alan Balkany2-Jul-08 4:20
Alan Balkany2-Jul-08 4:20 
AnswerRe: problem in tapiRequestMakeCall Pin
Hamid_RT1-Jul-08 20:58
Hamid_RT1-Jul-08 20:58 
QuestionDetermining how an EXE was started Pin
Harirajan1-Jul-08 20:41
Harirajan1-Jul-08 20:41 
AnswerRe: Determining how an EXE was started Pin
Saurabh.Garg1-Jul-08 21:08
Saurabh.Garg1-Jul-08 21:08 
GeneralRe: Determining how an EXE was started Pin
Harirajan1-Jul-08 21:18
Harirajan1-Jul-08 21:18 
Thanks.

I am developing an dialog Based MFC application whic has two mode of operation. One is Configuration mode another one is Execution mode. Configuration mode is used by the Administrator where as Execution mode is used in the client. In configuration mode user admin is shown with configuration dialog but in execution mode the exe will run as a background process so the client user will not be provided with any interface.

In Configuration mode the admin has to explicitly run the exe by "Double click/ Right click and select ". But in execution mode exe will be invoked from the scheduler.

So if i know the Startup mode of an exe i can able to launch the application according to that. That is if the start up mode is "double click on exe " i will run the exe in configuration mode and show the dialog to the admin. If the startup mode is "Invoking from other process" then i will just run the exe as a background process.

Hope u might have understood my requirement.

Now pls tell me how can i go about it? Or tell me some other method in which i can meet my requirement.

Thanks in advance.

Hariharan R

GeneralRe: Determining how an EXE was started Pin
Saurabh.Garg1-Jul-08 21:25
Saurabh.Garg1-Jul-08 21:25 

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.