| | |
USING CLASSES in VB6
![]() |
•
•
Join Date: Aug 2004
Posts: 19
Reputation:
Solved Threads: 0
Hi,
If you want to develop a complete Database Application using classes, I would advise you to refer this book Titled:" Develop an Accounting package using vb and SQL server 2000".
You can build a class to access data (through methods) from SQL server, update data, Managing Connection and any business logic you want build in client side.....
I read this book and developed full accounting Client/server package.
Regards
bhar
If you want to develop a complete Database Application using classes, I would advise you to refer this book Titled:" Develop an Accounting package using vb and SQL server 2000".
You can build a class to access data (through methods) from SQL server, update data, Managing Connection and any business logic you want build in client side.....
I read this book and developed full accounting Client/server package.
Regards
bhar
•
•
Join Date: Aug 2004
Posts: 19
Reputation:
Solved Threads: 0
Hi,
When we want to reuse a functionality, Classes can be used. A module for instance, could be used for a particular form only.
In an accounting application a Class can be used in the following instances:
a.When we want to access data from a database
b.Log in feature in the application
c.Adding data
In the title "Develop an Accounting Package using VB", i have dealt with this topic in detail....A class has been developed and when we save data into the database, retreive, edit, adding and displaying data. All the financial transactions use the Class - Tran Class.
If you notice, suppose we have a Cash Payment transaction, this transction uses the same class as the Cash Voucher transaction uses. I have dealt with how to design single form, and use the same form for different transactions like CV, CP etc, which is OOPs.
If we use a module, we will need to create separate modules .....
Each entity also can be created as a class.
Class based design forces us to think ahead in terms system design and implenting the requirements in a project and thus save on all resources like time, money etc.
Regards
Bhar
When we want to reuse a functionality, Classes can be used. A module for instance, could be used for a particular form only.
In an accounting application a Class can be used in the following instances:
a.When we want to access data from a database
b.Log in feature in the application
c.Adding data
In the title "Develop an Accounting Package using VB", i have dealt with this topic in detail....A class has been developed and when we save data into the database, retreive, edit, adding and displaying data. All the financial transactions use the Class - Tran Class.
If you notice, suppose we have a Cash Payment transaction, this transction uses the same class as the Cash Voucher transaction uses. I have dealt with how to design single form, and use the same form for different transactions like CV, CP etc, which is OOPs.
If we use a module, we will need to create separate modules .....
Each entity also can be created as a class.
Class based design forces us to think ahead in terms system design and implenting the requirements in a project and thus save on all resources like time, money etc.
Regards
Bhar
![]() |
Similar Threads
- Help on Creating Class in VB6 (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Can some one help me with this code plz
- Next Thread: how to pass a form to another form
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows




Thanx, I have my moments...

