boXer14
30th March 2006, 13:47
hello all,
Does anyone already write a OOo macro with BaaN IV OLE ?
i'm trying this macro in OOo :
Sub Test_Ole_Baan
Dim OleService
Dim Baan
OleService = CreateUnoService("com.sun.star.bridge.OleObjectFactory")
Baan = OleService.CreateInstance("Baan4.Application.ovi")
Baan.Quit
End Sub
Bw opens but send an error message :
DispGetIDsOfNames failed, error = -2147352570
any help appreciated (and sorry for poor english...)
tia
Does anyone already write a OOo macro with BaaN IV OLE ?
i'm trying this macro in OOo :
Sub Test_Ole_Baan
Dim OleService
Dim Baan
OleService = CreateUnoService("com.sun.star.bridge.OleObjectFactory")
Baan = OleService.CreateInstance("Baan4.Application.ovi")
Baan.Quit
End Sub
Bw opens but send an error message :
DispGetIDsOfNames failed, error = -2147352570
any help appreciated (and sorry for poor english...)
tia