Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to combine programs

Posted on 2013-12-05
6
Medium Priority
?
165 Views
Last Modified: 2013-12-09
I have written numerous Reports for a company. Each report is a standalone Exe. Now they would like to do away with the individual icons and have a unified interface. That is, they would like to open one application and have the all the reports listed in this new application.

Had I known we were going in this direction, I would have created DLLs for each report so they could be referenced in a Unified application. But now I have about a dozen report exe's.

What are some ways that I might use those exe's in a single application?

Thanks,
pat
0
Comment
Question by:mpdillon
[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
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:NARANTHIRAN
ID: 39697970
Hi Mpdillon,
                 You can consolidate all the report's into one exe by creating a new application in VB.net and open each exe by clicking the command button in your new application.
0
 

Author Comment

by:mpdillon
ID: 39698000
Naranthiran,

Thanks. I have a few follow up questions. Are you suggesting using the shell command?

If I do that, how do I handle the deploy? Would I have to first install all the Reports, one at a time so that the new application can call them? It would be preferable to have the single application install/update the individual reports. It is more desirable to install one application rather than a dozen on each computer.
0
 
LVL 5

Expert Comment

by:NARANTHIRAN
ID: 39700166
Mpdillon,
              No not using shell command.
I would suggest you to keep the all the report application in a place and call it in the new  application....

So you need to install only the new application in all the places,  The new application will call the sub applications. What report do you use....
0
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!

 

Author Comment

by:mpdillon
ID: 39700896
I created a new VB project. I added the report project (Menu:File>ADD>Existing Project). I placed a button on the new project form. But in that button's CLICK event, I do not know how to start the report program I added.
The report program I added is "StockStatusView". I do not seem to be able to create an instance of the "StockStausView" in the New program's button CLICK event.
Could you please help with a code sample. such as

DIM rpt as ???????????

Dim rpt as New StockStatusView <== Error "Type is not defined"
or
DIM rpt as StockStatusView <== Error "Type is not defined"

StockStatusView's start up FORM is frmDate. I cannot instantiate that form either.

thanks.
0
 
LVL 5

Accepted Solution

by:
NARANTHIRAN earned 1500 total points
ID: 39702680
Try adding the path of the  stockstatusview exe in the button click event...
So when you click the button the stockstaus exe will be executed the and you can view the reoprts...
0
 

Author Closing Comment

by:mpdillon
ID: 39705869
The concept is correct but the code was never offered.
I am using ProcessStart. But I do not know how to make this work with a ClickOnce application. ProcessStart requires a full path for anything not in the System32 folder. ClickOnce applications are installed under an obfuscated folder under the user. I do not know how to make this work for all users on all workstations.
0

Featured Post

Industry Leaders: 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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Screencast - Getting to Know the Pipeline

610 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