How to replace my old VB buttons with this new button?
Actually, replacing old VB Command buttons with the Exontrol's exButton component is just like replacing a string with another.
You have the following options to replace the VB Command objects with the Exontrol's exButton component.
A)
Make the first step to add the ExButton to the VB project like any control with the project open (Ctrl+T), save and close it.
Do the "VB.Command" search and replace in each frm file.
B)
Open the Project1.vbp and add a reference to the exbutton.dll by adding the line ~Object={65D9132C-B295-42A0-8421-B8B1DA27C5CE}#1.0#0; ExButton.dll~ Do not include the ~ characters.
Open the Form1.frm and add the ~Object = "{65D9132C-B295-42A0-8421-B8B1DA27C5CE}#1.0#0"; "ExButton.dll"~ reference to the form just before 'Begin VB.Form'
Replace all ~VB.CommandButton~ with the ~EXBUTTONLibCtl.Button~ and save the form1.frm file.
Now, the idea to replace the old VB button with the new button is to use a tool that's able to find and replace strings. For instance if you have multiple vbp files adding the object reference to the files could be like follows. Look for a property in the .vbp file that could be located in all your vbp files, like VersionCompanyName ( or whatever ) and do Replace('VersionCompanyName="YourCompanyName"', 'VersionCompanyName="YourCompanyName"\r\nObject={65D9132C-B295-42A0-8421-B8B1DA27C5CE}#1.0#0; ExButton.dll'. This way you actually added the reference to the project file. The same for the file reference in the frm files where the 'Begin VB.Form' could be located.