Hi Experts,
I want to open a form named addin 10 times. But It opens the form for the first time only . for 2 to 10 times,
a message box is shown that form already exits.
i have written the following code,
for i =1 to 10
LoadFromXML("addin.srf")
next
Public Sub LoadFromXML(ByRef sfileName As String)
Dim oXmlDoc As New System.Xml.XmlDocument
'// load the content of the XML File
Dim sPath As String
sPath = Application.StartupPath.ToString
oXmlDoc.Load(sPath & "\" & sfileName)
'// load the form to the SBO application in one batch
SBOApplication.LoadBatchActions(oXmlDoc.InnerXml)
End Sub
I want to load the form 10 times please help.