title: Determining and Changing a VB6 OCX ClassID
body: <p>I was thrown into a legacy system enhancement. It was VB6+ asp (the old-school asp) system. So basically, the system will do some database query and push the results into an activeX object (an OCX) so that the info shall be printed in barcode form.</p>
  
  <p>I was asked to modify the OCX so that it does not print some logo, however, I need to maintain the original one for the existing printing purposes. So, I "Save As" the original one and managed to successfully modified it.</p>
  
  <p>The system shall install the OCX into users PC. However I noticed that instead of running using two different OCX for two different printing purposes, the system uses only the latest OCX for both printings. The OCXs were named differently. The only thing that both of them share is the CLASS ID.</p>
  
  <p>How can I determined the newly recompiled OCX's CLASS ID and is it possible for me to change it? How?</p>