Re: create/use array from external txt file?

From: Amit (amitranjan_at_nospam.visualsoft-tech.com)
Date: 02/24/04


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.
>
>



Relevant Pages

  • Re: Reading a text file
    ... > I need to use VB6 to read in and parse through a text file one line ... If the file isn't too big read it all into a single string and use ... you'd like to work with in one piece then read chunks at a time and do the ...
    (microsoft.public.vb.general.discussion)
  • Large Document comparison problems
    ... So I broke the files into managable "chunks". ... One paragragh caused a bizarre problem in that everything after it ... the paragraph the same as the original, the delete/replace problem ... ran the compare. ...
    (microsoft.public.word.docmanagement)
  • Large Document comparison problems (attempt 2 :)
    ... So I broke the files into managable "chunks". ... One paragragh caused a bizarre problem in that everything after it ... the paragraph the same as the original, the delete/replace problem ... ran the compare. ...
    (microsoft.public.word.docmanagement)
  • Re: XML to inMemory Hash
    ... Is there any way to create chunks so that it wont parse the entire file. ... I am planning to solve my memory issue by making the XML into Chunks ...
    (perl.beginners)
  • Re: XML to inMemory Hash
    ... Is there any way to create chunks so that it wont parse the entire file. ... I am planning to solve my memory issue by making the XML into Chunks ...
    (perl.beginners)

Quantcast