I am trying to load a screen painter form which I have saved as an xml file. My code worked last week. I haven't changed anything. I don't know why it gives me an error now, maybe someone can help me?
Here is my code:
private void LoadFromXML(string FileName )
XmlDocument oXmlDoc = new System.Xml.XmlDocument(); string sPath;
sPath = "D:
string sFile = sPath + "
" + FileName;
oXmlDoc.Load( sFile );
string sXML = oXmlDoc.InnerXml;
SBO_Application.LoadBatchActions( ref sXML );
catch ( Exception ex )
string s = ex.Message;
It blows up on SBO_Application.LoadBatchActions( ref sXML ); and gives me an error of Object Does Not Exist. I know it finds the xml file as I can see that it does. Anyone have any suggestions?