| | |
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
Views: 25081 | Replies: 16
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 access activex add ado application banned basic beep bmp box c++ calculator click client code coffeehouse college column convert copy creative database designer desktop dissertations dissertationthesis edit error excel file filter flex form hardware header ide image implements inboxinvb installation installer interaction keypress listview looping machine macro mail match memory messagebox microsoft number open pause pdf picture pos prime print program programmer prompt query random range range-objects readfile registration remotesqlserverdatabase report reports retrieve save score search sites spectateswamp sql string struct subroutine table textbox time timer variable variables vb vb6 vb6.0 vba vista visual visualbasic web window windows




Thanx, I have my moments...

