Click here to Skip to main content
15,915,509 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Application won't quit Pin
Dave Kreskowiak18-Jun-04 3:23
mveDave Kreskowiak18-Jun-04 3:23 
GeneralRe: Application won't quit Pin
PaleyX18-Jun-04 3:56
PaleyX18-Jun-04 3:56 
GeneralRe: Application won't quit Pin
Dave Kreskowiak18-Jun-04 4:17
mveDave Kreskowiak18-Jun-04 4:17 
GeneralRe: Application won't quit Pin
PaleyX21-Jun-04 10:40
PaleyX21-Jun-04 10:40 
GeneralRe: Application won't quit Pin
Dave Kreskowiak21-Jun-04 11:36
mveDave Kreskowiak21-Jun-04 11:36 
GeneralRe: Application won't quit Pin
PaleyX21-Jun-04 11:58
PaleyX21-Jun-04 11:58 
QuestionCheck internet connection??? Pin
mythinky17-Jun-04 22:22
mythinky17-Jun-04 22:22 
AnswerRe: Check internet connection??? Pin
Dave Kreskowiak18-Jun-04 3:17
mveDave Kreskowiak18-Jun-04 3:17 
Checking for the connection to the internet is difficult because there is no way to know what is on the other side of your gateway address. You could have a live connection, but it might no be the internet.

The simplest way to do it is to try and resolve the DNS name of the mail server before you try to send a message.
Imports System.Net
.
.
.
    Try
        ' Try and resolve the address of the mail server.
        Dim hostEntry As IPHostEntry = Dns.GetHostByName(myMailServer.myISP.com)
        ' If we get here, then the DNS Resolve worked and 
        'we must be connected to the 'Net.
        Try
            ' Code to send your email message...
        Catch ex As Exception
            ' Send message failed for some reason...
        End Try
    Catch ex As Exception
        ' DNS Resolve failed.  We can't send the message...
    End Try



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalwildcard string searches Pin
dmbf1b517-Jun-04 17:01
dmbf1b517-Jun-04 17:01 
GeneralData form wizard Pin
tabarta17-Jun-04 16:03
tabarta17-Jun-04 16:03 
GeneralRe: Data form wizard Pin
Dave Kreskowiak18-Jun-04 2:51
mveDave Kreskowiak18-Jun-04 2:51 
GeneralRe: Data form wizard Pin
tabarta22-Jun-04 14:37
tabarta22-Jun-04 14:37 
Generalmailto urlencode problem Pin
skoizumi2911017-Jun-04 10:14
sussskoizumi2911017-Jun-04 10:14 
Questiondeserializing xmlfile to array? Pin
mrdance17-Jun-04 8:14
mrdance17-Jun-04 8:14 
AnswerRe: deserializing xmlfile to array? Pin
Dave Kreskowiak17-Jun-04 8:22
mveDave Kreskowiak17-Jun-04 8:22 
GeneralRe: deserializing xmlfile to array? Pin
mrdance17-Jun-04 8:56
mrdance17-Jun-04 8:56 
GeneralRe: deserializing xmlfile to array? Pin
mrdance17-Jun-04 23:57
mrdance17-Jun-04 23:57 
GeneralRe: deserializing xmlfile to array? Pin
Dave Kreskowiak18-Jun-04 2:49
mveDave Kreskowiak18-Jun-04 2:49 
GeneralRe: deserializing xmlfile to array? Pin
mrdance18-Jun-04 4:55
mrdance18-Jun-04 4:55 
GeneralRe: deserializing xmlfile to array? Pin
Dave Kreskowiak18-Jun-04 12:25
mveDave Kreskowiak18-Jun-04 12:25 
GeneralRe: deserializing xmlfile to array? Pin
mrdance19-Jun-04 12:52
mrdance19-Jun-04 12:52 
GeneralDebugging Problem in Halvorson's Book Pin
tanstaafl2817-Jun-04 7:24
tanstaafl2817-Jun-04 7:24 
GeneralRe: Debugging Problem in Halvorson's Book Pin
Dave Kreskowiak17-Jun-04 7:45
mveDave Kreskowiak17-Jun-04 7:45 
GeneralRe: Debugging Problem in Halvorson's Book Pin
tanstaafl2817-Jun-04 8:38
tanstaafl2817-Jun-04 8:38 
GeneralRe: Debugging Problem in Halvorson's Book Pin
Steven Campbell18-Jun-04 3:18
Steven Campbell18-Jun-04 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.