Link to home
Start Free TrialLog in
Avatar of BlakeMcKenna
BlakeMcKennaFlag for United States of America

asked on

Need Immediate help about Class programming?

I have a new job where alot of the code is written in Classes. I am new to Class programming and I'm trying to grasp the concept of it and it's functions, subprocedures, and calls to the Class. I would like to handle all my data IO within the class module and keep my form modules relatively empty of code. I need to insert into my Class....module functions for Retrieving data, Saving data, Adding data, and Deleting data. I'm using ADO as my Record processing vehicle and a File DSN as my connection. I know how to write regular procedural code for IO in form modules but I'm not sure how to do it in Classes. Please help!!!

Thanks,

Blake
Avatar of yotamsher
yotamsher

Hey Blake

what language are we talking about?

Yotam
Avatar of Christopher Kile
I believe I recognize the conventions you're talking about.  You are discussing one of the visual Microsoft languages, and I'll take a swag and say you're talking about Visual Basic.

Relax.  The code for file and database I/O in classes is the same as it is for forms (which are just a specialized, er, form of a class in many respects).  Just as with forms, you can define procedures, functions, and, yes, even events.

ASKER CERTIFIED SOLUTION
Avatar of Christopher Kile
Christopher Kile
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BlakeMcKenna

ASKER

I'm using VB6