VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Build a Stateless Class

Mark Freni  (2 Submissions)   Data Structures   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

The example shows how to create a "Stateless" Class. By sending and receiving UDT's and disconnected recordsets you will find a significant increase in speed with your objects in a 3 tiered application. If you use collections, each time you get/set a property you make a network call. This method reduces network traffic.

Inputs
I declare a Public Type in the class module. In the user interface you need to declare the type in the procedure before you use it. Example: ' Dim udt as UdtTest

Assumes
The user needs to understand UDT's, ADO, and Classes

Returns
Each of the functions return a value

Rate Build a Stateless Class (4(4 Vote))
Build a Stateless Class.bas

Build a Stateless Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters