How to read the values from port COM?

I need to read the values generated by a device connected to port COM from Axapta! Thanks!

I guess you can try using MSComm.ocx. You can get it with Visual Basic in Visual Studio 6. I did use COM commnication from Axapta, but not directly. I have done whole set of Barcode Collector routines for generating lookupfile and uploading it to collector, and for dowloading data, comparison, etc. But I have used the exe files from Barcode collector manufacturer, and executed them using winapi.