Chris, Once again your answer has helped me resolve my problem. Although you suggested that I didn't need to convert to XML, I ended up using the ToXml and FromXml routine supplied in the VB.Net template (for simplicity), and borrowing some code from the BasicStatsVB_withUI project to pass the _settings data to and from the form. I also moved the ToSasProgram function from Settings to Main, so that it was with the related code. However, I think I now understand why my old "Proc Report" custom task, that worked fine in EG 4.1, stopped working in EG 4.2, and I think I now understand how to fix it. This means I have yet another EG Add-in project to complete! I know you don't like VB.Net, but thanks for tolerating it enough to help me out. Many thanks...........Phil PS. I am building a template extractor for ODS Styles, Statgraphs and Tables.
... View more