?
Solved

RTF file & RTFbox

Posted on 2003-11-27
3
Medium Priority
?
342 Views
Last Modified: 2010-05-01
Hi

How can I read a RTF (.rtf) file (with aisan language) & append
to a RTFBox control in run-time ?

Note :

RTFbox's control can append text :- RTFbox.appendtext("This is a sample line.")

But how can I declare a doc which read RTF (.rtf) or (.doc) file with aisan language in it ?
And then append the text into the textarea of RTFbox control ?

Thanks & Rgds
Heng
0
Comment
Question by:heng03
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Tai-San earned 150 total points
ID: 9832096
that must be
RTFbox.SelText = "your text here"

or maybe you have to use something with openfile, i think its called RTFbox.OpenFile "filepath"
can't remember it intirelly
0
 

Author Comment

by:heng03
ID: 9832474
Hi Tai-San

RTFBox do not have anything like openfile etc. Also seltext is for the RTF content already
in the RTF box.

Any can help.

Thanks & Rgds
Heng03
0
 

Author Comment

by:heng03
ID: 9832501
Hi Tai-san

I found that it is loaadfile().

Thanks & Rgds
Heng03
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question