CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    10

    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'?


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    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
  •  





Click Here to Expand Forum to Full Width

Featured