Solved

CALL EXE FILE FROM MAIN MENU

Posted on 2011-03-18
12
315 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 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with adding DLL file in Windows project 20 40
Help with opening combobox using VB.NET. 3 25
Iteration Help (Asp.net VB) 5 24
Looping through datagridview and dataset ? 6 24
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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