OVH Cloud OVH Cloud

Quelles dlls pour acceder à excel depuis une appli web

3 réponses
Avatar
Delphine
Bonjour,

J'ai crée une application web hebergée sur un serveur distant. Cette
application doit permettre d'ouvrir une application excel. J'ai sais que pour
cela fonctionne il faut installer les dlls associées mais je ne sais pas
lequelles et je ne veut pas installer des dlls inutiles.

D'après http://support.microsoft.com/default.aspx?kbid=328912, il y a les
dlls suivantes pour microsoft office XP :

• adodb.dll
• dao.dll
• Microsoft.Office.Interop.Access.dll
• Microsoft.Office.Interop.Excel.dll
• Microsoft.Office.Interop.FrontPage.dll
• Microsoft.Office.Interop.FrontPageEditor.dll
• Microsoft.Office.Interop.Graph.dll
• Microsoft.Office.Interop.Outlook.dll
• Microsoft.Office.Interop.OutlookViewCtl.dll
• Microsoft.Office.Interop.Owc.dll
• Microsoft.Office.Interop.PowerPoint.dll
• Microsoft.Office.Interop.Publisher.dll
• Microsoft.Office.Interop.SmartTag.dll
• Microsoft.Office.Interop.Visio.dll
• Microsoft.Office.Interop.Word.dll
• Microsoft.Vbe.Interop.dll
• mscomctl.dll
• msdatasrc.dll
• office.dll
• stdole.dll

Lequelles sont utile pour excel?
Faut il seulement : Microsoft.Office.Interop.Excel.dll ???

Merci d'avance pour toute réponse.

3 réponses

Avatar
Sebdraluorg
Salut Delphine,

Eh as tu regarde dans les propriete de ton projet dans la partie
"references" ?
Normalement tu peux y voir les dll utilisees (requises) par ton application.
Sinon tu peux essayer en les mettant toutes, et tu les retire une par une
jusqu'a ce que ca ne marche plus lol

++

"Delphine" a écrit :

Bonjour,

J'ai crée une application web hebergée sur un serveur distant. Cette
application doit permettre d'ouvrir une application excel. J'ai sais que pour
cela fonctionne il faut installer les dlls associées mais je ne sais pas
lequelles et je ne veut pas installer des dlls inutiles.

D'après http://support.microsoft.com/default.aspx?kbid28912, il y a les
dlls suivantes pour microsoft office XP :

• adodb.dll
• dao.dll
• Microsoft.Office.Interop.Access.dll
• Microsoft.Office.Interop.Excel.dll
• Microsoft.Office.Interop.FrontPage.dll
• Microsoft.Office.Interop.FrontPageEditor.dll
• Microsoft.Office.Interop.Graph.dll
• Microsoft.Office.Interop.Outlook.dll
• Microsoft.Office.Interop.OutlookViewCtl.dll
• Microsoft.Office.Interop.Owc.dll
• Microsoft.Office.Interop.PowerPoint.dll
• Microsoft.Office.Interop.Publisher.dll
• Microsoft.Office.Interop.SmartTag.dll
• Microsoft.Office.Interop.Visio.dll
• Microsoft.Office.Interop.Word.dll
• Microsoft.Vbe.Interop.dll
• mscomctl.dll
• msdatasrc.dll
• office.dll
• stdole.dll

Lequelles sont utile pour excel?
Faut il seulement : Microsoft.Office.Interop.Excel.dll ???

Merci d'avance pour toute réponse.


Avatar
rwanou56
Microsoft.Office.Interop.Excel.dll suffit

sous vs2005 tu peux supprimer les dlls qui ne servent dans ton projet

projet>propriétés " nom du projet" >references > references inutilisées

en esperant avoir été de bon conseil

ERWAN
Avatar
AlexC
Bonjour,

Pour "piloter" Excel ou tout autre logiciel du pack office il faut utiliser
les PIA.
Dans le cas d'Excel ( pour VS 2003), :

Menu Projet
-> Ajouter une référence
-> Onglet "COM"
->Double clique dans la liste sur "Microsoft Excel 11.0 Object
Library"

Puis Ok ;)

Evidemment ceci est valable pour Microsoft Office 2003, pour les versions
antérieures seule la Version de la librarie d'objets va changer.


"Delphine" a écrit dans le message de
news:
Bonjour,

J'ai crée une application web hebergée sur un serveur distant. Cette
application doit permettre d'ouvrir une application excel. J'ai sais que


pour
cela fonctionne il faut installer les dlls associées mais je ne sais pas
lequelles et je ne veut pas installer des dlls inutiles.

D'après http://support.microsoft.com/default.aspx?kbid28912, il y a les
dlls suivantes pour microsoft office XP :

. adodb.dll
. dao.dll
. Microsoft.Office.Interop.Access.dll
. Microsoft.Office.Interop.Excel.dll
. Microsoft.Office.Interop.FrontPage.dll
. Microsoft.Office.Interop.FrontPageEditor.dll
. Microsoft.Office.Interop.Graph.dll
. Microsoft.Office.Interop.Outlook.dll
. Microsoft.Office.Interop.OutlookViewCtl.dll
. Microsoft.Office.Interop.Owc.dll
. Microsoft.Office.Interop.PowerPoint.dll
. Microsoft.Office.Interop.Publisher.dll
. Microsoft.Office.Interop.SmartTag.dll
. Microsoft.Office.Interop.Visio.dll
. Microsoft.Office.Interop.Word.dll
. Microsoft.Vbe.Interop.dll
. mscomctl.dll
. msdatasrc.dll
. office.dll
. stdole.dll

Lequelles sont utile pour excel?
Faut il seulement : Microsoft.Office.Interop.Excel.dll ???

Merci d'avance pour toute réponse.