Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disallow user from quitting Word
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00447804
Message ID:
00448447
Views:
8
David, are you going to prevent a user from launching Word and modifying your docs outside your app, if so how?

>Basically, I'm a control freak.
>
>My app is a document library server that allows users to print certain documents but not edit them (we don't want bootleg, modified documents running around). (Yes I know I can open the document read only). We basically have a trusted environment which means I'm not too concerned with people going to some lengths to hack around my read/print only controls...I just don't want to make it easy for someone to do, thereby tempting them to violate protocol to satisfy some expediency.
>
>To that end, I really want to use Word as a Preview/Print server and hide the rest of its controls. Ideally, exiting from the Preview window or sending the document to the printer (from the preview window) would pop me out of word, back to my app, which would then kill word (or not, depending on what I want to do next).
>
>I don't have a lot of experience with OLE but this simple control protocol...
>
>i start it
>you use it the way i want you to
>i stop it
>
>Feels like it'll cut down on cases I have to cover due to user imagination.
>
>...I could be wrong though.
-michael

My brain hurt like a warehouse, it had no room to spare, I had to cram so many things to store everthing in there. - David Bowie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform