Bonjour

J'ai un petit programme qui en Bv6 qui ouvre des presentations PPS , sur VB6 cela marche bien.... Sous Vb Net Le programme marche aussi mais il m'ouvre aussi l'application Power Point ce que je ne veux pas
voici mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
Dim PwpApp as New PowerPoint.Application()
Dim Mypres as PowerPoint.Presentation
...
....
'Ligne a Probleme
        PwApp.Visible = Microsof.Office.Core.MsoTriState.msTrue
 
 
        Mypres = PwpApp.Presentations.Open( Filename )
L'instruction : PwpApp.Presentations.Open( Filename ) marche bien a condition que je rajoute la Ligne :
PwApp.Visible = Microsof.Office.Core.MsoTriState.msTrue .
J'ai essayé de mettre
PwApp.Visible = Microsof.Office.Core.MsoTriState.msFalse
j'ai le message d'erreur suivant
Application ( Unknown member ) Invalid Request Hiding the application window is not allowed.

Merci de votre aide