A voir également:
- API et VB
- Langage vb - Télécharger - Langages
- Prix api adobe firefly - Accueil - Applications & Logiciels
- Vb runtime - Télécharger - Divers Utilitaires
- Vb editor - Télécharger - Langages
- Api plaque immatriculation gratuite - Forum Programmation
1 réponse
salut
donc dans un module tu déclares ca:
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
pis dans ta sub:
ShellExecute Me.hwnd, vbNullString, "test.HTML", vbNullString, "C:\", 3
bien sûr si le fichier existe pas faut d'abord le créer.
@+
donc dans un module tu déclares ca:
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
pis dans ta sub:
ShellExecute Me.hwnd, vbNullString, "test.HTML", vbNullString, "C:\", 3
bien sûr si le fichier existe pas faut d'abord le créer.
@+