Solved

RTF file & RTFbox

Posted on 2003-11-27
3
320 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 75 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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 In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

809 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