[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

RichTextbox without ocx

hello experts,


is it possible to use the richtextbox in visual basic,
but without the RICHTX32.ocx file?

since i can't be sure that is available on all windows installations....

thanks,

mark
0
Mark_FreeSoftware
Asked:
Mark_FreeSoftware
  • 2
  • 2
1 Solution
 
danaseamanCommented:
Yes. Add this control source code (.ctl and .ctx) and modules into your project and you do not need any OCX dependency.

http://www.vbaccelerator.com/codelib/richedit/richedit.htm

BTW. richtx32.ocx is not avaiable by default in Windows Vista. It can be installed easily via a package and deployment program but you must run the install with elevated privileges (run as administrator).
0
 
Mark_FreeSoftwareAuthor Commented:

is there not a light version available?
this one has way too much features...

0
 
danaseamanCommented:
Not that I am aware of.

I used to have a regular and light version of RichEdit but in the end there was only 30-40K gained with the light version that I decided to drop it. Too much work to maintain 2 versions of essentially the same control.

The only other free RichEdit out there is at http://www.mvps.org/emorcillo/download/vb6/ctl_riched.msi. but it also is not a light version and has dependencies of OleLib.Tlb and OleLib2.Tlb.  
0
 
JR2003Commented:
You should distribute the ocx with your application.
Just use a setup wizard like Package and Deployment Wizard to create a setup package.
0
 
Mark_FreeSoftwareAuthor Commented:

thank you danaseaman!


motivation for points assignment:

although it is not exactly what i'm looking for (too big,)
it answers the question that i asked. (is it possible...)
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now