Solved

RTF file & RTFbox

Posted on 2003-11-27
3
319 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

803 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