Re: create/use array from external txt file?
From: Amit (amitranjan_at_nospam.visualsoft-tech.com)
Date: 02/24/04
- Next message: obelix: "Re: ppc2003 application - WHY NOT IN TASK LIST???????"
- Previous message: Amit: "Re: Question about IR/COM port and registry"
- In reply to: Rissa: "create/use array from external txt file?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 09:49:00 +0530
Why not go for XML?...Its supported and will be a lot easier to parse it
compare to text file...
Regards
Amit
"Rissa" <rkarpoff@nw3c.org> wrote in message
news:%23SHG5vt%23DHA.3536@tk2msftngp13.phx.gbl...
> Question #2
>
> My TextBox loads various "chunks" of text depending on the menuItem
selected
> by the user. At the moment, I have broken all those chunks into separate
txt
> files. I would prefer to load all the text from a single file, and then
use
> an incremented variable to determine which chunk is displayed. The general
> idea would be to write the text file with something like:
>
> myText1=some text
> myText2=some other text
>
> And then the menuItemx_click handler would "tell" my program which text to
> show in the TextBox.
>
> Any input would be appreciated.
>
>
- Next message: obelix: "Re: ppc2003 application - WHY NOT IN TASK LIST???????"
- Previous message: Amit: "Re: Question about IR/COM port and registry"
- In reply to: Rissa: "create/use array from external txt file?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|