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

Activex "so_activex.dll" param

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
kpitn
Newbie
Newbie


Joined: 03 Feb 2005
Posts: 4

PostPosted: Thu Feb 03, 2005 8:53 am    Post subject: Activex "so_activex.dll" param Reply with quote

Hi,

I can put the activex in my form, but when i launch my program i see a blank oo writer and the activex is freeze.

The activex as a few methods :
AddRef
GetIDsOfNames
GetTypeInfo
GetTypeInfoCount
Invoke
QueryInterface
Release

How can i make a relation between this method and a VB automation code ?
How can i open a document ?

In the SDK we can see a web page with the code :
<PARAM NAME="src" VALUE="file:///c:/test.doc">
<PARAM NAME="readonly" VALUE="false">

Where can i find a list of all parameters and can i use this parameters in a VB Code ?
Back to top
View user's profile Send private message
kpitn
Newbie
Newbie


Joined: 03 Feb 2005
Posts: 4

PostPosted: Fri Feb 04, 2005 1:06 am    Post subject: Reply with quote

I have find a way to use activex

1 - Use GetIDsOfNames with a function
2 - Use Invoke

But i can't find a simple example for VB

Please Help
Back to top
View user's profile Send private message
kpitn
Newbie
Newbie


Joined: 03 Feb 2005
Posts: 4

PostPosted: Sun Feb 06, 2005 11:58 pm    Post subject: Reply with quote

up
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 Macros and API 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