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 Const GoogleBaseURL As String = "http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=" Public Function OpenGoogleSearch(Criteria As String) As Long OpenURL = ShellExecute(Me.hWnd,"open",GoogleBaseURL & Criteria,"","",0) End Function
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question