To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69907
                 Issue #|69907
                 Summary|FilePicker locks directory of the chosen file
               Component|api
                 Version|OOo 2.0.3
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|bmarcelly





------- Additional comments from [EMAIL PROTECTED] Wed Sep 27 02:42:15 -0700 
2006 -------
I found this problem both on 1.1.5 and also on 2.0.3 with Windows XP Home SP2.
1 - Run the macro hereunder, choose a file. 
2 - Then try to rename the directory of the file: rejected "resource used by 
another 
user or program".
3 - Run again the macro, choose a file in another directory.
4 - Try to rename this last directory: rejected. Try to rename the former 
directory: 
now it is accepted.
5 - the only way to unlock is to close OOo.

Sub testFilePicker
fp = createUnoService("com.sun.star.ui.dialogs.FilePicker")
fp.appendFilter("All", "*")
fp.CurrentFilter = "All"
fp.Title = "Choose a file"
if fp.execute = 1 then
  lesFichiers() = fp.Files
  MsgBox(lesFichiers(0) )  
end if
fp.dispose
End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to