-
1 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Thank you very much for your reply and help
1. This tool is very practical, very easy to use, I have been using it;
2. According to your suggestion, I added a list to the project, and now the project can be compiled normally
3. Now I encounter a small problem: VBCCR17.OCX version number: 1.7.45 , This file uses VBCCR1.ocx New Version: null (the project can be compiled normally)
4.cbutUpdate button (Update .OCX References) Enabled=False, cannot be used
5. Above, please help to solve it when it is convenient.
In addition: My language is simplified Chinese, you can continue to use English, I will use Google Translate to view the page
thank you very much!
Attachment 185716
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Looks like a cool project. I downloaded it but it won't run. First, a missing form as it loads "c:\Files & File Systems\FileOps\mFileStufflite.bas"
Then a variable that's not defined: NameIncrNoCase
Is there another demo somewhere or any tips on how to get this thing working? It looks very interesting.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hello MountainMan! Thank you for providing the very practical "OCX2StdExe" tool, which I have been using and has been of great help to me.
Krool's VBCCR17.OCX version has been updated to 1.7.53
The version of VBFLXGRD15 has been updated to VBFLXGRD16 with version number 1.6.0.
OCX2StdExe v3.2.1 is no longer compatible with the new version of controls mentioned above. Do you have any plans to upgrade "OCX2StdExe" to adapt to VBCCR17.OCX1.7.53 and VBFLXGRD16 1.6.0 in the near future.
Thank you very much!
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
smileyoufu
Hello MountainMan! Thank you for providing the very practical "OCX2StdExe" tool, which I have been using and has been of great help to me.
Krool's VBCCR17.OCX version has been updated to 1.7.53
The version of VBFLXGRD15 has been updated to VBFLXGRD16 with version number 1.6.0.
OCX2StdExe v3.2.1 is no longer compatible with the new version of controls mentioned above. Do you have any plans to upgrade "OCX2StdExe" to adapt to VBCCR17.OCX1.7.53 and VBFLXGRD16 1.6.0 in the near future.
Thank you very much!
An update is coming within the week to address your concerns.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hello MountainMan!
Thank you for your prompt response and look forward to your update.
During long-term use of the OCX2StdExe tool, the following issues were encountered:
1.Sometimes when compiling a program, OCX2StdExe3.2.1 will prompt "XX module already exists", causing compilation failure. Even if the corresponding "XX module" is deleted, other modules will prompt "XX module already exists", causing compilation failure Reason: Under unknown circumstances, duplicate lines appeared in the '. vbp' file, resulting in compilation failure. Unable to find the reason for duplicate lines in '. vbp'. The method I am currently using is to delete duplicate lines in '. vbp' and then compile it to work properly. It is recommended to confirm if there are any duplicate lines when adding code to ". vbp" in the new version of "OCX2StdExe". If there are duplicates, do not add them (or delete the duplicate lines in ". vbp"), which can relatively solve this problem (if you want to find the reason for the duplicate lines in ". vbp", it may be more complex).
2. I often use the "OCX2StdExe" tool to compile DLLs, but when compiling Dll files, I cannot set "component version compatibility". Even if it is the same code, without any modifications or recompilations, it cannot be set to "component version compatibility", and the "component version compatibility" prompt cannot be set. I don't know if there is any way to solve this problem.
3. It is recommended to add the "Copy to StdEXE" function without compiling. For the convenience of running and copying code to "StdEXE" when compilation fails, for troubleshooting and debugging purposes (or manually compiling files if necessary).
Thank you very much!
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Version 3.3 is now uploaded in message #1. The biggest changes are 1) it now supports VBFLexGrid v1.6 and 2) it works better with VBCCR17.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
smileyoufu,
Can you please send me a copy of a program you have that shows the problems you describe in post #65 above? Thanks.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
i need a tool,your project have 10 usercontrol,i want to remove 9 usercontrol,only live listview control,how to do?
or ,how to remove all functions for not need?remove other modules file? remove other forms?
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
xiaoyao
i need a tool,your project have 10 usercontrol,i want to remove 9 usercontrol,only live listview control,how to do?
or ,how to remove all functions for not need?remove other modules file? remove other forms?
https://www.vbforums.com/showthread....use&highlight=
-
2 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
MountainMan
smileyoufu,
Can you please send me a copy of a program you have that shows the problems you describe in post #65 above? Thanks.
Hello MountainMan!
Thank you for your reply.
I have been quite busy lately and rarely appear on forums. I apologize for the late response. Please forgive me!
There are many program files and the volume after packaging is also large, making it impossible to upload the entire project. Please excuse me!
I have provided the "VBP" file separately, please refer to the attachment for details.
The text for duplicate lines in VBP is "frmCreateFrom2. frm", I hope it can be helpful!
Attachment 188711
Attachment 188709
-
4 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hello MountainMan!
1. Compiling the following OCX version using OCX2StdExe v3.3 reported an error:
2. Error message:
1) Could not open
2) Could not open folder
3) Type mismatch (see the highlighted yellow line in the screenshot for details)
3. VBCCR17.OCX version: 1.7.69; VBFLXGRD16.OCX Version: 1.6.35
Can you help repair it? Thank you very much!
Attachment 188723
Attachment 188724
Attachment 188725
Attachment 188726
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
I'm sorry, but your tool never worked for me. I get errors that search for files with a .bax extension. Does it really work for anyone?
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
This script that I programmed in BASH for Linux, you have to copy it to the directory of your visual basic project, execute it in Linux bash and it generates a .bat with which you can later execute as many times as you want to compile the project with visual studio 6 in windows.
Code:
#!/bin/bash
# Script to convert VBCCR17 OCX to StdExe
# Run in WLinux/Kali/PengWin. Download Ubuntu or Kali from Microsoft Store and run this script.
# Modify variable "PROJECT_VB" and "ComCtlsDemoDIR"
# Enable the dependencies you need
# This script create a Batch File to run in Windows and not modify XXX_*.vbp
#
#v1.7.0
#
# Create by Ulises Cuñe @ulises2k
#
###MODIFY THIS###
PROJECT_VB="StrategyTester.vbp"
ComCtlsDemoDIR="ComCtlsDemo"
#Enable Module Dependencias TRUE=Enable / FALSE=Disable
EnableComCtlsBase=TRUE
EnableCommon=TRUE
EnableVisualStyle=TRUE
EnableVTableHandle=TRUE
EnableISubClass=TRUE
EnableCommonDialog=TRUE
VBCCRXX=VBCCR17
VB6EXE="c:\Archivos de programa\Microsoft Visual Studio\VB98\VB6.EXE"
CreateBatchWindows=TRUE
###MODIFY THIS###
###DON'T TOUCH###
function Check() {
if [ ! -d "$ComCtlsDemoDIR/Builds" ]; then
ComCtlsDemoDIR=$(echo $ComCtlsDemoDIR | tr '/' '\\')
echo "Directory $ComCtlsDemoDIR\Builds not exist. Edit this script and modify variable ComCtlsDemoDIR and run again"
exit 1
fi
if [ ! -f "$PROJECT_VB" ]; then
echo "File $PROJECT_VB not exist. Edit this script and modify variable PROJECT_VB and run again"
exit 2
fi
}
###DON'T TOUCH###
function Main() {
cp "$PROJECT_VB" "XXX_$PROJECT_VB"
#Add reference to OLEGuids
>convert_OCX2StdExe_vbp.txt
echo 'Reference=*\G{5A2B9220-BF07-11E6-9598-0800200C9A66}#1.0#0#C:\WINDOWS\system32\OLEGuids.tlb#OLE Guid and interface definitions' >> convert_OCX2StdExe_vbp.txt
#Delete reference to OCX
#sed -i -e 's/Object={AEACE989-6973-4D87-9F9D-04A487D3679D}#1.0#0;\ VBCCR11.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={A1B7D620-9184-40D2-B545-9307A6E0C109}#1.0#0;\ VBCCR12.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={07C05129-C2E5-483C-8237-8636C3F11E4E}#1.0#0;\ VBCCR13.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={A99BDCD4-AB6D-490E-A03D-BF90764CBC6B}#1.0#0;\ VBCCR14.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={43C88BE4-8BE0-4661-B06E-9A2F6AD0D267}#1.0#0;\ VBCCR15.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={0DF5D14C-08DD-4806-8BE2-B59CB924CFC9}#1.0#0;\ VBCCR16.OCX//g' "XXX_$PROJECT_VB"
#sed -i -e 's/Object={7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.0#0;\ VBCCR17.OCX//g' "XXX_$PROJECT_VB"
sed -i -e 's/Object={7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.3#0;\ VBCCR17.OCX//g' "XXX_$PROJECT_VB"
NAME=$(grep "^Name=\"" $PROJECT_VB | cut -d "=" -f 2 | cut -d '"' -f 2)
FORM=$(grep "^Form=" $PROJECT_VB | grep -v "^IconForm=" | cut -d "=" -f 2 | tr -d "\r")
RESOURCEFILE=$(grep "^ResFile32=\"" $PROJECT_VB | cut -d "=" -f 2 | cut -d '"' -f 2)
>convert_OCX2StdExe_controls_tmp.txt
>convert_OCX2StdExe_batch.bat
#Replace RESOURCEFILE with XXX_$fileoriginal
if ! [ -z "$RESOURCEFILE" ] ; then
sed -i -e "s/$RESOURCEFILE/XXX_$RESOURCEFILE/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$RESOURCEFILE && copy $RESOURCEFILE XXX_$RESOURCEFILE" >> convert_OCX2StdExe_batch.bat
fi
fi
for f in $FORM ; do
#Convert Slash Windows to Linux
f=$(echo $f | tr '\\' '/')
ffilename=${f##*/}
fpath=${f%/*}
if [ $fpath == $ffilename ] ; then
cp $ffilename XXX_$ffilename
###MODIFY THIS###
#sed -i -e 's/Object\ =\ "{AEACE989-6973-4D87-9F9D-04A487D3679D}#1.0#0";\ "VBCCR11.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{A1B7D620-9184-40D2-B545-9307A6E0C109}#1.0#0";\ "VBCCR12.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{07C05129-C2E5-483C-8237-8636C3F11E4E}#1.0#0";\ "VBCCR13.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{A99BDCD4-AB6D-490E-A03D-BF90764CBC6B}#1.0#0";\ "VBCCR14.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{43C88BE4-8BE0-4661-B06E-9A2F6AD0D267}#1.0#0";\ "VBCCR15.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{0DF5D14C-08DD-4806-8BE2-B59CB924CFC9}#1.0#0";\ "VBCCR16.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.0#0";\ "VBCCR17.OCX"//g' XXX_$f
sed -i -e 's/Object\ =\ "{7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.0#0";\ "VBCCR17.OCX"//g' XXX_$ffilename
sed -i -e "s/Begin\ $VBCCRXX\./Begin\ $NAME./g" XXX_$ffilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" XXX_$ffilename
sed -i -e "s/$ffilename/XXX_$f/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$ffilename && copy $ffilename XXX_$ffilename" >> convert_OCX2StdExe_batch.bat
fi
else
cp $f $fpath/XXX_$ffilename
###MODIFY THIS###
#sed -i -e 's/Object\ =\ "{AEACE989-6973-4D87-9F9D-04A487D3679D}#1.0#0";\ "VBCCR11.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{A1B7D620-9184-40D2-B545-9307A6E0C109}#1.0#0";\ "VBCCR12.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{07C05129-C2E5-483C-8237-8636C3F11E4E}#1.0#0";\ "VBCCR13.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{A99BDCD4-AB6D-490E-A03D-BF90764CBC6B}#1.0#0";\ "VBCCR14.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{43C88BE4-8BE0-4661-B06E-9A2F6AD0D267}#1.0#0";\ "VBCCR15.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{0DF5D14C-08DD-4806-8BE2-B59CB924CFC9}#1.0#0";\ "VBCCR16.OCX"//g' XXX_$f
#sed -i -e 's/Object\ =\ "{7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.0#0";\ "VBCCR17.OCX"//g' XXX_$f
sed -i -e 's/Object\ =\ "{7020C36F-09FC-41FE-B822-CDE6FBB321EB}#1.0#0";\ "VBCCR17.OCX"//g' $fpath/XXX_$ffilename
sed -i -e "s/Begin\ $VBCCRXX\./Begin\ $NAME./g" $fpath/XXX_$ffilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" $fpath/XXX_$ffilename
sed -i -e "s/$$ffilename/XXX_$$ffilename/g" $fpath/XXX_$ffilename
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$ffilename && copy $f $fpath/XXX_$ffilename" >> convert_OCX2StdExe_batch.bat
fi
fi
cat $f | grep "Begin $VBCCRXX." | cut -d "." -f 2 | cut -d " " -f 1 >> convert_OCX2StdExe_controls_tmp.txt
done
cat convert_OCX2StdExe_controls_tmp.txt | sort | uniq > convert_OCX2StdExe_controls.txt
#Call to function of controls used in form
echo "Controls used:"
for c in $(cat convert_OCX2StdExe_controls.txt) ; do
$c
echo $c
done
rm -f convert_OCX2StdExe_controls_tmp.txt
rm -f convert_OCX2StdExe_controls.txt
MODULE=$(grep "^Module=" $PROJECT_VB | cut -d "=" -f 2 | cut -d ";" -f 2 | tr -d "\r")
for m in $MODULE ; do
#Convert Slash Windows to Linux
m=$(echo $m | tr '\\' '/')
mfilename=${m##*/}
mpath=${m%/*}
if [ "$mfilename" != "Common.bas" ] && [ "$mfilename" != "VisualStyles.bas" ] && [ "$mfilename" != "ComCtlsBase.bas" ] && [ "$mfilename" != "VTableHandle.bas" ]; then
if [ $mpath == $mfilename ] ; then
cp $mfilename XXX_$mfilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" XXX_$mfilename
sed -i -e "s/$mfilename/XXX_$mfilename/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$mfilename && copy $mfilename XXX_$mfilename" >> convert_OCX2StdExe_batch.bat
fi
else
cp $m $mpath/XXX_$mfilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" $mpath/XXX_$mfilename
sed -i -e "s/$mfilename/XXX_$mfilename/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$mfilename && copy $m $mpath/XXX_$mfilename" >> convert_OCX2StdExe_batch.bat
fi
fi
fi
done
CLASS=$(grep "^Class=" $PROJECT_VB | cut -d "=" -f 2 | cut -d ";" -f 2 | tr -d "\r")
for c in $CLASS ; do
#Convert Slash Windows to Linux
c=$(echo $c | tr '\\' '/')
cfilename=${c##*/}
cpath=${c%/*}
if [ "$cfilename" != "ISubclass.cls" ] && [ "$cfilename" != "CommonDialog.cls" ]; then
if [ $cpath == $cfilename ] ; then
cp $cfilename XXX_$cfilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" XXX_$cfilename
sed -i -e "s/$cfilename/XXX_$cfilename/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$cfilename && copy $cfilename XXX_$cfilename" >> convert_OCX2StdExe_batch.bat
fi
else
cp $c $cpath/XXX_$cfilename
sed -i -e "s/As\ $VBCCRXX\./As\ /g" $cpath/XXX_$cfilename
sed -i -e "s/$cfilename/XXX_$cfilename/g" "XXX_$PROJECT_VB"
if [ $CreateBatchWindows == TRUE ] ; then
echo "del /F /Q XXX_$cfilename && copy $c $cpath/XXX_$cfilename" >> convert_OCX2StdExe_batch.bat
fi
fi
fi
done
if [ $EnableComCtlsBase == TRUE ] ; then
ComCtlsBase
fi
if [ $EnableCommon == TRUE ] ; then
Common
fi
if [ $EnableVisualStyle == TRUE ] ; then
VisualStyle
fi
if [ $EnableVTableHandle == TRUE ] ; then
VTableHandle
fi
if [ $EnableISubClass == TRUE ] ; then
ISubClass
fi
if [ $EnableCommonDialog == TRUE ] ; then
CommonDialog
fi
#Create a Bat for exec in Windows
#FART Download from https://sourceforge.net/projects/fart-it/
if [ $CreateBatchWindows == TRUE ] ; then
echo "if not exist \"fart.exe\" ( echo \"Donwload fart.exe from https://sourceforge.net/projects/fart-it/\" && pause && exit ) " >> convert_OCX2StdExe_batch.bat
echo "fart.exe XXX_*.frm \"Begin $VBCCRXX.\" \"Begin $NAME.\" " >> convert_OCX2StdExe_batch.bat
echo "fart.exe XXX_*.frm --remove \"$VBCCRXX.\" " >> convert_OCX2StdExe_batch.bat
echo "fart.exe XXX_*.bas --remove \"$VBCCRXX.\" " >> convert_OCX2StdExe_batch.bat
OUTDIR=$(grep "^Path32=" "XXX_$PROJECT_VB" | cut -d "=" -f 2)
if [ -z $OUTDIR ] ; then
OUTDIR='%CD%'
fi
echo "\"$VB6EXE\" /make \"XXX_$PROJECT_VB\" /outdir $OUTDIR " >> convert_OCX2StdExe_batch.bat
echo "if %ERRORLEVEL% NEQ 0 ( echo Compile failed. ) else ( del XXX_*.frm XXX_*.frx XXX_*.bas XXX_*.cls ) " >> convert_OCX2StdExe_batch.bat
echo "echo \"Finish\" " >> convert_OCX2StdExe_batch.bat
fi
}
###### MODULE AND CLASS ######
function ComCtlsBase() {
echo "Module=ComCtlsBase; $ComCtlsDemoDIR\\Builds\\ComCtlsBase.bas" >> convert_OCX2StdExe_vbp.txt
}
function Common() {
echo "Module=Common; $ComCtlsDemoDIR\\Common\\Common.bas" >> convert_OCX2StdExe_vbp.txt
}
function VisualStyle() {
echo "Module=VisualStyles; $ComCtlsDemoDIR\\Common\\VisualStyles.bas" >> convert_OCX2StdExe_vbp.txt
}
function VTableHandle() {
echo "Module=VTableHandle; $ComCtlsDemoDIR\\Builds\\VTableHandle.bas" >> convert_OCX2StdExe_vbp.txt
}
function ISubClass() {
echo "Class=ISubclass; $ComCtlsDemoDIR\\Builds\\ISubclass.cls" >> convert_OCX2StdExe_vbp.txt
}
function CommonDialog() {
echo "Class=CommonDialog; $ComCtlsDemoDIR\\Builds\\CommonDialog.cls" >> convert_OCX2StdExe_vbp.txt
}
#######CONTROLS#######
function ImageList() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ImageList\ImageList.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ImageList\PPImageListGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ImageList\PPImageListImages.pag" >> convert_OCX2StdExe_vbp.txt
echo "Class=ImlListImages; $ComCtlsDemoDIR\Builds\ImageList\ImlListImages.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=ImlListImage; $ComCtlsDemoDIR\Builds\ImageList\ImlListImage.cls" >> convert_OCX2StdExe_vbp.txt
}
function ListView() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ListView\ListView.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ListView\PPListViewImageLists.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ListView\PPListViewSorting.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ListView\PPListViewGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwColumnHeader; $ComCtlsDemoDIR\Builds\ListView\LvwColumnHeader.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwColumnHeaders; $ComCtlsDemoDIR\Builds\ListView\LvwColumnHeaders.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwListItem; $ComCtlsDemoDIR\Builds\ListView\LvwListItem.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwListItems; $ComCtlsDemoDIR\Builds\ListView\LvwListItems.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwListSubItem; $ComCtlsDemoDIR\Builds\ListView\LvwListSubItem.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwListSubItems; $ComCtlsDemoDIR\Builds\ListView\LvwListSubItems.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwGroup; $ComCtlsDemoDIR\Builds\ListView\LvwGroup.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwGroups; $ComCtlsDemoDIR\Builds\ListView\LvwGroups.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwVirtualListItem; $ComCtlsDemoDIR\Builds\ListView\LvwVirtualListItem.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwVirtualListItems; $ComCtlsDemoDIR\Builds\ListView\LvwVirtualListItems.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwWorkArea; $ComCtlsDemoDIR\Builds\ListView\LvwWorkArea.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LvwWorkAreas; $ComCtlsDemoDIR\Builds\ListView\LvwWorkAreas.cls" >> convert_OCX2StdExe_vbp.txt
}
function ProgressBar() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ProgressBar\ProgressBar.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ProgressBar\PPProgressBarGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function RichTextBox() {
echo "UserControl=$ComCtlsDemoDIR\Builds\RichTextBox\RichTextBox.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Module=RichTextBoxBase; $ComCtlsDemoDIR\Builds\RichTextBox\RichTextBoxBase.bas" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\RichTextBox\PPRichTextBoxGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function TabStrip() {
echo "UserControl=$ComCtlsDemoDIR\Builds\TabStrip\TabStrip.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TabStrip\PPTabStripTabs.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TabStrip\PPTabStripGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbsTabs; $ComCtlsDemoDIR\Builds\TabStrip\TbsTabs.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbsTab; $ComCtlsDemoDIR\Builds\TabStrip\TbsTab.cls" >> convert_OCX2StdExe_vbp.txt
}
function ToolBar() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ToolBar\ToolBar.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtons; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtons.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButton; $ComCtlsDemoDIR\Builds\ToolBar\TbrButton.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonMenus; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonMenus.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonMenu; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonMenu.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonProperties; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonProperties.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ToolBar\PPToolBarButtons.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ToolBar\PPToolBarGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function TreeView() {
echo "UserControl=$ComCtlsDemoDIR\Builds\TreeView\TreeView.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=TvwNodes; $ComCtlsDemoDIR\Builds\TreeView\TvwNodes.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TvwNode; $ComCtlsDemoDIR\Builds\TreeView\TvwNode.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TvwSelectedNodes; $ComCtlsDemoDIR\Builds\TreeView\TvwSelectedNodes.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TreeView\PPTreeViewGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function Animation() {
echo "UserControl=$ComCtlsDemoDIR\Builds\Animation\Animation.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\Animation\PPAnimationGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function CheckBoxW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\CheckBoxW\CheckBoxW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function ComboBoxW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ComboBoxW\ComboBoxW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function CommandButtonW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\CommandButtonW\CommandButtonW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function CommandLink() {
echo "UserControl=$ComCtlsDemoDIR\Builds\CommandLink\CommandLink.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\CommandLink\PPCommandLinkGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function CoolBar() {
echo "UserControl=$ComCtlsDemoDIR\Builds\CoolBar\CoolBar.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=CbrBands; $ComCtlsDemoDIR\Builds\CoolBar\CbrBands.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=CbrBand; $ComCtlsDemoDIR\Builds\CoolBar\CbrBand.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\CoolBar\PPCoolBarGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\CoolBar\PPCoolBarBands.pag" >> convert_OCX2StdExe_vbp.txt
echo "Class=CbrBandProperties; $ComCtlsDemoDIR\Builds\CoolBar\CbrBandProperties.cls" >> convert_OCX2StdExe_vbp.txt
}
function DTPicker() {
echo "UserControl=$ComCtlsDemoDIR\Builds\DTPicker\DTPicker.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\DTPicker\PPDTPickerGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function FontCombo() {
echo "UserControl=$ComCtlsDemoDIR\Builds\FontCombo\FontCombo.ctl" >> convert_OCX2StdExe_vbp.txt
}
function FrameW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\FrameW\FrameW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function HotKey() {
echo "UserControl=$ComCtlsDemoDIR\Builds\HotKey\HotKey.ctl" >> convert_OCX2StdExe_vbp.txt
}
function ImageCombo() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ImageCombo\ImageCombo.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=ImcComboItems; $ComCtlsDemoDIR\Builds\ImageCombo\ImcComboItems.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=ImcComboItem; $ComCtlsDemoDIR\Builds\ImageCombo\ImcComboItem.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ImageCombo\PPImageComboGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function IPAddress() {
echo "UserControl=$ComCtlsDemoDIR\Builds\IPAddress\IPAddress.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\IPAddress\PPIPAddressGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function LabelW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\LabelW\LabelW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function LinkLabel() {
echo "UserControl=$ComCtlsDemoDIR\Builds\LinkLabel\LinkLabel.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=LlbLinks; $ComCtlsDemoDIR\Builds\LinkLabel\LlbLinks.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=LlbLink; $ComCtlsDemoDIR\Builds\LinkLabel\LlbLink.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\LinkLabel\PPLinkLabelGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function ListBoxW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ListBoxW\ListBoxW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function MCIWnd() {
echo "UserControl=$ComCtlsDemoDIR\Builds\MCIWnd\MCIWnd.ctl" >> convert_OCX2StdExe_vbp.txt
}
function MonthView() {
echo "UserControl=$ComCtlsDemoDIR\Builds\MonthView\MonthView.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\MonthView\PPMonthViewGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function OptionButtonW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\OptionButtonW\OptionButtonW.ctl" >> convert_OCX2StdExe_vbp.txt
}
function Pager() {
echo "UserControl=$ComCtlsDemoDIR\Builds\Pager\Pager.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\Pager\PPPagerGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function Slider() {
echo "UserControl=$ComCtlsDemoDIR\Builds\Slider\Slider.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\Slider\PPSliderGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\Slider\PPSliderAppearance.pag" >> convert_OCX2StdExe_vbp.txt
}
function SpinBox() {
echo "UserControl=$ComCtlsDemoDIR\Builds\SpinBox\SpinBox.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\SpinBox\PPSpinBoxGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function StatusBar() {
echo "UserControl=$ComCtlsDemoDIR\Builds\StatusBar\StatusBar.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=SbrPanelProperties; $ComCtlsDemoDIR\Builds\StatusBar\SbrPanelProperties.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=SbrPanels; $ComCtlsDemoDIR\Builds\StatusBar\SbrPanels.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=SbrPanel; $ComCtlsDemoDIR\Builds\StatusBar\SbrPanel.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\StatusBar\PPStatusBarGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\StatusBar\PPStatusBarPanels.pag" >> convert_OCX2StdExe_vbp.txt
}
function SysInfo() {
echo "UserControl=$ComCtlsDemoDIR\Builds\SysInfo\SysInfo.ctl" >> convert_OCX2StdExe_vbp.txt
}
function TabStrip() {
echo "UserControl=$ComCtlsDemoDIR\Builds\TabStrip\TabStrip.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TabStrip\PPTabStripTabs.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TabStrip\PPTabStripGeneral.pag" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbsTabs; $ComCtlsDemoDIR\Builds\TabStrip\TbsTabs.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbsTab; $ComCtlsDemoDIR\Builds\TabStrip\TbsTab.cls" >> convert_OCX2StdExe_vbp.txt
}
function TextBoxW() {
echo "UserControl=$ComCtlsDemoDIR\Builds\TextBoxW\TextBoxW.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TextBoxW\PPTextBoxWText.pag" >> convert_OCX2StdExe_vbp.txt
}
function ToolBar() {
echo "UserControl=$ComCtlsDemoDIR\Builds\ToolBar\ToolBar.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonProperties; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonProperties.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtons; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtons.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButton; $ComCtlsDemoDIR\Builds\ToolBar\TbrButton.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonMenus; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonMenus.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TbrButtonMenu; $ComCtlsDemoDIR\Builds\ToolBar\TbrButtonMenu.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ToolBar\PPToolBarButtons.pag" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\ToolBar\PPToolBarGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function TreeView() {
echo "UserControl=$ComCtlsDemoDIR\Builds\TreeView\TreeView.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Class=TvwNodes; $ComCtlsDemoDIR\Builds\TreeView\TvwNodes.cls" >> convert_OCX2StdExe_vbp.txt
echo "Class=TvwNode; $ComCtlsDemoDIR\Builds\TreeView\TvwNode.cls" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\TreeView\PPTreeViewGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function UpDown() {
echo "UserControl=$ComCtlsDemoDIR\Builds\UpDown\UpDown.ctl" >> convert_OCX2StdExe_vbp.txt
echo "PropertyPage=$ComCtlsDemoDIR\Builds\UpDown\PPUpDownGeneral.pag" >> convert_OCX2StdExe_vbp.txt
}
function VirtualCombo() {
echo "UserControl=$ComCtlsDemoDIR\Builds\VirtualCombo\VirtualCombo.ctl" >> convert_OCX2StdExe_vbp.txt
echo "Module=VirtualComboBase; $ComCtlsDemoDIR\Builds\VirtualCombo\VirtualComboBase.bas" >> convert_OCX2StdExe_vbp.txt
}
function VListBox() {
echo "UserControl=$ComCtlsDemoDIR\Builds\VListBox\VListBox.ctl" >> convert_OCX2StdExe_vbp.txt
}
function AddToVBProject() {
#Get Number Firts Form=
TOTALLINES=$(wc -l "XXX_$PROJECT_VB" | cut -d " " -f 1)
NUMLINE=$(grep "Form=" "XXX_$PROJECT_VB" -n -m 1 -o | cut -d : -f 1)
NUMLINE=$(($NUMLINE-1))
head -$(($NUMLINE)) "XXX_$PROJECT_VB" > convert_OCX2StdExe_vbp.tmp
#Convert Linux File to Windows # CRLF endline
awk 'sub("$", "\r")' convert_OCX2StdExe_vbp.txt >> convert_OCX2StdExe_vbp.tmp
tail -$(($TOTALLINES-$NUMLINE)) "XXX_$PROJECT_VB" >> convert_OCX2StdExe_vbp.tmp
cp convert_OCX2StdExe_vbp.tmp "XXX_$PROJECT_VB"
rm -f convert_OCX2StdExe_vbp.tmp
rm -f convert_OCX2StdExe_vbp.txt
awk 'sub("$", "\r")' convert_OCX2StdExe_batch.bat > convert_OCX2StdExe_Windows.bat
rm -f convert_OCX2StdExe_batch.bat
}
###DON'T TOUCH###
#Check Directory ComCtlsDemo and File Visual Baic Project
Check
#Convert Slash Linux to Windows
ComCtlsDemoDIR=$(echo $ComCtlsDemoDIR | tr '/' '\\')
#Start Function
Main
AddToVBProject
echo "Finish"
-
4 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
MountainMan
Version 3.3 is available for download at the bottom of this post. The program now handles all versions of VBCCRxx,OCX up through the current v1.7 and it handles all VBFLXGRDxx.OCX versions up through the just-released v1.6.
……
This is version 3.3 of this utility.
Hello MountainMan!
I have been using your tool. Version 3.3, there is an error in the image below. Could you please help me fix it at your convenience? This error has been bothering me for a long time. Thank you!
Attachment 189381
Attachment 189382
Attachment 189383
Attachment 189384
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Smileyoufu,
The OCX2StdExe does not have any of Krool's controls in it so you can't specify it as the VB6 project.
You should compile OCX2StdExe normally within the VB6 IDE. Then use the .EXE file that VB6 generates to work on other programs you have that do use Krool's controls.
MountainMan
-
5 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
MountainMan
Smileyoufu,
The OCX2StdExe does not have any of Krool's controls in it so you can't specify it as the VB6 project.
You should compile OCX2StdExe normally within the VB6 IDE. Then use the .EXE file that VB6 generates to work on other programs you have that do use Krool's controls.
MountainMan
Hello MountainMan!
I have specially created an example in the attachment to reproduce the error. The attachment contains relevant screenshots with error information. Please help! Thank you very much!Attachment 189443
Attachment 189444
Attachment 189445
Attachment 189446
Attachment 189447
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Version 3.4 of this utility is available in post #1. The only change is that it now handles VBFlexGrid through v1.7.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hello MountainMan!
Do you have support VBCCR18. Plans for OCX 1.8.2 release, as well as fixes in #76 above.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hi, MountainMan!
The VBCCR18 is released. Help us to update your code, please. A new control (WindowedLabel) was added. This code is not enougth:
Code:
Sub Set_xx_CCR()
Dim i As Long, oReg As Object, myStr As String
'Dim GUIDxx() As String
Dim Verxx() As String
' if you are using this in anything other than Excel, enter the latest OCX data here & recompile
MaxOCXVerCCR = 18 ' Most recent version number released of Krool's controls (VBCCRxx.OCX)
ReDim GUIDxxCCR(11 To MaxOCXVerCCR)
ReDim Verxx(11 To MaxOCXVerCCR)
ReDim NamexxCCR(11 To MaxOCXVerCCR)
ReDim Control_GUIDCCR(1 To 65, 1 To MaxOCXVerCCR)
GUIDxxCCR(18) = "{379157C5-E9BD-43F1-9F83-B037496BED42}"
Verxx(18) = "1.0"
NamexxCCR(18) = "VBCCR18.OCX"
Control_GUIDCCR(1, 18) = "C8359683-55BA-4AAC-9927-88C9C7A8DD3C" 'progid="VBCCR18.CommonDialog"
Control_GUIDCCR(2, 18) = "EC8A7603-EB8C-4173-9C42-4972A793A86C" 'progid="VBCCR18.Animation"
Control_GUIDCCR(3, 18) = "E4E59B8B-D20D-4656-9228-226EF3CA0CB0"
Control_GUIDCCR(4, 18) = "B2CC04FF-5090-4C02-B510-9716E88BDCD9" 'progid="VBCCR18.CheckBoxW"
Control_GUIDCCR(5, 18) = "19147FFA-158B-4DA9-B031-FA75DD0AF890" 'progid="VBCCR18.ComboBoxW"
Control_GUIDCCR(6, 18) = "9667B0DB-2C76-4F27-97BF-11156BBA4E11" 'progid="VBCCR18.CommandButtonW"
Control_GUIDCCR(7, 18) = "5EAF07AB-7A56-4149-A497-82E035D7090B" 'progid="VBCCR18.CommandLink"
Control_GUIDCCR(8, 18) = "834C6E68-AF2C-4053-89D2-E3FCCED69287"
Control_GUIDCCR(9, 18) = "DF4944EF-764A-4D93-B4DA-0D6749338EF6" 'progid="VBCCR18.CoolBar"
Control_GUIDCCR(10, 18) = "5FC44145-D7D8-4EAB-8CA7-60B87F381065"
Control_GUIDCCR(11, 18) = "4B3C58FC-7112-4B08-B3B1-470B2DCFFA2F"
Control_GUIDCCR(12, 18) = "FEB00E45-C4A0-4DFB-8454-C4987A2DBE06" 'progid="VBCCR18.DTPicker"
Control_GUIDCCR(13, 18) = "B8D33C5F-A8D8-469A-B00C-D27F7B2EE487"
Control_GUIDCCR(14, 18) = "B83DDC0B-CAC7-47B2-9627-4EC164A31700" 'progid="VBCCR18.FontCombo"
Control_GUIDCCR(15, 18) = "095CCEEA-03B6-44E9-8E7B-AFFEB72F6A60" 'progid="VBCCR18.FrameW"
Control_GUIDCCR(16, 18) = "DEC225A1-68EB-4CBB-91C0-4FD4D0913949" 'progid="VBCCR18.HotKey"
Control_GUIDCCR(17, 18) = "589AF2C5-643E-40C4-85F3-2C67D24A9571" 'progid="VBCCR18.ImageCombo"
Control_GUIDCCR(18, 18) = "2CC64D4B-DC8F-4495-AD42-580AC5690376"
Control_GUIDCCR(19, 18) = "3B393273-5E3E-4506-A3F0-3173B140F466" 'progid="VBCCR18.ImageList"
Control_GUIDCCR(20, 18) = "A40E9C6B-E357-4781-A59C-2CA5D7930B70"
Control_GUIDCCR(21, 18) = "63788658-57FC-457C-ABB0-87EC36842315"
Control_GUIDCCR(22, 18) = "0CDC9FE2-8D27-4D68-80E7-0FF7CDC0F6F6" 'progid="VBCCR18.IPAddress"
Control_GUIDCCR(23, 18) = "D984BD17-30BA-4E0B-AB85-7491DF73CB4F"
Control_GUIDCCR(24, 18) = "5D105D48-B608-4B50-AE86-CF1947379F57" 'progid="VBCCR18.LabelW"
Control_GUIDCCR(25, 18) = "D6D1A4D2-61DD-433D-BCD8-650A5537F95D" 'progid="VBCCR18.LinkLabel"
Control_GUIDCCR(26, 18) = "A70DB71A-AC70-4F8F-A1D6-68E3F1F24CF5"
Control_GUIDCCR(27, 18) = "9874AC62-910D-4566-BC10-5DF3F02CE204" 'progid="VBCCR18.ListBoxW"
Control_GUIDCCR(28, 18) = "B1E75914-8CB4-4800-A71B-A43310D6B4E2" 'progid="VBCCR18.ListView"
Control_GUIDCCR(29, 18) = "AB0C5F37-A56C-4C79-9962-321B616D943A"
Control_GUIDCCR(30, 18) = "9D107ACC-E9C7-4D8D-BED5-AAB9F6ED1590"
Control_GUIDCCR(31, 18) = "AA7E6F94-FE56-4F61-9609-E48E186FB28E"
Control_GUIDCCR(32, 18) = "9C8AFD17-3999-4C84-B4F7-8D90FB4033A5" 'progid="VBCCR18.MCIWnd"
Control_GUIDCCR(33, 18) = "E284466E-6750-4DF7-AEFE-16183FDC6C6F" 'progid="VBCCR18.MonthView"
Control_GUIDCCR(34, 18) = "30342EC9-6AA6-4A44-B90D-3CE73A5CEAEC"
Control_GUIDCCR(35, 18) = "0E682A9B-93A5-4F4C-A2C6-169D2AD10641" 'progid="VBCCR18.OptionButtonW"
Control_GUIDCCR(36, 18) = "6662F4B4-E0F0-4D60-9A6A-5E9B208B3392" 'progid="VBCCR18.Pager"
Control_GUIDCCR(37, 18) = "5DB956BE-A012-4C4F-AF80-5F9F778CE3A8"
Control_GUIDCCR(38, 18) = "A886CB1C-F3C9-4915-BF0E-E19A2291796E" 'progid="VBCCR18.ProgressBar"
Control_GUIDCCR(39, 18) = "8BBE0224-1DE7-45D4-BA29-B86C71D33264"
Control_GUIDCCR(40, 18) = "EEF33BF2-B9B9-4385-A703-D511BEFAEC81" 'progid="VBCCR18.RichTextBox"
Control_GUIDCCR(41, 18) = "3FA4D46D-883B-4F6A-B569-65DBE6535FF0"
Control_GUIDCCR(42, 18) = "73BBF696-6D19-46BA-9EC7-BE2B5921D43F" 'progid="VBCCR18.Slider"
Control_GUIDCCR(43, 18) = "E5A1AEC3-5509-42EC-8C1F-40BCBB5D5C3C"
Control_GUIDCCR(44, 18) = "476BDCA6-91E1-44A8-8393-A95C2052532D"
Control_GUIDCCR(45, 18) = "FE369216-6FB1-456A-A049-4A8D8E076DDC" 'progid="VBCCR18.SpinBox"
Control_GUIDCCR(46, 18) = "60DC56A6-2949-4D6D-966D-842F9B396947"
Control_GUIDCCR(47, 18) = "ED0D12DC-8D47-4B13-8B54-C4E26E771E30" 'progid="VBCCR18.StatusBar"
Control_GUIDCCR(48, 18) = "DC2A4C26-4A02-4BE7-911E-0EF40147E18E"
Control_GUIDCCR(49, 18) = "8DDC9945-3E89-4000-B35F-A87B36F21BF0"
Control_GUIDCCR(50, 18) = "1217ADD4-05E7-4949-AA9B-3961442A1330" 'progid="VBCCR18.SysInfo"
Control_GUIDCCR(51, 18) = "7FF38013-0606-4268-AD3B-970D2CEE4431" 'progid="VBCCR18.TabStrip"
Control_GUIDCCR(52, 18) = "41D7D7A5-882F-4CE8-865E-1071BB63FEF1"
Control_GUIDCCR(53, 18) = "51192D9B-177C-4737-AC63-0E2DADAA1B0B"
Control_GUIDCCR(54, 18) = "5783BC5F-C3FE-4982-B10E-D68C9DBC2B93" 'progid="VBCCR18.TextBoxW"
Control_GUIDCCR(55, 18) = "CCFE7049-5B76-4C89-B2F5-B841E63D7B81"
Control_GUIDCCR(56, 18) = "FCCADBB2-F12F-442D-9E48-00A55D2E39B2" 'progid="VBCCR18.ToolBar"
Control_GUIDCCR(57, 18) = "F6511082-8B4F-4246-BEC2-5E492989E7B2"
Control_GUIDCCR(58, 18) = "4849FCF6-C182-45DD-8986-5D8A4593C8DB"
Control_GUIDCCR(59, 18) = "35EF5609-4AE7-40C1-8196-F1ACE9213E2E" 'progid="VBCCR18.TreeView"
Control_GUIDCCR(60, 18) = "FBF38358-FBEC-4D38-AFBA-2D5A4CDD3B3C"
Control_GUIDCCR(61, 18) = "7B4B942C-C0A8-4F16-9AE2-365EFE4D8526" 'progid="VBCCR18.UpDown"
Control_GUIDCCR(62, 18) = "24EED684-815B-4A9F-AAC9-E0D8F1C75BBB"
Control_GUIDCCR(63, 18) = "EEE1C302-99F4-4ABC-B180-1C41533722B0" 'progid="VBCCR18.VirtualCombo"
Control_GUIDCCR(64, 18) = "D88CC683-6B92-4FEE-8DD0-A9212D5B7D37" 'progid="VBCCR18.VListBox"
Control_GUIDCCR(65, 18) = "49D77466-C1F3-436A-A0CA-7B5B6C462FC5" 'progid="VBCCR18.WindowedLabel"
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
Nouyana
Hi, MountainMan!
The VBCCR18 is released. Help us to update your code, please. A new control (WindowedLabel) was added. This code is not enougth:
I'm sorry. All works fine with the piece of code above. And you don't need anything else.
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Version 3.5 is at the bottom of the first post. It now works with VBCCRxx up through 18 (v1.8).
-
3 Attachment(s)
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Hello MountainMan!
When compiling "DriveComboDemo" (linked above), the following error is reported, please help you deal with it. Thank you!
Error Message:
FolderCompress = ErrCatch("Cannot set compression for " & Quote(anFSD.Path), -1&, True, , ErrCtrl)
Attachment 192577
Attachment 192578
Attachment 192579
-
3 Attachment(s)
Conversion Tool for vb6 OCX to Krool OCX
First, many thanks for your contributions and support.
Your update utility requires a project that was already converted to Krool's OCX.
Hexagora's (out-of-support) UNICODE OCX suite comes with a nice utility (PrjConv.exe) that allows conversion from a project that has NOT been converted yet (to Hexagora's controls -- not to Krool's controls).
Please consider adding that option to your utility? It would be a big time saver and would make the transition much easier.
Attachment 193469
Attachment 193470
Attachment 193471
-
Re: Conversion Tool for vb6 OCX to Krool OCX
Excellent utility, thanks. I'd like to update our code to the current VBFLXGRD18, and see that the utility only goes to 17. I see where you are using this in Set_xx_Flex, but in looking at the GUIDs in Krool's post for 18, I see four CLSIDs instead of three (which I can confirm for the prior versions). So, I'm afraid I must ask for a bit of help. Thanks, and happy new year!
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
In fact, we need a general version management system.?Use the OCX version for testing. The source code is used for the final compilation.
For many of these open source controls or other libraries.
It's also good to keep multiple versions of the source code. Because the new version may have a lot of bugs, the old version is smaller.
Some versions can be used seamlessly, and some versions can not be directly compatible because they are too modified, so they need to modify a lot of things.
Better add another one. For a project with multiple controls. Userconrtol, if we only need to keep one. You can use code to automatically remove redundant other controls or modules. It would be better if we could delete all the unnecessary API declaration data structures and redundant functions.
In short, if there are four user controls in a control project, I only need to extract one of them and delete all the unnecessary code.
-
Re: Conversion Tool for vb6 OCX to Krool OCX
Quote:
Originally Posted by
TheLeePiper
Excellent utility, thanks. I'd like to update our code to the current VBFLXGRD18, and see that the utility only goes to 17. I see where you are using this in Set_xx_Flex, but in looking at the GUIDs in Krool's post for 18, I see four CLSIDs instead of three (which I can confirm for the prior versions). So, I'm afraid I must ask for a bit of help. Thanks, and happy new year!
Just following up on this to see if you have near-term plans to add VBFLXGRD18 to your migration utility. Not pressing, just planning. Thanks!
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Thank you so much! They work amazingly!
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Or, you can also refer to this document.
VBCCR (VB6 ActiveX Universal Control Alternative Library) supports native unicode characters
https://doc.vb6.pro/vbccr/
-
Re: Krools Common Controls - Documentation and an Update/Compile Utility
Quote:
Originally Posted by
woeoio
Or, you can also refer to this document.
VBCCR (VB6 ActiveX Universal Control Alternative Library) supports native unicode characters
https://doc.vb6.pro/vbccr/
Very nice. But you should give a separate attribution / link to this thread, not just Krool's main thread, since they are separate authors.