Indigo Rose Software
  #1  
Old 09-26-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin Loading and Displaying a Text File

AutoPlay Media Studio 5.0 Knowledge Base

Loading and Displaying a Text File

Document ID: IR10053
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to load and display a text file.

DISCUSSION

To display a large amount of text on your page use the TextFile.ReadToString action, and display the results in a paragraph object.

To accomplish this in AutoPlay Media Studio 5.0:

  1. Choose Object > Paragraph from the menu.

  2. Insert the following code into any event in your application:

    text = TextFile.ReadToString("AutoPlay\\Docs\\large_text.txt");
    Paragraph.SetText("Paragraph1", text);

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | TextFile | TextFile.ReadToString

KEYWORDS: AutoPlay Media Studio 5.0, Open, Text, File, Paragraph


Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 03:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software