CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2011
    Posts
    1

    Need some help! Forms and Calculating totals

    I'm doing a project for class using visual Basic. What I'm stuck with is that I want to use Form2 as my first form. So, when you click start, Form2 is the first to show and by clicking the button, Form1 shows up. Does anyone have any sample codes or something in order to do that?

    Also, I'm having trouble with calculating my totals. I'm doing an accumulated total and have made 2 variables ( accumulated and running) but I don't know how exactly to add them to make one collective total.

    Please help! Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Need some help! Forms and Calculating totals

    Properties let you choose WHICH form is the first form in your app. You need to look at the various settings, and read up on the Internet. It's a drop down.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Need some help! Forms and Calculating totals

    Click Project, Project1 Properties.... There is an option to change the StartUp form..

Tags for this Thread

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

Featured