Salut,
Fais ton appel avec "XrayTool" et non "Xraytool". La casse est importante
Sub LoadingLibraries
BasicLibraries.loadLibrary("XrayTool")
End Sub
A+
Fred
PS : je te dois toujours 1/2 heure quand tu veux...
zorglub.1er a écrit :
Bonjour,
J'ai tenté d'installer Xray sous Mandriva 2007 powerpack.
Il me semble avoir suivi la documentation pour installer Xray :
http://fr.openoffice.org/Documentation/How-to/Basic/XrayTool_fr.sxw
J'ai cliqué sur le bouton "Installer Xray" de la documentation.
Je n'ai pas inséré d'appel de la macro Xray dans la macro en
cours de mise au point (le chapitre 3.1 "Lancement" de la
documentation).
XrayTool se trouve alors dans "Mes macros" en tant que
Bibliothèque.
Je ne vois pas la bibliothèque XrayDyn qu'on voit dans les
captures d'écran du chapitre 3.1.1 "Chargement manuel de la
bibliothèque XrayTool".
J'ai tenté de réaliser le chapitre 3.1.2 "Chargement
automatique de la bibliothèque XrayTool".
Ainsi, j'ai écrit la macro "LoadingLibraries" de ce chapitre
dans Mes macros(le conteneur)->Standart(la
bibliothèque)->DemarreXray(le module)->LoadingLibraries(la macro).
Toutefois, au démarrage d'OpenOffice 2.0.3, une erreure est
signalée dans cette macro (LoadingLibraries) que j'ai écrite.
Cette macro permet de charger automatiquement la bibliothèque
XrayTool au démarrage d'OpenOffice. J'ai nommé le module de
cette macro "DemarreXray" (après l'avoir crée):
http://www.enregistrersous.com/images/156857697620070719100949.png
http://www.enregistrersous.com/images/77047560420070719105324.png
http://www.enregistrersous.com/images/24047649320070719105432.png
REM ***** BASIC *****
Sub LoadingLibraries
BasicLibraries.loadLibrary("Xraytool")
End Sub
http://www.enregistrersous.com/images/181786291020070719105530.png
http://www.enregistrersous.com/images/111728321320070719110028.png
Ainsi, la bibliothèque XrayTool ne semble pas chargée.
Quand j'édite la macro LoadingLibraries, puis vais dans
Outils->Personnaliser, il me semble que j'ai assigné
correctement cette macro pour qu'elle se lance au démarrage
d'OpenOffice.
Démarrage de
l'application->vnd.sun.star.script:Standart.DemarreXray.LoadingLibraries?language=Basic&location=application
http://www.enregistrersous.com/images/179825236720070719110922.png
http://www.enregistrersous.com/images/27120352720070719111323.png
http://www.enregistrersous.com/images/164339507920070719111512.png
http://www.enregistrersous.com/images/63431239820070719111531.png
Ainsi, je ne comprends pas pourquoi XrayTool ne se charge pas
automatiquement au démarrage d'OpenOffice, et pourquoi j'ai ce
message d'erreur au démarrage d'OpenOffice
Merci d'avance ;0)
Créez votre adresse électronique [EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]