Results 1 to 2 of 2

Thread: Chuck it all in a module?

  1. #1
    Guest
    I've got about eight forms in my program, each of which is rounded and thus has code to create the region.

    Since the code on each form is identical (except 2 variables) would it be worth chucking it in a module and calling it from each form?

    Would this make any real speed difference? (slower or faster, I dunno)..

    Cheers
    Mafro

    ps, You can see my VB program at this site

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    Having a single point of mainenance is worth more than the speed difference (which would be close to zero anyway).
    Paul Dwyer
    Network Engineer
    Aussie In Tokyo

    Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)

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