Opening old files on read-only volumes
I do a lot of demos and presentations with (and about) Adobe Edge Animate, and discovered a flaw when opening files made by older versions, and stored on read-only media (like a remote public volume or folder). The file will open but Animate tries to "upgrade" it by immediately storing a (temporary) copy in the same location. This obviously won't work on locked or read-only media, so the application prompts there's a problem and the file cannot be used.
Of course I can simply copy the whole folder to my desktop or another location which is write-enableb. But maybe this could be dealt with in a more elegant manner ?
Hi Peter,
Thank you for your post.
We will test this issue and let you the result.
Regards,
Devendra
Similar Messages
-
Issue regarding open word file and read only mode using c# & MS-word interop
i am programmatically open a word file for search and highlight keyword. my routine is working fine. the problem is when i am opening the file programmatically then a dialog come and ask me to open file in read only mode. the dialog look like below one
actually i do not want to open the file in read only mode because people can open and like to change and save. so guide me what i can do to not to open the file in read only mode.
here is my full code. just have a look and tell me what is wrong in my code or tell me any trick as a result i can open the file not in read only mode. here is my code.
private void button1_Click(object sender, EventArgs e)
object fileName = "";
string filePath = "";
string strSaveasPath = "";
DialogResult result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK)
fileName = openFileDialog1.FileName;
//strSaveasPath = Path.GetDirectoryName(path.ToString());
//fileName = "Z:\\C0000000003.doc";
List<string> _list = new List<string>();
_list.Add("tridip");
_list.Add("arijit");
//object fileName = "D:\\CVArchievePath\\C0000000001.doc";
object textToFind = "test";
object readOnly = false;
Word.Application word = new Word.Application();
Word.Document doc = new Word.Document();
object missing = Type.Missing;
try
doc = word.Documents.Open(ref fileName, ref missing, ref readOnly,
ref missing,
ref missing, ref missing,
ref missing,
ref missing, ref missing,
ref missing,
ref missing, ref missing,
ref missing,
ref missing, ref missing,
ref missing);
doc.Activate();
object matchPhrase = false;
object matchCase = false;
object matchPrefix = false;
object matchSuffix = false;
object matchWholeWord = false;
object matchWildcards = false;
object matchSoundsLike = false;
object matchAllWordForms = false;
object matchByte = false;
object ignoreSpace = false;
object ignorePunct = false;
object highlightedColor = Word.WdColor.wdColorGreen;
object textColor = Word.WdColor.wdColorLightOrange;
object missingp = false;
Word.Range range = doc.Range();
foreach (string line in _list)
textToFind = line;
bool highlighted = range.Find.HitHighlight(ref textToFind,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing,
ref missing);
System.Diagnostics.Process.Start(fileName.ToString());
catch (Exception ex)
Console.WriteLine("Error : " + ex.Message);
//Console.ReadKey(true);
finally
//doc.Close(missing, missing, missing);
if(doc!=null)
System.Runtime.InteropServices.Marshal.ReleaseComObject(doc);
if (word != null)
System.Runtime.InteropServices.Marshal.ReleaseComObject(word);
word = null;
doc = null;
GC.Collect();
GC.WaitForPendingFinalizers();I know it's a very old issue and I reached to this page looking for a solution. Finally, I have found a fix to this problem.
The problem is that we create an instance of Word and do not close it correctly. This makes program believe that the file is already open and hence you're getting the respective message of file being locked by you.
Set the visibility of your application to true and then when you close it both file and instance should close and you will not get the problem again. -
I would like to use Firefox with Sharepoint.
However, I am only able to open a file in "read only" mode whch means I cannot edit the document and save it. I am also not able to "check-out" a document in Sharepoint and edit it at the same time.This may not work for everyone, but I solved this problem by clicking on the file name in sharepoint, not the document icon to the left of the name. This then brought up the various options, including checking out, editing, version history etc. It seems obvious but I have only just realised this!
-
Opening the file in read only mode
hi all,
i am using
i want to open any type of files in read only mode using host command.so first i am setting the attribute to read only and then opening the file. But still the opened file is editable. i have written like below
Host( 'cmd /c attrib +r "\test_folder\testing\PURCHASE_ORDER\'||:PO_FILE_NAME||'"',NO_SCREEN);
Host( 'cmd /c "\test_folder\testing\PURCHASE_ORDER\'||:PO_FILE_NAME||'"',NO_SCREEN);is this is the way to open the file in readonly mode?
Along with the above the files which i opened with the help of above said code those files i am not able to delete also.(i have to delete the selected file)
i thing when i am setting the attribute something is going for a mess!
Please help.
Thanks..
Edited by: GD on Jun 23, 2011 2:25 AMhi,
Read only means you cannot mofiy the file. This also includes that you cannot delete a readonly-file yes,
what i am doing is i have three button in my layout 'save','view' and 'delete'.
1.so when user press 'save' button after selecting the file then the file gets saved into the specified.
2. when user press 'view' button the file has to open in read only mode.
for this i have written above mentioned code(but still i am able to edit the file)
3.when user press 'delete' button the file has to be deleted from the specified location.
so my problem is after setting file to read only mode, i am able to edit but i am not able to delete it.
What i am using to set the file to read only mode is right?
Please help.
Thanks.. -
Open pdf files in read-only mode
Hi all,
I want to open a file and I want to have option rewrite the file while it's open in the Reader.
Is there any way how to open the file in the read-only mode and even from cmd in Windows?
Thanks in advance.You can set security in the file to dissallow changesby going to File>Properties>Security in Acrobat. But you can't change anything with Reader.
-
Cannot open .jpg files; says read-only and no access
I cannot open .jpg files I've been working on, even though I saved them as .jpg. The prompt kept asking me to save the files over & over. I did for a while then said NO to close the files. Now it says access is denied. Went to properties and tried to uncheck box for read-only, but it says I don't have access to do that. How can I get my files back...these were very special photos. Please help!
No...just PSE7. Unfortunately, when I tried to cut & paste the photos from
my camera disk to my hard drive, the problem photo completely disappeared.
When I go into recent history, the shortcuts are there, but none of them
work. They say the file has been moved or changed so...I don't even know
where they are for now. Do I need to call a repairman? -
Hi,
ActiveWorkbook.SaveAs SFilePath & udds & ".xlsm", xlWorkbookNormal
SetAttr SFilePath & udds & ".xlsm", vbReadOnly
Application.DisplayAlerts = True
I have used the above code to make my file readonly ...however it still allows to make changes to the file and sometimes the file does not get open and throws an error " Excel cannot open the file ".xlsm" because the file format or file extension
is not valid......."
Could you please help me this
Regards, HiteshHi,
ActiveWorkbook.SaveAs SFilePath & udds & ".xlsm", xlWorkbookNormal
SetAttr SFilePath & udds & ".xlsm", vbReadOnly
Application.DisplayAlerts = True
I have used the above code to make my file readonly ...however it still allows to make changes to the file and sometimes the file does not get open and throws an error " Excel cannot open the file ".xlsm" because the file format or file extension
is not valid......."
Could you please help me this
Regards, Hitesh
Saving the file as read-only does not mean you cannot make changes, it merely means it is recommended that you open this file as read-only. Also using 'xlWorkbookNormal' is incorrect since this is basically the macro-free xml format. Use the 'xlOpenXMLWorkbookMacroEnabled'
instead. Now as far as not allowing the user to make changes you will need to protect each worksheet, as well as protect the workbook. So something like
Sub ProtectWorkbook()
ThisWorkbook.Protect Structure:=True, Password:="test123"
Dim sh As Worksheet
For Each sh In ThisWorkbook.Worksheets
sh.Protect Password:="Test1234"
Next sh
End Sub -
I work for an auditing firm and we have recently gone paperless with our audit documentation. We have our files saved on a server and multiple people can access the same file at one time. We noticed that Acrobat does not give an message notifying a user that someone else is in that file, nor does Acrobat make that PDF file a read only file when someone else is in it editing the document. Is there a way to notify someone that another user is in the same PDF file? Or is there a way to make a PDF read only when someone else is working with the document?
Hi ashleyr1936858
You can restrict editing of a pdf by setting the password, such that anyone who wants to edit the pdf would need to input that password. This would make the pdf a read-only file.
Here's a Link for more information : Acrobat Help | Securing PDFs with passwords
Regards,
Rahul -
Can't save power pivot report back to power pivot gallery...file is read only
Hi eb
I have developed an excel pivot report in a power pivot gallery (all in 2013).
Next time i open that report from the power pivot gallery and attempt to save it again to the gallery
I am blocked with a msg: we cant save http://........./powerpivot gallery/myPwerPvt.xslx file is read only.
To keep your changes you'll need to save the woorkbook with a new name or different location.
Please help!
TIA
ReaHi Rea,
When you try to edit the PowerPivot workbook, are you open it as read-only mode? Please see the screenshot below:
The "Read Only" mode will not be able to save any changes to the workbook you are loading.
In addition, is it work for you while you save the PowerPivot workbook with a new name?
Regards,
Elvis Long
TechNet Community Support -
Open a document in read only mode
HI All,
I created a panel in which we have
edit box which shows the document path
Browse button to allow a user to select an indesign document
"Open read only" button.
My requirement is that after selecting an Indesign document if user click to "OPen read only" button then it will opened selected document in read only mode.
I will be highly thankfull to all community memeber if anyone can give me some hint to achieve this.
Regards,
AlamAlam,
If you change the attributes of the file before opening it to read only the file will be opened as read only by Indesign. And then you could place a responder that could clear this read only flag when the file is being closed so that the permissions are restored to the original state.
Manan Joshi
- Efficient InDesign Solutions -
MetaDesign Solutions
http://metadesignsolutions.com/services/indesign-development.php -
Open EBS 115102 in read only mode
Hi,
I have upgraded our EBS 11510 to 1213 , on oracle 11202 DB.
I have cloned a copy of the database and app. before the upgrade.
I would like to give the end users an ability to open the old application and the db in read only mode.
It is possible the open the application in read only mode ?
If nnot what is my option the give an old-enchanged application to the end users , so they can compare diffs between old and new app ?
Thanks
YoavYoav wrote:
Hi,
I have upgraded our EBS 11510 to 1213 , on oracle 11202 DB.
I have cloned a copy of the database and app. before the upgrade.
I would like to give the end users an ability to open the old application and the db in read only mode.
It is possible the open the application in read only mode ?
If nnot what is my option the give an old-enchanged application to the end users , so they can compare diffs between old and new app ?
Thanks
YoavPlease see (Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]).
Thanks,
Hussein -
Error raised when opening physical standby in read only
Hi,
I've a physical standby 11.2.0.2 created using RMAN duplicate from active database which is configured with data guard. When I open the database in READ ONLY mode
SQL> alter database open read only;
Database altered.
SQL> select open_mode from v$database;
OPEN_MODE
READ ONLY
I get this error in the alert log
Physical standby database opened for read only access.
Fri Aug 12 15:14:01 2011
db_recovery_file_dest_size of 256000 MB is 4.72% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Errors in file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/ora intsb_ora_8692.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-00931: missing identifier
ORA-06512: at "SYS.DBMS_UTILITY", line 156
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
ORA-06512: at line 2
Completed: alter database open read only
the tracefile is showing this,
Trace file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/oraintsb_ora_8692.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.2.0/ORAINT
System name: Linux
Node name: c4p-db01
Release: 2.6.18-194.0.0.0.3.el5xen
Version: #1 SMP Mon Mar 29 18:27:00 EDT 2010
Machine: x86_64
VM name: Xen Version: 3.4 (PVM)
Instance name: oraintsb
Redo thread mounted by this instance: 1
Oracle process number: 17
Unix process pid: 8692, image: oracle@c4p-db01 (TNS V1-V3)
*** 2011-08-12 15:14:03.367
*** SESSION ID:(24.1) 2011-08-12 15:14:03.367
*** CLIENT ID:() 2011-08-12 15:14:03.367
*** SERVICE NAME:(SYS$USERS) 2011-08-12 15:14:03.367
*** MODULE NAME:(sqlplus@c4p-db01 (TNS V1-V3)) 2011-08-12 15:14:03.367
*** ACTION NAME:() 2011-08-12 15:14:03.367
Error in executing triggers on database startup
*** 2011-08-12 15:14:03.367
dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=0, mask=0x0)
----- Error Stack Dump -----
ORA-00604: error occurred at recursive SQL level 1
ORA-00931: missing identifier
ORA-06512: at "SYS.DBMS_UTILITY", line 156
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
ORA-06512: at line 2
if I disable the system triggers using
ALTER SYSTEM SET "_system_trig_enabled"=FALSE scope=both;
The error doesn't appear but when trying to switch to active dataguard the open_mode goes from READ ONLY to MOUNTED rather than READ ONLY WITH APPLY
Any help much appreciated
Edited by: phil74 on 12-Aug-2011 07:22Have you checked what your guard status is set to?
SQL> SELECT guard_status from v$database;I've had a similar issue before but with a standby, whereby the status was set to ALL. This means all users apart from SYS are unable to make changes on the database.
My resolution was to set the status to standby:
SQL> ALTER DATABASE GUARD STANDBY;You may wish to set the guard status to NONE however.
I took some notes:
http://juniororacledba.wordpress.com/2011/07/17/oracle-logical-standby-dataguard-error However, I do not have a link to any Oracle documentation on the subject to hand. But might give you a head start. -
Opening a container in read-only mode (DB_RDONLY, setReadOnly())
I have one process access a container in normal mode and another accessing it in read-only mode (XmlManager::openContainer with DB_RDONLY or XmlContainerConfig. setReadOnly(true) ), both with transactions. Is this:
(1) wrong (potentially dangerous);
(2) pointless (no benefits for the read-only process);
(3) reasonable (potential benefits for the read-only process)?
Whatever the answer, why is it so?
Michael Ludwighi,
Read only means you cannot mofiy the file. This also includes that you cannot delete a readonly-file yes,
what i am doing is i have three button in my layout 'save','view' and 'delete'.
1.so when user press 'save' button after selecting the file then the file gets saved into the specified.
2. when user press 'view' button the file has to open in read only mode.
for this i have written above mentioned code(but still i am able to edit the file)
3.when user press 'delete' button the file has to be deleted from the specified location.
so my problem is after setting file to read only mode, i am able to edit but i am not able to delete it.
What i am using to set the file to read only mode is right?
Please help.
Thanks.. -
Hello,
When I am opening any file (DTR -> Edit ->) in NWDS, it' gets opened as Read only. I am unable to make any changes in it. Can anyone help?
Regards,
ShaunHi Pavan,
Yes. I have done this.
We download code from Development server to our local systems. NOw we have observed that on any system if we download the code, files becomes read-only. What can be the problem? It's definetly not a local system problem.
Regards,
Shaun -
Trouble opening acrobate files with reader 10.1.7.
I have trouble opening acrobate files with reader 10.1.7. When I click on the file to open it with adobe reader x, nothing happens. If I click on Adobe Reader X icon, a message comes up: preparing to install. After that, I can open a PDF, but only until the next reboot.
Something went amiss during the install. Windows keeps trying to finish the incomplete install every time Reader opens.
Use the Adobe Cleaner to completely remove Reader.
Download the offline installer and reinstall without a download manager
Maybe you are looking for
-
I have purchased an Apple TV and an Airport Express as a gift for a loved one and was under the impression that these two would not only allow for movies, videos etc would be streamed to the TV from my MacBook Pro, but also set up Airport Express wit
-
Hotkeys or shortcut assignment in CRM PCUI application
Forum post in Portal Content Development: CRM 5.0 PCUI - Assign HotKeys to PCUI application /message/2412531#2412531 [original link is broken] Has anyone done Assigning hotkeys or shortcuts (CTLN for New Account, CTLS for Save likewise )to CRM PCUI a
-
Boot camp cant find windows installer
I'm trying to run boot camp to install Windows 7 on a partition and it can't find the Windows installer. I'm tried it from a USB and the Windows DVD, but neither works. It's an 2008 iMac 2.66 Ghz 4 Gig Ram, 128 SSD running 10.7.2 Thanks!
-
Sync problem with Outlook 2007 and BDS version 7.1
I upgraded from 6 to 7,1 on Blackberry Desktop Software and now get the following error when trying to USB sync. I use homail account through outlook connector. "Unable to access local folders. If your Outlook profile uses Hotmail connector, you mu
-
EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상)
제품 : ORACLE SERVER 작성날짜 : 2004-03-17 EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상) ============================================ PURPOSE ============ oracle 8i에서 export 시 query option에 대한 사용 예 8i에서 export의 query syntax 를 이용하여 table data의 한 부분만 exportin