Solved

CALL EXE FILE FROM MAIN MENU

Posted on 2011-03-18
12
312 Views
Last Modified: 2012-05-11
Hi All,

I have several separated application.

I want to create a Main Menu application, where we could call those application above.

How could I do it ?

Thank you.
0
Comment
Question by:emi_sastra
  • 6
  • 6
12 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35166377
you can use Process.Start(path to your .exe)
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 35166487
Hi emoreau,

There are severals things you should know and some questions about it.

1. Each of the application, include the main menu has login.
2. How could we arrange it like it is just one set application, not many.
3. How to avoid recall again the same application.

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 35166497
After login at he main menu application, I don't want the user to login again when call another child application.

Thank you.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35166588
have you created all other applications or are those packages you don't have control over?

is there any way to pass credentials when you start the other applications?
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 35166609
I have all the control over those application.

What should I do to bypass the login and other information to child applications ?

Thank you.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35167075
you should modify these applications to accept encrypted credentials passed by arguments. if no valid credentials are passed, then you popup the login form.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 1

Author Comment

by:emi_sastra
ID: 35167101
I have no idea about it.

How could I do it on parent app and child app?

Would you please provide sample code ?

The login info just UserId and Password.

Thank you.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 35167676
I don't have an example to pass credentials.

for a general idea of how to pass arguments, check http://www.emoreau.com/Entries/Articles/2008/11/Passing-arguments-to-an-application-startup.aspx
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 35169759
I don't quite get it now.

In child app, where I trap the parameters ?

In parent app, how to call and pass the parameter to the child ?

In parent app, how to avoid the child app called / start again if the child app is running ?

Thank you.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35170140
the demo application in my article is an example of a child application receiving parameters
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35170141
to check if an app is running: http://www.dreamincode.net/code/snippet1541.htm
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 35171131
Ok.

Thank you very much for your help.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now