By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,852 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,852 IT Pros & Developers. It's quick & easy.

Lebans RTF2 Active X control - How to load contents from DOC or RTFfile at run time

P: n/a
Lebans RTF2 Active X control - How to load contents from DOC or RTF file
at run time????

Bob
Mar 21 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Bob,
I don't know why RTF2 does not expose the LoadFile method as it exists in my
source code. It looks like my source is out of date with the current release
of the control.

You can simulate LoadFile by simply opening the disk file, reading its
contents into a string, and then set the control's RTFText property to this
string. If you search via GoogleGRoups, I'm sure myself or someone posted
the necessary code.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Bob Alston" <bo********@yahoo.comwrote in message
news:_2*************@newsfe06.lga...
Lebans RTF2 Active X control - How to load contents from DOC or RTF file
at run time????

Bob

Mar 22 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.