Share Items between Text Files
Today we’re going to enhance our Mini eMail Address Book further. We’re going to create a utility inside a DialogEx Pop-up. With this utility, we can share items between different Categories. Technically, we are transfering items between Text Files bridged by List Boxes.
When we first started entering items into our Address Book, we might have only 1 category with scores of email addresses. As the list grows bigger, it becomes harder for us to quickly get an email address of a person. It would be better to group these addresses into Categories. Definitely we don’t want to retype. With this utility, we save time by just transfering email addresses into preferred Categories.
From the above Screen Shot, you will notice I’ve placed another button called SHARE. This will open a Pop-up Dialog which contains 2 ListBoxes. Category selections are done using COMBO BOXES. We can multi-select Items in the SOURCE CATEGORY and transfer them to a TARGET CATEGORY.
Optimization of App
If you check the earlier example, we have lots of scripts written. Some of them are the same and for the same purpose at different places. Such codes can be transformed into Functions and placed in the Globals. When we need to use them, just place the function name where we need them to be at. This way, we reduce codes and relieve our minds to focus more on program logic. In this example, we’ll notice that our codes are far less, yet our project feature much more enhanced.
Please Login or Register to download this file.
Please leave a comment.
In the next example, we’ll see how to enhance this project further with a Search Utility . We’ll make descriptive alerts using labels. We’ll also validate name & email entries. We can also rename Categories. Thus making this simple project into a more intelligent one. It will be the last one on ListBox-TextFile Interactions.
Heres the plan.
In the next series, we’ll see how to apply this project directly as a Playlist on a Media Player, a Slide Show Image sorter, a File Cataloger & Launcher, a Digital Image Album, a Web Browser Book Marker and a Planner. That’s six examples in the works. Each with different objects, actions and plugins embedded to it. This section is exclusively for registered users who have made at least 5 comments in this blog.
And here’s the next plan.
We want to make our apps feature-rich and even more intelligent. We’ll replace Text Files which contains only 2 items with Text Files that can hold lots of items per line. Then we will use the best alternative, i.e. SQLite Database. And for integration with Open Document Software, we’ll replace SQLite with XML.
More really basic examples coming. Hope I have the time.


This very interest, now how do one make an e -mail address appear also with names