web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • karthik143 Profile Picture
    327 on at
    RE: how to open document only in read mode

    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....

  • Jie G Profile Picture
    on at
    RE: how to open document only in read mode

    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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans