3 messages in org.openoffice.fr.progRe: [prog] Chargement bibliothèque
FromSent OnAttachments
Christophe LiénardAug 29, 2005 1:17 am 
Alain NowakAug 29, 2005 4:17 am 
Christophe LiénardAug 29, 2005 4:43 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] Chargement bibliothèqueActions...
From:Alain Nowak (ano@starxpert.fr)
Date:Aug 29, 2005 4:17:40 am
List:org.openoffice.fr.prog

Bonjour,

Pour que la bibliothèque des boites de dialogue soit chargée, il te manque juste : DialogLibraries.LoadLibrary("Standard") Bon courage,

Christophe Liénard wrote:

Bonjour.

J'ai un problème de chargement de bibliothèque :

J'ai un bouton qui ouvre la boîte de dialogue dlgConfirmer, lancée par le code :

oDial = oBib.GetByName("dlgConfirmer")

Dlg = CreateUnoDialog(oDial)

Ca plante sur la 2^e ligne, mais si auparavant je déroule la bibliothèque Standard de mon formulaire (Gestion Ouvrages), ça marche.

J'ai donc utilisé

BasicLibraries.LoadLibrary("Gestion Ouvrages.Standard")

Mais il ne voit pas la bibliothèque, et si je mets juste Standard, j'ai toujours mon erreur.

C'est sûrement pas grand-chose, mais, je sèche ! Merci pour vos lumières.