Hello people,
I wonder if there is someone out there who could possibly help me. I am still quite a novice at VB.net but have been given this task and feel .net is the way to progress.
We have a web booking system written in perl. There are configuration files in the following sample format...
There are many of these structured files and they are concerned with languages, preferences, text, graphics etc..
I want to set this up in a GUI where users can amend the contents of these files using a type of propertyGrid control interface or something...
My question is this:- Is there an easy way using vb.net to transform this type of data structure into something more workable...?
Thank you for your time and any help would be much appreciated..
I wonder if there is someone out there who could possibly help me. I am still quite a novice at VB.net but have been given this task and feel .net is the way to progress.
We have a web booking system written in perl. There are configuration files in the following sample format...
Code:
%SKY_PREFS = (
CITY_DATA => {
CITIES => {
EDI => {
name => 'Edinburgh',
zulu_dst => 1,
zulu => 0,
valid_orig => 'true',
valid_dest => 'true',
routes => [ 'ARN', 'CPH' ],
currency => 'GB',
country => 'UK',
},
LGW => {
name => 'London (Gatwick)',
zulu_dst => 1,
zulu => 0,
valid_orig => 'true',
valid_dest => 'true',
routes => [ 'AAL', 'ARN', 'BLL', 'CPH' ],
currency => 'GB',
country => 'UK',
},
},
},
CURRENCY_DATA => {
DEFAULT_CURRENCY_CODE => "EU",
CURRENCIES => {
DK => {
description => 'Danish Kroner (DKK)',
prefix => '',
suffix => 'DKK',
decimal => ',',
thousands => '.',
},
GB => {
description => 'British Pounds',
prefix => '',
suffix => 'GBP',
decimal => ',',
thousands => '.',
},
},
); # End %SKYLIGHTS_PREFS
1; # Return "true"
There are many of these structured files and they are concerned with languages, preferences, text, graphics etc..
I want to set this up in a GUI where users can amend the contents of these files using a type of propertyGrid control interface or something...
My question is this:- Is there an easy way using vb.net to transform this type of data structure into something more workable...?
Thank you for your time and any help would be much appreciated..