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

windows registry and OOo Basic

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


Joined: 12 Mar 2004
Posts: 10

PostPosted: Fri Mar 12, 2004 9:23 am    Post subject: windows registry and OOo Basic Reply with quote

Hi
Is there anyone who have experience with windows registry? I mean access or get some information from windows registry via. OOo Basic.

Thanks
Ondra
Back to top
View user's profile Send private message Send e-mail
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3618
Location: Columbus, Ohio, USA

PostPosted: Fri Mar 12, 2004 11:19 am    Post subject: Reply with quote

DannyB has a post in the snippets directory...

http://www.oooforum.org/forum/viewtopic.php?t=6347
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Danad
OOo Advocate
OOo Advocate


Joined: 22 Feb 2004
Posts: 293
Location: Brasil

PostPosted: Fri Mar 12, 2004 1:17 pm    Post subject: RE: Windows Registry Reply with quote

Hi !

You can use Windows API to access Windows Registry. Look for Declare in Help About OOo Basic to see how to call functions from DLL's.

TIP by Paolo Mantovani:
Quote:

In the Basic Library "ImportWizard" you can find a beautiful module "API" that
contains all you need to work with the Windows Registry API's


s.m.e, Bye.

Danad
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Mar 12, 2004 6:25 pm    Post subject: Reply with quote

Here is a related discussion.

http://www.oooforum.org/forum/viewtopic.php?t=6221

In that thread, I propose a solution where you can write a simple COM object DLL in Visual Basic, which could do anyhing that a VB program could do, and then call your COM object via. UNO (presumably from OOo Basic, but actually from any OOo supported language!). That thread may be of interest if you need more Win32 capabilities than just accessing the Windows Registry.
_________________
Want to make OOo Drawings like the colored flower design to the left?
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