Page 3 of 3 FirstFirst 123
Results 81 to 85 of 85

Thread: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

  1. #81
    New Member
    Join Date
    Dec 2020
    Posts
    2

    Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Krool, thanks for the great work!

    I tried to place the "[VB6] ActiveX CommonControls" in the MS VFP's IDE:

    LabelW's OK!
    CommandButtonW's OK!
    CheckBoxW's OK!
    RichTextBox's OK!
    TreeView's OK!

    But unfortunately "TextBoxW" CRASHED while I just placed it into the Form in DesignMode! I've download the "UniText"(https://www.vbforums.com/showthread....ase-2008-06-19) before, it's OK. I think maybe there's something wrong with TextBoxW during UserControl_Initialize() while TextBoxDesignMode's True.

  2. #82

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2012
    Posts
    1,788

    Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by myfav View Post
    Krool, thanks for the great work!

    I tried to place the "[VB6] ActiveX CommonControls" in the MS VFP's IDE:

    LabelW's OK!
    CommandButtonW's OK!
    CheckBoxW's OK!
    RichTextBox's OK!
    TreeView's OK!

    But unfortunately "TextBoxW" CRASHED while I just placed it into the Form in DesignMode! I've download the "UniText"(https://www.vbforums.com/showthread....ase-2008-06-19) before, it's OK. I think maybe there's something wrong with TextBoxW during UserControl_Initialize() while TextBoxDesignMode's True.
    Hmm. I don't know. Why does the more complex RichTextBox work but not the TextBox?
    IMO UserControl_Initialize is not the cause as TextBoxDesignMode's not True there yet.
    Can you compile the OCX again for testing and put off Call CreateTextBox in sub _InitProperties and _ ReadProperties?
    So we pinpoint if it has something todo with the UserControl or the API window.

  3. #83
    Addicted Member
    Join Date
    Feb 2015
    Location
    Colorado USA
    Posts
    180

    Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Version 3 of the Documentation and Compile Utility for Krool's controls has been released here.

    MountainMan

  4. #84
    New Member
    Join Date
    Sep 2019
    Posts
    14

    Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    First of all, thank you very much for your efforts, Krool. Your controls work very reliably and I use them quite often these days.

    I do have an issue with ImageLists and property pages, though. Here's how to reproduce:

    1. Create a new project and add a reference to VBCCR17
    2. Add two image list controls to a form
    3. Open the property page and add an image
    4. Now, without closing the property page select the second image list and add an image
    5. Upon selecting an image the IDE produces a run-time error 0

    Afterwards, if you try to open the property page there are some follow-up errors like "Runtime-error -2147221164 (80040154) [Class not registered]" and "Automation error" without any additional information. A restart of the IDE is required to get things working again.

    If you were to save the project after having properly added an image or two to the ImageList controls and try to re-use the property page, all the saved images are lost.

    This procedure just works with the original ImageList.

  5. #85

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2012
    Posts
    1,788

    Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Caine View Post
    First of all, thank you very much for your efforts, Krool. Your controls work very reliably and I use them quite often these days.

    I do have an issue with ImageLists and property pages, though. Here's how to reproduce:

    1. Create a new project and add a reference to VBCCR17
    2. Add two image list controls to a form
    3. Open the property page and add an image
    4. Now, without closing the property page select the second image list and add an image
    5. Upon selecting an image the IDE produces a run-time error 0

    Afterwards, if you try to open the property page there are some follow-up errors like "Runtime-error -2147221164 (80040154) [Class not registered]" and "Automation error" without any additional information. A restart of the IDE is required to get things working again.

    If you were to save the project after having properly added an image or two to the ImageList controls and try to re-use the property page, all the saved images are lost.

    This procedure just works with the original ImageList.
    Solved/Fixed. Thanks

Page 3 of 3 FirstFirst 123

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