Click here to Skip to main content
15,888,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: combo box in DataGridView select item event Pin
kubben19-Jul-07 8:24
kubben19-Jul-07 8:24 
QuestionRe: combo box in DataGridView select item event Pin
steve_rm19-Jul-07 11:16
steve_rm19-Jul-07 11:16 
AnswerRe: combo box in DataGridView select item event Pin
cutequencher20-Jul-07 5:04
cutequencher20-Jul-07 5:04 
QuestionUsing InvokeRequired with a Timer control and a second thread Pin
ESTAN19-Jul-07 7:04
ESTAN19-Jul-07 7:04 
AnswerRe: Using InvokeRequired with a Timer control and a second thread Pin
Luc Pattyn19-Jul-07 8:07
sitebuilderLuc Pattyn19-Jul-07 8:07 
AnswerRe: Using InvokeRequired with a Timer control and a second thread Pin
ESTAN19-Jul-07 22:32
ESTAN19-Jul-07 22:32 
QuestionImpersonation Context Breaks when setting owner on NTFS file Pin
GenesisCraigM19-Jul-07 7:04
GenesisCraigM19-Jul-07 7:04 
QuestionSplit IP Address Pin
Froz3n19-Jul-07 6:47
Froz3n19-Jul-07 6:47 
I'm writing a VB.Net app that takes the IP address and stores it into a string...

I want to validate the string to see if the first three characters of the IP address match the first octet of the router.

right now i have this function:

Shared Function GetIPAddress() As String
Try
Dim oAddr As System.Net.IPAddress
Dim sAddr As String
With System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName())
oAddr = New System.Net.IPAddress(.AddressList(0).Address)
sAddr = oAddr.ToString
End With
GetIPAddress = sAddr
Catch ex As Exception
MsgBox("You are not connected to the internet", "Not connected")
End Try
End Function



can't remember how to split the string up...
AnswerRe: Split IP Address Pin
saeed_rezaei19-Jul-07 7:00
saeed_rezaei19-Jul-07 7:00 
QuestionSession Pin
shrihit19-Jul-07 6:47
shrihit19-Jul-07 6:47 
AnswerRe: Session Pin
Paul Conrad19-Jul-07 6:52
professionalPaul Conrad19-Jul-07 6:52 
AnswerRe: Session Pin
kubben19-Jul-07 7:20
kubben19-Jul-07 7:20 
GeneralRe: Session Pin
shrihit19-Jul-07 7:52
shrihit19-Jul-07 7:52 
GeneralRe: Session Pin
kubben19-Jul-07 7:56
kubben19-Jul-07 7:56 
QuestionPlay mp3 from byte array in VB.NET Pin
jfkasenda19-Jul-07 5:21
jfkasenda19-Jul-07 5:21 
AnswerRe: Play mp3 from byte array in VB.NET Pin
ciacia19-Jul-07 5:48
ciacia19-Jul-07 5:48 
QuestionSpecify absolute path in classic ASP script Pin
dwreck_stg19-Jul-07 4:17
dwreck_stg19-Jul-07 4:17 
AnswerRe: Specify absolute path in classic ASP script Pin
Dave Kreskowiak19-Jul-07 6:20
mveDave Kreskowiak19-Jul-07 6:20 
GeneralRe: Specify absolute path in classic ASP script Pin
dwreck_stg19-Jul-07 9:29
dwreck_stg19-Jul-07 9:29 
GeneralRe: Specify absolute path in classic ASP script Pin
Dave Kreskowiak19-Jul-07 10:06
mveDave Kreskowiak19-Jul-07 10:06 
QuestionAllowing user to add to/edit combobox Pin
GuyThiebaut19-Jul-07 3:20
professionalGuyThiebaut19-Jul-07 3:20 
AnswerRe: Allowing user to add to/edit combobox Pin
ciacia19-Jul-07 4:35
ciacia19-Jul-07 4:35 
GeneralRe: Allowing user to add to/edit combobox Pin
GuyThiebaut19-Jul-07 4:54
professionalGuyThiebaut19-Jul-07 4:54 
AnswerRe: Allowing user to add to/edit combobox Pin
Dave Kreskowiak19-Jul-07 6:12
mveDave Kreskowiak19-Jul-07 6:12 
AnswerRe: Allowing user to add to/edit combobox Pin
GuyThiebaut19-Jul-07 9:27
professionalGuyThiebaut19-Jul-07 9:27 

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.