Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Posts
    4

    Huh? Right from table to TXT

    I am new to Autoplay
    I m trying to obtain the information from a system, which I am using the line below....

    LANINFO = System.GetLANInfo();

    Then I am trying to write the host name to a text file

    TextFile.WriteFromString("C:\\test.txt",LANINFO.ho st, true);

    I keep getting a attempt to concatenate global 'LANINFO"(a table value)

    Some assistance would be greatly appreciated.

  2. #2
    Join Date
    Oct 2006
    Location
    London, UK
    Posts
    351
    Try this code:
    LANINFO = System.GetLANInfo();
    TextFile.WriteFromString("C:\\test.txt", LANINFO.Host, true);

  3. #3
    Join Date
    Apr 2007
    Posts
    4
    Tried that and got them same error.

  4. #4
    Join Date
    Oct 2006
    Location
    London, UK
    Posts
    351
    Thats strange, i seem to get no error(s)?!

    Does anyone else get any error(s)?

  5. #5
    Join Date
    Nov 2006
    Posts
    233
    the code posted by mz241508 is fine, thats exactly as it should be...

  6. #6
    Join Date
    Apr 2007
    Posts
    4
    Got it, Not sure what I type wrong, but I got it. Thanks

Similar Threads

  1. Table questions
    By Dan Ullman in forum Setup Factory 7.0
    Replies: 2
    Last Post: 03-07-2007, 10:18 AM
  2. prob getting table to combobox
    By Jonas DK in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 01-05-2007, 04:56 PM
  3. How do I address a table whose name I know only as a variable?
    By JimS in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 08-24-2005, 07:37 AM
  4. string / table compare
    By gabrielfenwich in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 01-29-2005, 11:30 PM
  5. Creating a Table of Contents
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 11:35 AM

Posting Permissions

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