Solved

CALL EXE FILE FROM MAIN MENU

Posted on 2011-03-18
12
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 70

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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 70

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 70

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
 
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 70

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 70

Expert Comment

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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