I've created an ActiveX control that uses the MSComm control to retrieve data
from a controller and now I want to add property pages to let the user change
the Com Port and Baud Rate.
The ActiveX control has the following properties:

Public Property Let CommPort(portnum As Integer)
MSComm.CommPort = portnum
End Property
Public Property Let BaudRate(baud As Long)
MSComm.Settings = Str(baud) & LTrim(",N,8,1")
End Property

When I add a property page, the following event code is added:
Private Sub PropertyPage_ApplyChanges()
SelectedControls(0).CommPort = txtCommPort.Text
SelectedControls(0).BaudRate = txtBaudRate.Text
End Sub

This doesn't set the properties of the MSComm control. Any suggestions?