i seem to get compile errors and obviously am doing something wrong.
        Type brokerType;
        object brokerObject;
        brokerType = Type.GetTypeFromProgID("Broker.Application");
        brokerObject = Activator.CreateInstance(brokerType);
        object commentary=brokerObject.Commentary;

        commentary.LoadFormula("C:\\temp\\name.afl");
        commentary.Apply();

        commentary.Save("c:\\temp\\name.txt");
        commentary.Close();

any suggestions is appreciated.

Reply via email to