View Single Post
Old May 30th, 2007, 10:56 AM   #1
ryan79
Newbie
 
Join Date: May 2007
Posts: 1
Rep Power: 0 ryan79 is on a distinguished road
Newbie question - 1 or mult. class modules?

I'm trying to create a program in VB which will calculate various physical properties for a chemical stream.
I want to make it a function based call where the user can simply type in excel =ViscosityOfStream(highlight cells of the names of the components, highlight cells for the weight percents, temperature).
I want to make this is as easy to understand as possible - and w/ that - easy for someone else to pick up where i leave off on this project.

So to my question - Should i make 1 class module and make everything a subset of that, or would it make more sense to make multiple class modules based on the physical property.

This get's confusing because some calculations will rely on what else is in the stream w/ it rather than just averaging based on the mole fractions or weight percents.

As i read through this post, i'm afraid no one will understand what i'm talking about - BUT we'll give it a try anyhow.

Thanks!
ryan79 is offline   Reply With Quote