Hi,
I am trying to open the FileOpenDlg using the following code and failing:
IManDMS mainDMS = new ManDMS();
IManSession sess = mainDMS.Sessions.Add("FILESITE_SERVER");
sess.Login("username", "password");
IManDatabase currentDatabase = sess.Databases.ItemByName("dbname");
int something = this.Handle.ToInt32();
IMANEXT2Lib.IManFileOpenDlg c = new IMANEXT2Lib.IManFileOpenDlg();
c.Sessions = sess;
c.Show(something);
This is causing the following image to be displayed (attached) with the message:
"An unexpected WorkSite error occurred".
As I am not sure the above code is correct, would anyone care to guide me on this?
Many thanks.