Unbound |
Post Reply |
Author | |
Michael Forbes
Contributor Joined: 24 Jun 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 10 Jul 2008 at 5:33am |
This VB6 applet connects to a JET database just long enough to load the contents of a table into a listview control in the VB application, then discards the database connection (just the link, not the actual file). Label editing is set to 'manual' in the listview, so to change data, just click on the row you want to edit. The form_unload event creates another new instance of the database connection and then automatically runs through each listitem in the listview, updating the database to match any changes made by the user. It then discards the database connection again. The advantage of doing this is that the database is never opened for more than the time it takes to load the controls on the form; this is as opposed to databound controls, which can have the unfortunate effect of locking the database in a way that prevents modifications by the developer/administrator. 5) VB6 FE/A2K BE
Download VB6 FE/A2K BE: uploads/12/Unbound.zip |
|
--
Email: cognos.pax@gmail.com No additional terms/restrictions. Distribute freely, copy freely, no need for credit. |
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |