Hey Guys,
Following on form some work I have been doing, I'm trying to tidy up the Desksite scripts which manage the profiles etc.
In the NewProf.nrs file I have found the following code:
'Add Hex of the window handle to the context collection
Context.Add "WDXdlgWindow", Hex(NewProfDlg.Window)
On Error Resume Next
Set vo = Createdlgect("WDXIWC.Connect")
ret = vo.InitCopy(Context)
If (ret = true) Then
NewProfDlg.SetAttributeValueByID 5, vo.Author, True
NewProfDlg.SetAttributeValueByID 8, vo.Class, True
End If
vo.Initialise NewProfDlg, Context
If (vo.CheckMode(NewProfDlg) = 0) Then 'simple mode
Set mo = Createdlgect("WDXInterwovenExt.SelectedDocHelper")
ret = mo.InitDialog (Context)
Context.Add "WDXdlgWindow", Hex(NewProfDlg.Window)
End If
On Error Goto 0
I can understand the logic but I could find no reference to the non-standard objects or methods used in the SDK documentation anywhere.
Can anyone provide me with a brief interpretation of what this code does?