Programmation : page internet VB.net
Fermé
Salut , je suis en train de créer un projet en VB.net , c'est un minuteur. Quand la minuterie est finie , je voudrais qu'une page internet explorer (ou mozilla ) s'ouvre à l'adresse que j'aurais définie . Est-ce possible , si oui comment ; avez vous des idées pour faire quelque chose dans ce style
P.S.:J'ai vu qu'il y a dans visual studio 2005 un controle webbrowz (ou quleque chose comme ca) mais je ne sais pas à quoi cela sert et comment on s'en sert
Merci d'avance ...
P.S.:J'ai vu qu'il y a dans visual studio 2005 un controle webbrowz (ou quleque chose comme ca) mais je ne sais pas à quoi cela sert et comment on s'en sert
Merci d'avance ...
A voir également:
- Programmation : page internet VB.net
- Application de programmation - Guide
- Programmation logo tortue télécharger - Télécharger - Études & Formations
- Logiciel programmation clé voiture gratuit - Forum Programmation
- Programmation télécommande porte de garage brico depot - Forum Matériel & Système
- Programmation binaire - Guide
2 réponses
Salut
Méthode1:
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
Const SW_SHOWNORMAL=1
Dim URI as string="www.google.com"
ShellExecute (0, vbNullString, URI, vbNullString, _
vbNullString, SW_SHOWNORMAL)
Méthode2:
Private Sub OpenURL(URL as String)
System.Diagnostics.Process.Start("https://www.google.com/?gws_rd=ssl")
End Sub
Méthode1:
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
Const SW_SHOWNORMAL=1
Dim URI as string="www.google.com"
ShellExecute (0, vbNullString, URI, vbNullString, _
vbNullString, SW_SHOWNORMAL)
Méthode2:
Private Sub OpenURL(URL as String)
System.Diagnostics.Process.Start("https://www.google.com/?gws_rd=ssl")
End Sub