OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Base automation with visual basic

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Remmy
Newbie
Newbie


Joined: 23 Aug 2005
Posts: 2

PostPosted: Tue Aug 23, 2005 5:17 am    Post subject: Base automation with visual basic Reply with quote

Hai there

i'm a newbie here
I have search the forum but i can't seen to find any thing about it. I have read many topic about automation of openoffice but they nerer speak over the Base why is that.
I have recently downloaded the OOo 2 (beta) i geus and in here is the Base i want to automate it with vb.
I have tried this code:

Set oRootOOoObject = CreateObject("com.sun.star.ServiceManager")
Set oOOoObject = oRootOOoObject.createInstance("com.sun.star.frame.Desktop")
Set oBase = oOOoObject.loadComponentFromURL("private:factory/sbase", "_blank", 0, Array())


But ad the last line i get an error
Can any body help me
Is it even possible to do this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group