Impression d'un fichier html

niniclapclap Messages postés 1 Date d'inscription mercredi 2 juin 2004 Statut Membre Dernière intervention 2 juin 2004 - 2 juin 2004 à 18:06
cs_rene38 Messages postés 1858 Date d'inscription samedi 29 juin 2002 Statut Membre Dernière intervention 17 octobre 2013 - 2 juin 2004 à 18:56
Bonjour,
est ce ke kelkun ici pourrais me renseigner?

J'ai besoin d'imoprimer un fichier html à partir d'un programme VB6. Existe-t-il un moyen de le faire?

Merci d'avance

1 réponse

cs_rene38 Messages postés 1858 Date d'inscription samedi 29 juin 2002 Statut Membre Dernière intervention 17 octobre 2013 11
2 juin 2004 à 18:56
Bonsoir

Private 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

Private Sub Command1_Click()
ShellExecute Form1.hWnd, "print", "C:\Chemin\Fichier.htm", vbNullString, "C:\Chemin", 1
End Sub
0
Rejoignez-nous