Hi ,

Alle 17:17, venerdì 22 giugno 2007, Cor Nouws ha scritto:
> Hi,
>
> Those familiar with VBA might know the PrivateProfileString function,
> that can read/write the Windows registry as well as an ini-file.
> The latter had my interest and I searched for an existing replacement;
> makes conversions easier.
> But I didn't find any replacement (maybe didn't seach good enough).

I this post :
http://scripting.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=48
you can find a similar replacement but based on the 
com.sun.star.registry.SimpleRegistry service, instead of the old style basic 
statements for file I/O

Since my code is very old (May 2003) it uses the css.frame.Settings service 
that in meantime has been deprecated and should be replaced with the 
css.util.PathSettings service. A part from this it should work quite well


> Anyway, I've made two functions myself, which could be placed in the
> codesnippets.
> Is someone skilled in doing that swiftly?

Have you tried with the SnippetCreator wizard?
It should be very helpful in order to write codesnippets with a minimal effort

ciao
Paolo M

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

Reply via email to