10-18-2012 07:41 AM
In the past I use the Rich Textbox example (\samples\userint\activex\richTextxbox.prj) in Windows XP (CVI 2010 SP1).
Now I noticed that this example doesn't work in Windows 7 64-bit because the ActiveX is not registered on the system (see attached error.jpg).
Isn't this control installed by CVI IDE itself?
How can I get this example working on my Win 7 64-bit machine?
Solved! Go to Solution.
10-19-2012 10:14 AM
Hi Vix
It looks like the Rich Textbox control component provided by one of the VB runtimes is no longer included by default with Windows 7.
I have been able to manually register the ActiveX control using Regsvr32 as described in the following Microsoft KB.
I was able to download the needed ActiveX control from here and from there you need to copy the .ocx ActiveX control to your C:\Windows\SysWOW64 directory. Open up a command prompt as administrator and run 'REGSVR32 RICHTX32.OCX'.
SysWOW64 is the 'Windows On Windows' emulation directory which is used for running 32 bit controls in a 64 bit environment.
I realise this isn't the best solution as it will make application deployment a little more complicated, another solution may be to use another RTF ActiveX control such as the one here: http://www.lebans.com/richtext.htm.
Thanks
10-22-2012 01:13 AM
Your suggestion works perfectly.
Thanks.
PS: the link in your post is wrong, because you included the last dot in the link. The right one is http://www.lebans.com/richtext.htm