Results 1 to 3 of 3

Thread: [RESOLVED] Lots and Lots O Forms.

  1. #1

    Thread Starter
    Addicted Member Tjoppie's Avatar
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    241

    Resolved [RESOLVED] Lots and Lots O Forms.

    Hi all,

    I am starting off with my vb.net project and I know already that I am going to have alot of forms. I expect over 50. Now if I have all these forms in the same project, Is everything going to compile into my single exe?

    How can I resolve this? I was thinking of adding new projects to my project and then setting them as class library. Then it creates dll's right?

    Do I then refer to forms in that class library the same way as if they would be in the same project?

    Thanks

    Rudi

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

    Re: Lots and Lots O Forms.

    Application projects automatically have references to library projects in the same solution, so you can use the classes from your libraries in your application no problem. You still need to import namespaces if you don't want to have to qualify the class names though.
    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

  3. #3
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: Lots and Lots O Forms.

    My project has 79 forms, 25 classes, 77 reports . The exe is currently 8628 kb.

    Regards
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

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