Comment ouvrir un fichier htm a partir d'une msgbox
ApophisNico
Messages postés5Date d'inscriptionsamedi 20 avril 2002StatutMembreDernière intervention13 avril 2006
-
16 sept. 2002 à 20:00
ApophisNico
Messages postés5Date d'inscriptionsamedi 20 avril 2002StatutMembreDernière intervention13 avril 2006
-
17 sept. 2002 à 20:25
Salut!!!!je voudrais savoir comment je peux ouvrir un fichier .htm a partir d'une message box!et si possible j'aimerais ouvrir la page htm en fullscreen...merci bcp a tous!!!!!
Que les dieux et déesses Egyptiens vous protege!
A voir également:
Comment ouvrir un fichier htm a partir d'une msgbox
cs_rene38
Messages postés1858Date d'inscriptionsamedi 29 juin 2002StatutMembreDernière intervention17 octobre 201311 17 sept. 2002 à 11:07
Au niveau module (déclarations) :
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Au niveau procédure dans Form1 pour afficher la page Chemin\Page.htm :
Dim Page As String, x as Integer
x = MsgBox ("Afficher la page Page.htm", vbYesNo + vbQuestion, "Affichage")
If x = vbYes Then
ShellExecute Form1.hWnd, "open", Page, vbNullString, Chemin, 3