It seems to me I once saw code that wrote to a serial port using standard file processing statements (Open, Write, and Close). You just have to use the port name (with a trailing colon) as the file path. For example,
Dim iFile As Integer
iFile = FreeFile()
Open "COM1:" For Output As iFile
Write #iFile, "ATDT nnn-nnnn" & vbCrLf
Close #iFile
I could be just imagining this, but if it works, it sure is an easier method than using the Windows commlib. (Make sure you handle errors, though--in case the port is busy.) Rick Sprague