To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=61070 Issue #:|61070 Summary:|Basic statement FileCopy throws wrong error code Component:|scripting Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Windows XP Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|kr Reported by:|regina
------- Additional comments from [EMAIL PROTECTED] Mon Jan 23 15:19:30 -0800 2006 ------- I use German OOo2.0.1 on German WinXP Home. Make sure you haven't got a "c:\test\" directory. Try this code Sub Main On Error Goto Fehler Filecopy "c:\test\autoexec.bat", "c:\test\autoexec.sav" msgBox "Copy done" exit sub Fehler: msgbox "Fehler Nr."& err & " Text="& error$ exit sub End Sub The error is catched, but not with code "76 Path not found" or "53 File not found" but with code 0. --------------------------------------------------------------------- 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]
