Bonjour,
D'une page silverlight "Page", j'execute ce code :
Cela plante et me met l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 // create an instance of excel dynamic excel = AutomationFactory.CreateObject("Excel.Application"); excel.Visible = true; // make it visible to the user.
Sur les exemples ils utilise un usercontrol, cela change t il grand chose?{System.NotSupportedException: Cette opération n'est pas prise en charge dans le contexte actuel.
à MS.Internal.Error.MarshalXresultAsException(UInt32 hr, COMExceptionBehavior comExceptionBehavior)
à MS.Int .......
Merci
Partager