Results 1 to 40 of 4199

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #11
    Hyperactive Member
    Join Date
    Feb 2015
    Location
    Colorado USA
    Posts
    271

    Re: CommonControls (Replacement of the MS common controls)

    Update - In post #1480, Sam_ asked if the package could be adjusted so that a project using none of Krools's controls but using the CommonDialog could be set to not use the OCX but the individual files. This update enables that plus cleans up some other stuff. That was addressed in version was 0.9.1 and the new one attached to this post is version 0.9.2. It addresses the situation where the reference to the CommonDialog function was done inside of a form. I had previously checked .cls and .bas files in the project but not .frm files. This is now fixed.

    Introduction

    In post #1463 I uploaded a version of a utility that takes a project using Krool's .OCX controls and adjusts everything so that the OCX is no longer required and the code for each control used in your project (and only those used in your project) was compiled within the program. The earlier post was done in VBA with Excel and kind of tossed together. This post discusses an update to that effort and it is available for VB6 and Excel. The VB6 version is "OCX2StdExe.vbp" and the Excel version is "OCX2StdExe.xlsb".

    Basically you develop a project in VB6 using the OCX version of Krool's controls and then when you get to (or near) the final version you run this utility to make a new project that is just like the old one except that it no longer needs the OCX file because all of the controls code is in the file (like it does for his ComCtlsDemo that is on the first page of this thread. Your original project is unchanged.

    The current version is 0.9.2. One zip file includes a detailed ReadMe.doc file with usage instructions and screenshots. The other contains the Excel version. I hope you find the utility easy to use and productive.
    Attached Files Attached Files
    Last edited by MountainMan; Jul 9th, 2017 at 06:04 AM. Reason: Updated program files.

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