Bonjour, On Mon, Nov 21, 2005 at 08:34:28PM +0100, Didier Dorange-Pattoret wrote: > Sub Essai > oDesktop=createUnoService("com.sun.star.frame.Desktop") > Dim mNoArgs(0) As New com.sun.star.beans.PropertyValue > sUrl = "staroffice.factory:swriter" > oDocument=oDesktop.LoadComponentFromURL(sUrl,"_blank",1,mNoArgs()) > End Sub
Avec sUrl = "private:factory/swriter" Qui fonctionne aussi en v1.1.x ps : oDesktop=createUnoService("com.sun.star.frame.Desktop") peut être remplacé par "StarDesktop". Cordialement, -- Florent Manens http://www.starxpert.fr [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]