8 messages in org.openoffice.fr.prog[prog] erreur au lancement d'un dialo...
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:[prog] erreur au lancement d'un dialogue - OOo 3.0Actions...
From:Agnès Simonet (agne@laposte.net)
Date:Jan 5, 2009 10:50:09 am
List:org.openoffice.fr.prog

Bonjour,

Décidemment le passage à OOO v3.0 me crée des problèmes.

J'ai une macro qui utilise une boite de dialogue contenue dans le même module et qui commence banalement par : Dim bibli As Object Dim monDialogue As Object

bibli = DialogLibraries.GetByName("Standard") monDialogue = bibli.GetByName("Dialog1") Dlg = CreateUnoDialog(monDialogue)

Pas de problème avec OOo v1 ou v2. Avec OOo v3, au premier lancement une fenêtre d'erreur s'ouvre : "Une exception s'est produite. Type com.sun.star.lang.WrappedTargetException Message: TargetException : com.sun.star.script.LibraryNotLoadedException" et la ligne monDialogue = bibli.GetByName("Dialog1") est surlignée.

Je dis zut et relance la macro. Plus de problème. Kesako ?

Agnès S.