I don't think you can use ActiveX (or COM) objects with FrameMaker's ExtendScript. If so, I would like to know how. I agree with Jang, though. It is pretty easy to parse through a CSV file with ExtendScript.
FrameScript is much better with ActiveX objects. I have a bunch of FrameScript scripts that read and write to Excel spreadsheets.
Rick