We have some 8 to 10 user-defined screens. We are unable to open 2 0r 3 screens at a time as we do the original SBO screens. Please help with any procedure that we could use for opening many screens at a time rather than opening one by one.
You have to play with <i>Form.UniqueID</i>. I use something like timestamp for this purpose
sResourceFile = "myForm.xml" oXMLDoc.Load(sResourceFile) creationPackage = SBO_Application.CreateObject(BoCreatableObjectType.cot_FormCreationParams) creationPackage.UniqueID = "myForm_" & Format (Now, "HHmmssffff") creationPackage.FormType = "myForm" creationPackage.BorderStyle = BoFormBorderStyle.fbs_Fixed creationPackage.XmlData = oXMLDoc.InnerXml oForm = SBO_Application.Forms.AddEx(creationPackage)