Print Preview ActiveX Active Users: 62 / Visits Today: 238
Highest Active Users: 99
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 LoadTextFile - Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: Tabulate - Function Topic Next Topic: zzz Default Values  

emiel
Administrator

Belgium
327 Posts

Posted - 07/18/2005 :  14:37:24  Show Profile
Function LoadTextFile

Action:

This function previews an entire text file.

Syntax:

LoadTextFile ( strPathFileName As String)

Remarks:

This function loads any text file from disk. If a .txt file is loaded it keeps it's layout but is previewed with the Font property settings as Name, Size, Bold etc.
RTF will show its markers.

Example:

To load a text file which loads directly at the current page at the CurrentX and CurrentY coordinates:

Preview.LoadTextFile ("C:\Test.txt")
Preview.EndDocument prOTscreen

To load a text file which loads directly onto the current page at a desired position the CurrentX and the CurrentY coordinates must be set in advance:

Preview.CurrentX = 500
Preview.CurrentY = 1000
Preview.LoadTextFile ("C:\Test.txt")
Preview.EndDocument prOTscreen

See also:

FileToString -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=364

[size=1]Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com


Edited by - emiel on 08/16/2006 11:47:11
Go to Bottom of Page
  Previous Topic: Tabulate - Function Topic Next Topic: zzz Default Values  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02