1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Private Sub Visu1_Click()
Dim NomImage As String
Dim IE As Object
Dim Hauteur As Single, Largeur As Single
Hauteur = 420
Largeur = 735
NomImage = "C:\Check-List Numérique\illustrations notice\montage_OES.bmp"
Set IE = CreateObject("InternetExplorer.application")
IE.navigate "about:blank"
IE.document.Title = "Schéma de montage OES"
IE.addressbar = False
IE.MenuBar = False
IE.StatusBar = False
IE.Toolbar = False
IE.Width = Largeur
IE.Height = Hauteur
IE.Left = 120
IE.document.body.innerHTML = "<html><IMG SRC='" & NomImage & "'</html>"
IE.Visible = True
End Sub |
Partager