

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
8 messages in org.openoffice.fr.progRe: [prog] Renseignement vbscript ope...| From | Sent On | Attachments |
|---|---|---|
| yannick private | Apr 15, 2004 11:55 am | |
| Laurent Godard | Apr 15, 2004 12:01 pm | |
| yannick private | Apr 16, 2004 1:29 am | |
| Laurent Godard | Apr 16, 2004 1:30 am | |
| yannick private | Apr 16, 2004 3:19 am | |
| Laurent Godard | Apr 16, 2004 3:51 am | |
| yannick private | Apr 16, 2004 8:11 am | |
| Laurent Godard | Apr 17, 2004 12:27 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [prog] Renseignement vbscript openOffice | Actions... |
|---|---|---|
| From: | yannick private (nna...@hotmail.com) | |
| Date: | Apr 16, 2004 1:29:05 am | |
| List: | org.openoffice.fr.prog | |
Bonjour Laurent,
je te remercie, c'est clair qu'avec:
Set objCoreReflection= objServiceManager.createInstance("com.sun.star.reflection.CoreReflection")
ça marche mieux...
j'ai quasiment fini mon publipostage, j'ai juste un soucis au niveau de l'éxecution, à savoir:
'MAILMERGE
Set MyMerge=objServiceManager.createInstance("com.sun.star.text.MailMerge")
MyMerge.DataSourceName="ID1"
...
MyMerge.FileNameFromColumn=True
MyMerge.Filenameprefix="Dateiname"
Dim MyProps 'as Object ??
MyMerge.execute(MyProps()) ??
je suis obligé de mettre "as Object" en commentaire car sinon j'ai une erreur du type (et ce à chaque que j'ai "as ..." dans mon code).
quelqu'un voit-il ce que je dois mettre? ou y'a-t-il un équivalent?
Merci
Yannick
From: Laurent Godard <list...@wanadoo.fr>
Reply-To: pr...@fr.openoffice.org To: pr...@fr.openoffice.org Subject: Re: [prog] Renseignement vbscript openOffice Date: Thu, 15 Apr 2004 21:01:39 +0200
Bonsoir Yannick
je voudrai vous poser une question:
<1> Set oURL1 = createStruct("com.sun.star.util.URL") <2> oURL1.Complete = fichier
y'a-t-il un équivalent à la ligne 1?
car écrit comme à la ligne1, cela n'est pas accepté...ça marche pas...c'est le "createStruct"
qui pose problème (on me dit "type incompatible"). Je comprend vraiment pas pourquoi.
dans ton fichier VBS, as tu une ligne de ce type Set objCoreReflection= objServiceManager.createInstance("com.sun.star.reflection.CoreReflection")
La fonction CreateStruct s'en sert (objCoreReflection) pour recuperer la structure du type
Regarde dan sle VBS exemple que je t'ai envoyé comme fonctionnela definition de com.sun.star.awt.Size
Tiens nous au courant
Laurent
--
----------------------------------------- Laurent Godard - Conseil et Développement 06 85 33 27 90 - dev....@wanadoo.fr
-----------------------------------------
_________________________________________________________________ MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en son et en images avec vos amis







