| View previous topic :: View next topic |
| Author |
Message |
marceloc General User

Joined: 11 Apr 2006 Posts: 5
|
Posted: Thu Apr 20, 2006 7:39 am Post subject: Error "com.sun.star.io.IOException" at Macro OOo 2 |
|
|
Anybody here knows if there is error in this code:
sub consult
Dim oFonte As Object
oFonte = createUnoService("com.sun.star.sdb.DataSource")
oFonte.databaseDocument.storeAsURL("c:/racap.odb", Array())
oContexto.registerObject("racap", oFonte)
oFonte.DatabaseDocument.store()
end sub
I execute a Macro at OOo 2.0.2 Calc and appear an error in the line:
oFonte.databaseDocument.storeAsURL("c:/racap.odb", Array())
Error: Basic Runtime Error
An exception occurred
Type: com.sun.star.io.IOException
Message: .
Thanks |
|
| Back to top |
|
 |
ms777 Super User


Joined: 07 Feb 2004 Posts: 1355
|
Posted: Thu Apr 20, 2006 1:41 pm Post subject: |
|
|
| unix or windows ? If the latter, try a backslash ... |
|
| Back to top |
|
 |
|