Results 1 to 5 of 5

Thread: [RESOLVED] Solution with asp.net website project, wpf project, windows project startup question

  1. #1

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Resolved [RESOLVED] Solution with asp.net website project, wpf project, windows project startup question

    Hi,

    We have an upcoming large project that has multiple class libraries,and different types of user interfaces such as asp.net website, windows forms project, wpf project..I mean, each of the projects have specific ways to show the startup form/page..

    My question is how would I display a specific startup page/form during compilation or runtime given I have multiple projects?

    To explain further, here's the scenario...

    First, if I would test the login page (aspx) which is inside the solution..So if I press F5, the aspx login page would show.. (win form and wpf wont show)

    Next, I want to test the wpf login form..If I press F5, wpf login form would show..(aspx and win form wont show)

    Next, I want to test the windows form..If I press F5, windows form login screen would show...(wpf and aspx wont show)

    Is there a setting that I would change in visual studio 2008? Hope you get my point...

    Thanks...

    Greg
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  2. #2
    Member cyberM's Avatar
    Join Date
    Mar 2009
    Location
    Croatia , Zagreb
    Posts
    61

    Re: Solution with asp.net website project, wpf project, windows project startup quest

    Because you say that you have multiple projects with many forms, sites and so on try this
    menu project -> Set as start project(chosen project with project start page to display).
    If you satisfied add to reputation





    PhotoResizer GDI+Shape form,shape inside

  3. #3

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Re: Solution with asp.net website project, wpf project, windows project startup quest

    Thank you cyberM...The project/solution that was given to us is in Csharp and not in vb...But the concept is still the same...So I'm posting a detailed instruction on this..

    Csharp version:
    1. Click the solution in the solutions explorer
    2. Click the project menu - > set startup projects
    3. On the solution property page, click Single Startup project
    4. Choose the website/wpf/winform you want to specify in the startup
    drop down
    5. apply -> ok

    Cheers...

    Greg
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] Solution with asp.net website project, wpf project, windows project st

    Wouldn't you just right-click the project in the Solution Explorer and select Set As Startup Project? Also, you can start any project from a right-click whether it's the startup project or not.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Re: [RESOLVED] Solution with asp.net website project, wpf project, windows project st

    Tnx dude..I just discovered a while ago..Tnx for the including it...
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

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