Skip to main content
Known Participant
December 7, 2020
Question

AVDocOpenFromFile cannot open file under C:/user/localadmin

  • December 7, 2020
  • 2 replies
  • 806 views

Dear All,

 

I cannot open file by using AVDocOpenFromFile, if the file is under C:/user/localadmin. But it can open file if I added "Everyone" into the security of directory - localadmin. Anyone has the idea about it?

 

Thanks and best regards,

Tony

 

 

This topic has been closed for replies.

2 replies

Legend
December 14, 2020

Is Protected Mode on? 

li0D4CAuthor
Known Participant
December 14, 2020

In perference -> enabled protectd mode at startup 

Protected view is All files.

off Run in AppContainer.

 

Legend
December 14, 2020

This sounds as if it is designed behaviour. Most files cannot be opened from code in Protected Mode. Open it first in the UI, then try running the code.

Legend
December 9, 2020

Can you open it is the UI without changing the security?

li0D4CAuthor
Known Participant
December 14, 2020

Yes. I can open it if not use AVDocOpenFromFile.

thanks,

tony