hey all, long time no see.
i had to pick up VB programming again after i noticed a flaw in my previous masterpiece, went back to edit it and found that i had deleted the source files and everything. time to dust off the books and start over...
anyway, i'm trying to be a more efficient programmer this time around and use functions instead of subroutines to do repetitive work with different parameters.
i am about to write a function that will parse a long filename and shrink it down to the old DOS format. i can handle that much. what i need is some advice with how to properly set up such a function so that in the future if i ever need such a function again in a different program, i can easily pull it up and access it without having to vivisect the program i'm currently working on.
what would i have to do to go about this? from what i can tell modules have some part in this but i am unsure of how to set them up to do what i want to do here. do i make a new module for every specific function i may want to port?
thanks