End Sub
Private Sub LoadFromXML(ByRef FileName As String)
Dim oXmlDoc As Xml.XmlDocument
oXmlDoc = New Xml.XmlDocument
'// load the content of the XML File
Dim sPath As String
sPath = IO.Directory.GetParent(Application.StartupPath).ToString
oXmlDoc.Load (sPath & "\" & FileName)
'// load the form to the SBO application in one batch
SBO_Application.LoadBatchActions (oXmlDoc.InnerXml)
sPath = SBO_Application.GetLastBatchResults()
End Sub
在一般设置里面定义下路径