cs_clafouti
Messages postés78Date d'inscriptionsamedi 16 mars 2002StatutMembreDernière intervention 7 septembre 2006 29 sept. 2004 à 19:48
Et si il utilise pas IE ? ou si IE n'est pas installé en c:\program files.... ?
non, utilise plutôt ceci :
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
Dim Retcode as Long
RetCode = ShellExecute(Me.hwnd, vbNullString, "www.wanadoo.fr", vbNull, vbNull, SW_SHOWMAXIMIZED)