This looks like a problem with the reference to the control - you may have multiple versions of the DLL, or the "other" system may have an older version
Have a look at your project references and look for
Windows Common Controls
- If you have two references then decide which one to use and remove the other
- if there is a problem with the DLL there may be a "can't load" message - I don't think you will see this on this occasion though.
- Try removing the reference and re-adding it
- Check that the DLL (MSComCtl.dll) I think is correctly registered on the "other system"
NB - if registering anything for VB6 on Windows7 or later make sure you use
C:\Windows\SysWOW64\Regsvr32.exe
and NOT C:\Windows\System32\Regsvr32.exe
Microsoft provide a free roll-up package of the
runtime components[
^] for VB6 if you need to get the latest versions (recommended).
Finally - please consider upgrading to VB.NET - the
Express Version [
^] is free