Hi,
Please note that Visual Basic 6.0 is no longer supported and it's recommended to migrate your functionality to .NET.
To reregister MSCOMM32, you can open cmd as administrator and try the commands
regsvr32 /u MSCOMM32.OCX
regsvr32 /i MSCOMM32.OCX
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.