I have search the forum to find an solution to my problems, but I have not find a solution that do what I want.
I have used the following code to enable open documents through drag and drop:
Code: Select all
pxvInst.Settings["Docs.CanOpenByDrop"].Int = 1;
pxvInst.FireAppPrefsChanged(PXV_AppPrefsChanges.PXV_AppPrefsChange_Documents);
How can I get the file name/file path to a document when the document is being opened with drag and drop and use that name/path before the password dialog is shown?
I hope that I have expressed myself good enough that you might be able to help me?
/Philip