Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

VS 2010 User-Based Iterating

$
0
0
Hi All,

I've been developing an application that reads in data to a database. The file has 'tags' in it, that define the start and end to each database "field" if you will.

I've been hard-coding my tags but I'd like to make this app more user friendly by allowing the user to specify their criteria right in the app itself.

And I'd also like my users to be able to make as many of these routines as possible.

So, for example, a user may enter the following:
ROUTINE NAME: SCAN 1
And then they should be able to add as many "fields" as they want, and they may enter something like:
TAG1 Start Phrase: "[TSTART1]"
TAG1 End Phrase: "[TEND1]"
TAG1 DB Field: "TAG1_DATA"

The data file may say something like this:

"This is a test database file. [TSTART1]Here is the data I want to add to the database.[/TEND1] Here is some other information. Other tags could follow, or other data like this can be ignored, since there are no more "tags" in this routine.

In theory, I'd like the user to enter as many ROUTINES as possible and within each routine, be able to define as many TAGS as they'd like too.

Since I'm knew to programming, can anyone suggest best programming logic/ideology on how to make this work? Also, where should I save their routine information and tag information? In an INI file? TXT File? Registry?

Viewing all articles
Browse latest Browse all 27349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>