![]() |
#1
|
|||
|
|||
![]()
I am opening a cdr file from a vb.net widows app. Under certain circumstances I need the document to be opened as read only. I know I can set the file attribute to read only, but would prefer a way to do it through CorelDraw. My question. Is there a way to open a document as read only / and or a way to not allow the user to change the document or at least not save the document.
The code works with X3, X4, X5 Thanks |
#2
|
||||
|
||||
![]()
Hi.
Unfortunately no. Once the user has the file open, providing he/she isn't using a trial version of Draw, there is no way to stop them from saving, exporting, or copying to clipboard. ~John |
#3
|
||||
|
||||
![]()
HI BlackNight.
As an after thought thiscould be added inot a future version of CorelDraw itself. Many others have asked for a copy protection feture in Draw. Some ideas about implementing might be: 1) Passworded locked items. Beside the normal lock method you could have a password lock for shapes. When password locked the item would not be saved, allowed to be copied to clipboard, exported,, etc. Example: If a document was saved that contained a password locked item then the document, when opened later, would not include the locked item. 2) Documents can be saved as viewable only. When this option is checked, while saving the reopened document will bring up a prompt in Draw. The prompt might say, "You are opening a document that is marked as viewable only. Many features of Draw will be disabled until document is closed. Continue?". Draw will go into viewable only mode. Some tools that are left available would be the zoom tools. ~John |
#4
|
|||
|
|||
![]()
You can try to intercept system event Document_QuerySave(Cancel As Boolean). If ActiveDocument.Name =/<> YourFile then Cancel = true/false
|
#5
|
|||
|
|||
![]()
Thanks guys..
|
#6
|
|||
|
|||
![]()
Hi,
You can't use events for this. The events can be disabled with a macro or a button push on the toolbar. Corel now has a content protection system that is used in X6.1 - will they share this with third parties via the Object Model? -James |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
saving file from an unstable session of corel draw | terenteml | General | 7 | 22-10-2012 17:05 |
Saving with incremental filename | nic | CorelDRAW/Corel DESIGNER VBA | 5 | 22-01-2012 01:13 |
Saving Icons | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 9 | 02-04-2007 20:23 |
Saving File while auto generating Jpg files | vindaa | Macros/Add-ons | 16 | 03-01-2007 19:44 |
X3 Workspace - Not Saving | dungbtl | General | 3 | 11-06-2006 04:55 |