Hi Mark, Apparently there is a problem with the order of the commands. If you try it this way, it appears to work:
var doc = app.ActiveDoc;
var firstPgf = doc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
var t1 = new TextLoc(firstPgf,0);
doc.AddText (t1, "Hello");
Rick