You would need to use the MSComm32 control. To add the control to your form, do the following:
1. Select Options from the Tools menu.
2. Select the Controls tab.
3. Make sure ActiveX controls is selected.
4. Find "Microsoft Communication Control" and check the box.
5. Click "Ok" or "Set as Default" (your choice).
Open the form you wish to put the control on and make sure the Form Controls toolbar is visible. Click the button with the books on it and select "ActiveX Controls". Click the button that looks like a telephone, and add it to your form.
Set your properties on the control to your needs. The "Settings" property contains your bitrate, parity, data bits, and stop bits as a string. Set the "PortOpen" property to .T. to enable communications, then put what you want to send into the "Output" property.
You can always press F1 on the control to bring up the MSComm32 help file.
Hope that helps!