|
-
August 5th, 1999, 04:50 AM
#1
Form fails to load due to RichTextBox ActiveX control
Using VB5, a simple form fails to show on different PCs (mixture on Win'NT4 and Win'95) because one of the controls on it is the RichTextBox. The failure appears with one of Microsoft's unhelpful 'Quitting' message boxes, and no sign of the form. The form works when run on the same PC as it is built on, but not always on others. The reason must lie in the version of the RichTextBox ActiveX control installed on the build PC.
Is there any way to check the RichTextBox control is there during form load / show, and trap it to produce a more sensible response than 'Quitting'?
-
August 5th, 1999, 05:15 AM
#2
Re: Form fails to load due to RichTextBox ActiveX control
It would be better of with an installation program, so that proper versions are installed before running. It may be a little difficult to catch the version at run time.
A general purpose Err handler may also help , i guess. - probably at the place where the form is loaded/shown (in the calling module.)
RK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|