Hello,
I am trying to run System.Windows.Forms.OpenFileDialog component from our code unit and I get a prompt to
that the NAV clinet needs permission to run this component.
The only options I get are
Allow for this Client session
or
Do not allow for this client session.
Is there a way to enforce always allow?
Thank you,
Antonis
0
Comments
UploadedFileName := CommonDialogMgt.OpenFile(Text001,'',5,'',0);
FileName := UploadedFileName;
Chn
I am indeed trying to open a file from the file system but it seems the CommonDialogManagement CU was removed in NAV 7 beta version and I am using the File Management CU (419) to read and save a file, which throws the prompt for permission.
Thank you,
Antonis
Allow for this client session
and
Do not allow for this client session
Thank you,
Antonis
did you find a solution for this issue?
best regards
David
instead of dubbleposting i should have googled correctly... i found a solution here:
http://www.kauffmann.nl/blog/index.php/ ... component/
wasn't able to test it yet because the issue only appears on our clients' Network