Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Posts
    29

    Huh? Formating a text or htm file HELP !!!!

    Hello,

    Im having a problem importing a text file for viewing as a paragraph.

    Here are a list of steps im performing.

    1. call msinfo32.exe to write to a file named vendor.txt or .htm.
    2. I then read this text to a table abd or string
    3. I then send it to a paragraph....fails as text works as web object.


    Here is what I think the problem is AMS cannot read unicode. If I save this file as .htm I can display it in a web object no problem. But it is unformatted and looks like a bunch of garbage. If I save it as .txt and attempt to view it in a paragraph it bombs. Below is a sample of the text I need .... I have no idea how to format it so that it looks decent. Nor can i display it .. any help would be appreciated



    *******************sample text***********************
    System Information report written at: 08/30/2005 11:12:23 AM
    [System Information]

    [ Following are sub-categories of this main category ]

    [System Summary]

    Item Value
    OS Name Microsoft Windows 2000 Professional
    Version 5.0.2195 Service Pack 4 Build 2195
    OS Manufacturer Microsoft Corporation
    System Name USHQ7685BURNER
    System Manufacturer IBM
    System Model 679021U
    System Type X86-based PC
    Processor x86 Family 15 Model 1 Stepping 2 GenuineIntel ~1794 Mhz
    BIOS Version PhoenixBIOS 4.0 Release 6.0 for IBM NetVista.
    Windows Directory C:\WINNT
    System Directory C:\WINNT\system32
    Boot Device \Device\Harddisk0\Partition1
    Locale United States
    User Name MPI\lfahey
    Time Zone Central Daylight Time
    Total Physical Memory 260,848 KB
    Available Physical Memory 11,096 KB
    Total Virtual Memory 893,304 KB
    Available Virtual Memory 201,340 KB
    Page File Space 632,456 KB
    Page File C:\pagefile.sys

  2. #2
    Join Date
    Aug 2003
    Posts
    29

    More Information

    Hello,


    Ok I am now able to read the file... i simply convert it to an ansi file . Then bring it in as a string. But i still need to be able to format it....

Similar Threads

  1. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  2. html print
    By SonHouse in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 02-28-2004, 07:39 PM
  3. Writing Text to a File
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-22-2003, 02:02 PM
  4. Text File Actions
    By csd214 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-06-2001, 12:50 AM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

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