Click here to Skip to main content
16,007,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: CSS Pin
Michael Flanakin29-Dec-05 12:42
Michael Flanakin29-Dec-05 12:42 
GeneralRe: CSS Pin
chubbie29-Dec-05 13:41
chubbie29-Dec-05 13:41 
QuestionGenerating XML Pin
Hadware28-Dec-05 15:26
Hadware28-Dec-05 15:26 
AnswerRe: Generating XML Pin
MalikRizwan28-Dec-05 23:40
MalikRizwan28-Dec-05 23:40 
QuestionError Changing Me.ShowInTaskbar Pin
George B Gilbert28-Dec-05 13:45
George B Gilbert28-Dec-05 13:45 
QuestionOpening a web page in the default web browser. Pin
robertw01928-Dec-05 13:19
robertw01928-Dec-05 13:19 
AnswerRe: Opening a web page in the default web browser. Pin
George B Gilbert28-Dec-05 13:37
George B Gilbert28-Dec-05 13:37 
GeneralRe: Opening a web page in the default web browser. Pin
George B Gilbert28-Dec-05 13:42
George B Gilbert28-Dec-05 13:42 
If you want to test if the URL is reachable (e.g. an Internet connection is available and the URL is valid), pass the URL string to this function.

Private Function WebSiteIsAvailable(ByVal linkText As String) As Boolean
Dim URL_Object As New System.Uri(linkText)
Dim URL_WebRequest As System.Net.WebRequest
Dim URL_WebResponse As System.Net.WebResponse
Dim Response_Result As Boolean

' Attempt to get a response from the URL
Try
URL_WebRequest = System.Net.WebRequest.Create(URL_Object)
URL_WebResponse = URL_WebRequest.GetResponse
Response_Result = True
Catch Any_Error As Exception
Response_Result = False
End Try
URL_WebResponse = Nothing
URL_WebRequest = Nothing
URL_Object = Nothing

' Return the result
Return Response_Result
End Function


"Evidently your parents slapped together version 1.0 of you and hoped no one would notice the bugs." ... Dogbert (tech support)
GeneralRe: Opening a web page in the default web browser. Pin
robertw01929-Dec-05 4:53
robertw01929-Dec-05 4:53 
General[Message Deleted] Pin
Landon Spann28-Dec-05 11:31
Landon Spann28-Dec-05 11:31 
GeneralRe: Help with aUser defined query Pin
Dave Kreskowiak28-Dec-05 13:16
mveDave Kreskowiak28-Dec-05 13:16 
QuestionVB.NET 2005 TabStripPanel Pin
fuel2run28-Dec-05 9:34
fuel2run28-Dec-05 9:34 
AnswerRe: VB.NET 2005 TabStripPanel Pin
Dave Kreskowiak28-Dec-05 9:48
mveDave Kreskowiak28-Dec-05 9:48 
AnswerRe: VB.NET 2005 TabStripPanel Pin
Daniel Grunwald28-Dec-05 11:51
Daniel Grunwald28-Dec-05 11:51 
GeneralRe: VB.NET 2005 TabStripPanel Pin
fuel2run28-Dec-05 23:44
fuel2run28-Dec-05 23:44 
QuestionNetwork question (beginner) Pin
Derek G28-Dec-05 5:58
Derek G28-Dec-05 5:58 
AnswerRe: Network question (beginner) Pin
Dave Kreskowiak28-Dec-05 6:26
mveDave Kreskowiak28-Dec-05 6:26 
QuestionDeleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 3:46
Hmmkk28-Dec-05 3:46 
AnswerRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 4:29
mveDave Kreskowiak28-Dec-05 4:29 
GeneralRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 4:44
Hmmkk28-Dec-05 4:44 
GeneralRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 5:01
mveDave Kreskowiak28-Dec-05 5:01 
GeneralRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 5:15
Hmmkk28-Dec-05 5:15 
GeneralRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 5:50
mveDave Kreskowiak28-Dec-05 5:50 
QuestionRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 6:41
Hmmkk28-Dec-05 6:41 
AnswerRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 13:14
mveDave Kreskowiak28-Dec-05 13:14 

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.