|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Project consisting of multiple projectsHello -
I have an application I've been working on which is basically a combination of four different applications. The users want to be able to access all applications from one spot. Two of the applications consist of five forms each. I used a tab strip for user access to each of the four applications. Thus far, I have only incorporated two of the applications. The thought just occurred to me, should I have designed this to consist of four projects in one solution? If I do that, what would be the best way for users to access the different projects? -- Sheldon =?Utf-8?B?U2hlbGRvbg==?= <Shel***@discussions.microsoft.com> wrote in
Show quoteHide quote news:0BAEAD02-8364-4678-AC0F-C3DCA55222F6@microsoft.com: If they are four separate apps, you will have to create an app launcher > Hello - > > I have an application I've been working on which is basically a > combination of four different applications. The users want to be able > to access all applications from one spot. Two of the applications > consist of five forms each. I used a tab strip for user access to > each of the four applications. > > Thus far, I have only incorporated two of the applications. The > thought just occurred to me, should I have designed this to consist of > four projects in one solution? If I do that, what would be the best > way for users to access the different projects? > appliation and spin up the different apps based on the user's input (which app he wishes to open). if you have defined the actual app logic in class libraries, you can merge the apps into a single application, but if they are truly separate apps, you will have to launch them. NOTE: You can launch apps from inside your other apps, but be careful if only one instance should be opened, as they can go on a launch fest and possibly create issues. NOTE: Launching separate apps is generally done via a Process object. -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ******************************************* | Think outside the box! | ******************************************* Thanks for your response, Gregory. You mentioned the following:
>NOTE: You can launch apps from inside your other apps, but be careful if How would I prevent this from happening? Is there some way to close down >only one instance should be opened, as they can go on a launch fest and >possibly create issues. one application when they click on another tab? How can I test to see if this is happening? -- Show quoteHide quoteSheldon "Gregory A. Beamer" wrote: > =?Utf-8?B?U2hlbGRvbg==?= <Shel***@discussions.microsoft.com> wrote in > news:0BAEAD02-8364-4678-AC0F-C3DCA55222F6@microsoft.com: > > > Hello - > > > > I have an application I've been working on which is basically a > > combination of four different applications. The users want to be able > > to access all applications from one spot. Two of the applications > > consist of five forms each. I used a tab strip for user access to > > each of the four applications. > > > > Thus far, I have only incorporated two of the applications. The > > thought just occurred to me, should I have designed this to consist of > > four projects in one solution? If I do that, what would be the best > > way for users to access the different projects? > > > > > > If they are four separate apps, you will have to create an app launcher > appliation and spin up the different apps based on the user's input (which > app he wishes to open). > > if you have defined the actual app logic in class libraries, you can merge > the apps into a single application, but if they are truly separate apps, > you will have to launch them. > > NOTE: You can launch apps from inside your other apps, but be careful if > only one instance should be opened, as they can go on a launch fest and > possibly create issues. > > NOTE: Launching separate apps is generally done via a Process object. > > > -- > Gregory A. Beamer > MVP; MCP: +I, SE, SD, DBA > > Twitter: @gbworld > Blog: http://gregorybeamer.spaces.live.com > > ******************************************* > | Think outside the box! | > ******************************************* > =?Utf-8?B?U2hlbGRvbg==?= <Shel***@discussions.microsoft.com> wrote in
news:463DF100-8C96-4A37-BD52-6693DE91CF3A@microsoft.com: here is an article for checking if an app is already running or not:> Thanks for your response, Gregory. You mentioned the following: > >>NOTE: You can launch apps from inside your other apps, but be careful >>if only one instance should be opened, as they can go on a launch fest >>and possibly create issues. > > How would I prevent this from happening? Is there some way to close > down one application when they click on another tab? http://www.codeproject.com/KB/dialog/PrevInstance.aspx As for shutting down an application that is running, I know you can do this with PInvoke on the windows libs with the application handle. I do not have a link or code sample for this. If you go this route, be sure you have a cleanup on shutdown for your apps, just in case they had something open in edit mode. -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ******************************************* | Think outside the box! | *******************************************
Other interesting topics
object properties presentation
flicker when restraining one form to only move within the bounds of another Call button click event Sharing data WinForm Running as Win32 Service? Saving and retrieving WinForm template info Validating Event Bug How to include ampersand (&) in button text Converting from Access How to override message loop in winforms application |
|||||||||||||||||||||||