+1 800 256 3608 (toll-free in North America) or +49 7531 9060-10| service@combit.com

Designer limitation on opening file explorer

Hello,
I would like to ask you if it is possible to open the Designer, but to avoid that it can open “file explorer” dialog of Windows. This is to avoid that one person can eventually go around the drive and delete some files using this dialog.

Thanks

In .net:

ListLabel report = new ListLabel();
report.LicensingInfo = “YourLicenss”
report.AutoProjectFile = “YourFile.lst”;
report.AutoShowSelectFile = false;
report.DataSource = YourDataSource
report.Design();

I hope that helps!
Marco

1 Like

In addition, for the designer UI itself you can use

LL.DesignerWorkspace.ProhibitedActions.Add(LlDesignerAction.FileOpen)
LL.DesignerWorkspace.ProhibitedActions.Add(LlDesignerAction.FileSaveAs)

However, you’d then of course be unable to open other project files in the Designer as well as saving them to a different name.

Thanks all, it works fine

1 Like

© combit GmbH