A. Klitzing wrote:
Hi Ocke,

I found that site but I didn't know how a macro can help me in C++. ;-)
That's not the point. When you execute the macro it creates a configuration entry for your driver. At startup Base scan the configuration and after that knows what to when the user selects one of them. Later on you can copy the configuration entry found at $user/registry/data/org/openoffice/Office/DataAccess.xcu and put it into your zip package.

I tried it and I have a box with a "selection"-button but I can't open it. Is that ok? ;-)
No, that isn't good. :-) Could you add the macro here or send it me by e-mail? Please verify that you add a asterisk before your extension. Or you submit an issue for this one.

-- OJ

André

Ocke Janssen schrieb:
Hi André,

Did you add the configuration entry for a new driver or did you add new code in the dbaccess module? In the 1. case you may have a look at http://dba.openoffice.org/howto/UserDefinedDriverUI.html There you run an macro which will create such an entry in the configuration. When you set the extension it must be shown in the file-open dialog. If not it's a bug :-)



--
Ocke Janssen                      Tel: +49 40 23646 661, x66661
Dipl. Inf(FH)                     Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55                     mailto:[EMAIL PROTECTED]
D-20097 Hamburg                   http://www.sun.com/staroffice

Example isn't another way to teach, it is the only way to teach. Albert Einstein

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to