What is the difference between a Module, Class and Component? They all seem similar to me. I have worked with Modules in VBA before, now that I am into ASP an VB I have Classes and Components as well.
I am attempting to build 2 functions. 1 to populate objects, the other to execute nonquerys. The would reduce the amount of code I have to write per control.
I tried a component class and that didn't work when I attempted to call the pulbic function, I tried a class and that did not work when I attempted to call the function. I finally tried a Module and now I can call the function and pass the variables and everything works.
Why is that though? Thank you in advance.
Jason Meckley
Database Analyst
WITF
I am attempting to build 2 functions. 1 to populate objects, the other to execute nonquerys. The would reduce the amount of code I have to write per control.
I tried a component class and that didn't work when I attempted to call the pulbic function, I tried a class and that did not work when I attempted to call the function. I finally tried a Module and now I can call the function and pass the variables and everything works.
Why is that though? Thank you in advance.
Jason Meckley
Database Analyst
WITF