Results 1 to 2 of 2

Thread: Not sure if this is possible, please help...

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    1

    Not sure if this is possible, please help...

    Hey,
    I'm trying to make a monster database for a game I play. I have the form made the way I want it. I just want to have my program load the text file, and diplay the info when I click on different monsters.
    I want the text file to be in this kind of format:
    monstername,hp,attack,defence,
    and so on. The first column, monstername, I want to have put into a ListBox, and the rest into seperate text boxes. When I click on the monster in the ListBox, I want it to read the rest of that line, and put the right fields into the right text boxes, and when I click on another monster in the list, it'll read that line in the text file and plalce the right things into the right text boxes.
    I want to know, is this possible? and how?
    thanks in advance

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Not sure if this is possible, please help...

    Store the info in the text file as comma separated values.

    The connection string would be:

    http://www.able-consulting.com/MDAC/...CDriverForText

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width