dcsimg
Page 2 of 2 FirstFirst 12
Results 41 to 44 of 44

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

  1. #41
    New Member
    Join Date
    Oct 2018
    Posts
    7

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

    Many thanks, I just tested, works perfect!!!!

  2. #42
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,137

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

    I might be missing something obvious, but why does CommonDialog.cls need to use registry entries to be used in scripts vs just having the class Implement IObjectSafety?

    Thanks!

  3. #43

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

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

    Quote Originally Posted by DEXWERX View Post
    I might be missing something obvious, but why does CommonDialog.cls need to use registry entries to be used in scripts vs just having the class Implement IObjectSafety?

    Thanks!
    There is a good reason for this.
    Having Implements in UserControl is no problem as only an amalgamation is exposed in the OCX.
    However, using Implements in Classes exposes the interfaces directly.
    Means: any one using OCX would need to install OLEGuids.tlb and that's a no-go.

  4. #44
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,137

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

    ah! Thanks.
    That's too bad that Classes are treated differently than User Controls in the OCX.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width