|
|
|
![](images/pasta_topo.gif)
|
![](images/folha.gif)
|
Dicas
|
![](images/folha_fim.gif)
|
Visual Basic (Internet)
|
|
![](images/box01esqsup.gif) |
Título da Dica: Detecta uma conexão com internet usando o controle Winsock
|
![](images/box01dirsup.gif) |
|
|
Postada em 19/9/2000 por Webmaster
webmaster@vbweb.com.br
Private Function OnTheNet() As Boolean Winsock1.Close Winsock1.Bind If Winsock1.LocalIP = "" Then OnTheNet = False Else OnTheNet = True End If End Function
|
|
|
|
![](images/hosted.gif)
|