21 messages in org.openoffice.fr.progRE: [prog] OLE OpenOffice et VB.NET
FromSent OnAttachments
Cezame ConceptFeb 24, 2006 4:38 am.dat
FAouzi AbderrahmanFeb 24, 2006 4:43 am.dat
Cezame ConceptFeb 24, 2006 5:13 am.dat
FAouzi AbderrahmanFeb 24, 2006 5:31 am.dat
Laurent GodardFeb 24, 2006 5:31 am 
Cezame ConceptFeb 24, 2006 5:54 am.dat
FAouzi AbderrahmanFeb 24, 2006 6:01 am.dat
FAouzi AbderrahmanFeb 24, 2006 6:04 am.dat
Cezame ConceptFeb 24, 2006 6:05 am.dat
Cezame ConceptFeb 24, 2006 6:12 am.dat
Bernard MarcellyFeb 24, 2006 6:13 am 
FAouzi AbderrahmanFeb 24, 2006 6:14 am.dat
Cezame ConceptFeb 24, 2006 6:57 am.dat
Cezame ConceptFeb 24, 2006 6:59 am 
Bernard MarcellyFeb 24, 2006 8:48 am 
Cezame ConceptFeb 24, 2006 8:58 am 
Didier Dorange-PattoretFeb 24, 2006 1:17 pm 
Cezame ConceptFeb 27, 2006 12:50 am 
Cezame ConceptFeb 27, 2006 2:12 am 
Cezame ConceptFeb 27, 2006 6:41 am 
Cezame ConceptFeb 27, 2006 9:28 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] OLE OpenOffice et VB.NETActions...
From:Cezame Concept (ceza@wanadoo.fr)
Date:Feb 24, 2006 5:13:04 am
List:org.openoffice.fr.prog
Attachments:
winmail.dat - 14k

Le plus gros problème rencontré réside dans le passage de paramètres avec la commande « PropertyValue » ...

Ci-dessous un exemple :

En VB : Function setOOoProp(cName, uValue) As Object Dim oPropertyValue As Object Dim oSM As Object Set oSM = CreateObject("com.sun.star.ServiceManager") Set oPropertyValue = oSM.Bridge_GetStruct("com.sun.star.beans.PropertyValue") oPropertyValue.Name = cName oPropertyValue.Value = uValue Set setOOoProp = oPropertyValue End Function

En Windev quand on fait : oPropertyValue est objet Automation dynamique oPropertyValue>>Name="FilterName" oPropertyValue>>Value="writer_pdf_Export"

jusqu'ici tout est ok mais si on passe oPropertyValue à la fonction storeToURL( .... , oPropertyValue ) alors erreur ... Le membre demandé n'existe pas.

D'avance merci

_____________________________________________ De : FAouzi Abderrahman [mailto:fa@prosig.fr] Envoyé : vendredi 24 février 2006 13:44 À : pr@fr.openoffice.org Objet : [Norton AntiSpam] RE: [prog] OLE OpenOffice et VB.NET

Sous delphi, même concept presque

Décrit ton problème

_____________________________________________ De : Cezame Concept [mailto:ceza@wanadoo.fr] Envoyé : vendredi 24 février 2006 13:39 À : pr@fr.openoffice.org Objet : [prog] OLE OpenOffice et VB.NET

Rencontrant des problèmes pour utiliser l'OLE open office sous Windev je me suis penché sur VB Express 2005 et l'assemblage.NET

Est-ce que quelqu'un a déjà utilisé l'OLE ou autre sous VB.NET ?

D'avance merci pour toute information

Cyril VIGNOLO

<< Fichier: ATT00248.txt >> << Fichier: ATT00096.txt >>