If you are using MSCOMM32.OCX you are limited to COM10. If you use the CreateFile method you can use up to COM256 but have to use a different syntax for ports above COM16. I can dig up the details if you need them. I've also seen a patch for MSCOMM32.OCX to allow all 256 ports but am leary of it.