8 messages in org.openoffice.fr.progRe: [prog] erreur au lancement d'un d...
FromSent OnAttachments
Agnès SimonetJan 5, 2009 10:50 am 
yves dutrieuxJan 5, 2009 11:13 am 
Bernard MarcellyJan 5, 2009 11:25 am 
Didier Dorange-PattoretJan 5, 2009 11:28 am 
Agnès SimonetJan 5, 2009 12:13 pm 
Agnès SimonetJan 5, 2009 12:13 pm 
Agnès SimonetJan 5, 2009 12:37 pm 
Bernard MarcellyJan 6, 2009 2:02 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] erreur au lancement d'un dialogue - OOo 3.0Actions...
From:Agnès Simonet (agne@laposte.net)
Date:Jan 5, 2009 12:13:41 pm
List:org.openoffice.fr.prog

Bernard Marcelly a écrit :

Bonsoir, Ce n'est pas spécifique à la v3, ton problème existait avant. Il faut charger la bibliothèque de dialogue, *même* si c'est la bibliothèque Standard.

DialogLibraries.loadLibrary("Standard") bibli = DialogLibraries.GetByName("Standard") etc...

Bernard

Merci beaucoup, ça marche et c'est l'essentiel. Mais j'aimerais comprendre. Dans ma bible "Programmation Openoffice.org" il est écrit "l'accès à une boite de dialogue dans une autre bibliothèque que le programme qui l'utilise nécessite de charger auparavant cette bibliothèque". Mais ici tout est dans la même bibliothèque. <http://agnooo.free.fr/OOo/Pb_OOo/pb_dialog.jpg>

Selon les circonstances le dialogue peut avoir été chargé, par exemple en ouvrant l'EDI, c'est pourquoi ça marche des fois et ça marche pas d'autres fois.

J'ai pensé à ça mais j'ai tout fermé avant de tester avec OOo v2 et v1 sans ouvrir l'EDI et je n'ai pas le problème avec ces versions.

L'important reste d'avoir une solution. Merci encore.

Agnès S.