|
-
Jun 28th, 2013, 03:20 AM
#1
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by dartguru
how do I now get to use that in an existing project. I presume I need to include something to replace mscomctl.ocx.
 Originally Posted by dartguru
How do I now use that in my own project as a replacement for the common control that aren't working.
Which specific common control(s) do you wish to use?
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
-
Jun 28th, 2013, 03:28 AM
#2
New Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Bonnie West
Which specific common control(s) do you wish to use?
It looks like just lstView and ProgressBar1
-
Jun 28th, 2013, 04:26 AM
#3
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by dartguru
It looks like just lstView and ProgressBar1
Copy/Move the following files and folders to a new folder:
- [ListView]
- [ProgressBar]
- ComCtlsBase.bas
- Common.bas
- VisualStyles.bas
- VTableHandle.bas
- Enumeration.cls
- ISubclass.cls
- VTableSubclass.cls
Finally, copy/move the OLEGuids.tlb file to the "Windows\System32\" directory and set a reference to it through the VB6 IDE's References dialog box.
EDIT
Of course, you'll have to import all of those files into your project (except for *.CTX files). The easiest way of doing that is to drag and drop them onto the Project Explorer window.
Last edited by Bonnie West; Jun 28th, 2013 at 06:33 AM.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
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
|