web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to open document only in read mode

(0) ShareShare
ReportReport
Posted on by 327

hi all i am opening a document through  WinAPI::shellExecute(filename)...

but which opened i can able to edit that...my requirement is it should not allow me to edit is it possible?if possible how?  

*This post is locked for comments

I have the same question (0)
  • Jie G Profile Picture
    on at

    Hi,

    It's not possiable to use WinAPI::shellExecute(filename) to open file in readonly mode. You may consider to write a tool to open file in readonly mode and call the tool via WinAPI::shellExecute

    WinAPI::shellExecute  is based on msdn.microsoft.com/.../bb762153%28v=vs.85%29.aspx

  • karthik143 Profile Picture
    327 on at

    thanks for immediate response.i didn't understand  "You may consider to write a tool to open file in readonly mode and call the tool via WinAPI::shellExecute"

    can you please explain this you have any example for this....

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans