VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Advanced Form Containers

by Slider (19 Submissions)
Category: Debugging and Error Handling
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (20 Votes)

The purpose of this demonstration application is to illustrate advanced techniques in using forms within the application or in an process (not remote) DLL to encapsulate functionality without effecting usability.
The key benefit of using an in-process DLL is in application distribution. If a change is made to only one part of the application contained in a DLL, then only the DLL needs to be distributed. Another benefit could include cross application useability.
An example of where this might be useful is if we have an inventory application and we want to view the suppliers on the same screen with the stock item or view all stock items on the suppliers screen. A common viewport is used to display associated information. If we are looking at the supplier screen, other information can be displayed in the common view port and could include outstanding orders, reports, historical data, etc. Each screen of data would be stored in their own forms.
The same information is displayed in both of the inventory application examples but requires no double coding as each form encapsulates the code for the interface and functionality/business-logic. For this to work, an interface class would be created and implemented into each form creating a common method of communicating.
A Form can be both a parent and child. The viewport on each parent form would be enabled or disabled depending if it was the parent or child form.
Vote for this project and Happy Coding...

Rate Advanced Form Containers

Download Advanced Form Containers

Download Advanced Form Containers (21 KB)

Advanced Form Containers Comments

No comments have been posted about Advanced Form Containers. Why not be the first to post a comment about Advanced Form Containers.

Post your comment

Subject:
Message:
0/1000 characters