Hi
I am trying to use the DocOpenDlg in IIntegrationDlg in a c# windows app.
I can invoke the dialog but am unsure as how to cast the dialogs documentlist to a list of document objects ( NrtDocuments or Imandocuments)
Heres the code snippet
IManDms oDMS = new ManDMSClass();
oDMS.Sessions.Add("SERVER").TrustedLogin();
openDlg.NRTDMS = oDMS;
openDlg.SingleSel = false;
string[] commands = new string[1];
commands[0] = "
@1@&Choose";
openDlg.CommandList = commands;
openDlg.Show(openDlg.Window());
long ICommandSelected = openDlg.CommandSelected;
if (ICommandSelected == 1)
{
/// What do i do with documentlist here ?
openDlg.DocumentList
}