Skip to Content
Former Member
Oct 19, 2006 at 02:39 PM

SaveAsXML function create an invalid .srf file??


Hi All,

I tried to save a form (my own form created using screen painter) using SaveAsXML function included as an SDK example. But the saved .srf file cannot be opened using the screen painter or be re-loaded into the Application.

This is how i save the form:

1. Load the .srf file into the application

2. In form unload event, i get the XML using Form.GetAsXML and store it into XMLDocument

3. Save the XMLDocument as a .srf file

Surprisingly, when i try to reload the form with the latest .srf file, the system give me a blank form. I tried to open the latest file using Screen Painter, but it only give me a blank form.

Does anybody know whether this is a bug in the SDK?


Harianto Ng