Results 1 to 3 of 3

Thread: Solution with 4 projects?

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Solution with 4 projects?

    I am creating an application that is actually 4 seperate executables - UI is one and then 3 background services (console apps - no FORM's).

    I believe I can do one solution with 4 projects - would that be the recommended method? If a transmission class is common to all 4 would I make that a separate project or put it in one project and share that folder with the others?

    Can I have all 4 projects START when you click RUN?

    Does the OUTPUT window and other debug windows work with all 4 projects?

    Or is it better to make them 4 solutions for debugging purposes?

    Thanks in advance!!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    Frenzied Member
    Join Date
    Nov 2010
    Posts
    1,470

    Re: Solution with 4 projects?

    if you are talking about the source files and components of your project

    you can have then kept in any directory you wand and bring them into play as an when required

    what you must do is be sure that and fix or improvement you made the the files and components has no adverse effect on any other programs use of it

    what do you think all those dlls are in windows/system32

    most people take a bout libraries - places where you keep things you can call upon when needed

    here to talk

  3. #3
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    Re: Solution with 4 projects?

    Put all of the EXE projects in your one solution ... you can then reference them from your master project and call whatever you want out of them (that is public)... therefore load forms / use functionality... I do this all the time with my projects ... since i migrated to .Net it is rare that i create a dll now ... I useually create exe files so that i can do stuff with them later if i want ...

    For example with my jukebox software that i make i have a exe file that is called database.exe, this is referenced by my jukebox ... if the user fires up the jukebox it uses functions out of this to read data from my custom database. If they run the database.exe file directly it shows them management options for the database (eg song lists, clear user ratings, etc).

    Kris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width