Returns the richedit version used by the system
Public Function RichEditVersion () As eCtlRichTextBox_Version
Many features are not supported by the version 1.0 so we suggest you to check the RichEdit version and propose the user to install this file if needed: http://www.hexagora.com/download/support/richupd.exe (update for version 3.0)
The original specification for rich edit controls is Rich Edit 1.0; the current specification is Rich Edit 3.0. Each version of rich edit is a superset of the preceding one, except that only Asian builds of Rich Edit 1.0 have a vertical text option. Before creating a rich edit control, you should call the LoadLibrary function to verify which version of Rich Edit is installed. The following table shows which DLL corresponds with which version of rich edit. Note that the name of the file did not change from version 2.0 to version 3.0. This allows version 2.0 to be upgraded to version 3.0 without breaking existing code.
Rich Edit version DLL
1.0 Riched32.dll (Win95)
2.0 Riched20.dll (Win98/WinNT4)
3.0 Riched20.dll (WinMe/Win2K/WinXP)
4.1 Msftedit.dll (WinXP SP1+)
Windows NT/Windows 2000
Microsoft® Windows NT® version 4.0 includes Rich Edit 1.0 and 2.0. Microsoft Windows® 2000 includes Rich Edit 3.0 with a Rich Edit 1.0 emulator.
Windows 98 includes Rich Edit 1.0 and 2.0.
Windows 95 includes only Rich Edit 1.0. However, Riched20.dll is compatible with Windows 95 and may be installed if an application that uses Rich Edit 2.0 has been installed.