|
-
Jan 9th, 2018, 01:22 PM
#11
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by OldClock
jpbro:
1. I disagree about rude.
We'll have to agree to disagree about this one.
I haven't really used Krool's controls much so I may be wrong about the following, but I just tried getting a "minimal" project together to use a subset of the controls without requiring the OCX as follows:
- Download the latest source code from GitHub as a ZIP file.
- Extract the Standard EXE Version folder.
- Start a new VB EXE project.
- Rename Form1 to MainForm
- Click the Project menu, then click References. The References window appears.
- Click the Browse button.
- Navigate to the Standard EXE Version fodler that was extracted in Step #2, then navigate to the OLEGuids subfolder and select the OLEGuids.tlb file and click Open.
- Back on the References window, click OK.
- Add all of the files from the Standard EXE Version\Common folder to the project.
- Add all of the files from the Standard EXE Version\Builds folder to the project (not all of the files from the subfolders, just the BAS/CLS files in the Builds folder).
- Add the individual UserControls from the various Builds subfolders that I want to be part of my EXE (for example, to add the ComboBoxW control, add the ComboBoxW.ctl file from the Standard Exe Version\Builds\ComboBoxW folder to the project).
From there I added a control to MainForm and it seemed to get sited, compile, and run fine. Again, I haven't done this before so I may have made mistakes (or added more files than necessary), but the above should be a good place to start.
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
|