Click here to Skip to main content
15,914,594 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionusing list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Simon_Whale25-Mar-10 6:39
Simon_Whale25-Mar-10 6:39 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria [modified] Pin
Wayne Gaylard25-Mar-10 14:49
professionalWayne Gaylard25-Mar-10 14:49 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Dave Kreskowiak26-Mar-10 2:05
mveDave Kreskowiak26-Mar-10 2:05 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Wayne Gaylard26-Mar-10 4:00
professionalWayne Gaylard26-Mar-10 4:00 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Simon_Whale28-Mar-10 23:20
Simon_Whale28-Mar-10 23:20 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Wayne Gaylard29-Mar-10 4:13
professionalWayne Gaylard29-Mar-10 4:13 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Luc Pattyn25-Mar-10 15:08
sitebuilderLuc Pattyn25-Mar-10 15:08 
QuestionTCP/IP with VB.Net Closing and Opening Pin
gymgym_jim25-Mar-10 1:52
gymgym_jim25-Mar-10 1:52 
Hi there,

Here's what I am trying to do.

Open a TCP/IP Connection (This works fine)

Close connection (this works fine)

Upon trying to then re-open the connection with the same or New IP Address it fails.

My Connect code:

Dim Lostconnection As MsgBoxResult

Try
client.Connect(TextBox1.Text, 7655)
Button21.BackColor = Color.Green
Catch
Button22.BackColor = Color.Red
client.Close()
Lostconnection = MsgBox("Program Not Connected... Retry?", MsgBoxStyle.YesNo)
If Lostconnection = MsgBoxResult.No Then
Me.Close()
End If
End Try

Button22.BackColor = System.Windows.Forms.Button.DefaultBackColor


My Disconnect Code:

Dim client As New Net.Sockets.TcpClient()
client.Close()
Button22.BackColor = Color.Red
Button21.BackColor = System.Windows.Forms.Button.DefaultBackColor
AnswerRe: TCP/IP with VB.Net Closing and Opening Pin
Tony Richards25-Mar-10 2:30
Tony Richards25-Mar-10 2:30 
GeneralRe: TCP/IP with VB.Net Closing and Opening [modified] Pin
gymgym_jim25-Mar-10 2:41
gymgym_jim25-Mar-10 2:41 
GeneralRe: TCP/IP with VB.Net Closing and Opening Pin
Tony Richards25-Mar-10 2:50
Tony Richards25-Mar-10 2:50 
QuestionDelay in Listview Binding using SqDatareader in windows application Pin
sandhya1424-Mar-10 19:02
sandhya1424-Mar-10 19:02 
QuestionUnbound checkbox in datagridview Pin
C#Coudou24-Mar-10 15:39
C#Coudou24-Mar-10 15:39 
AnswerRe: Unbound checkbox in datagridview Pin
C#Coudou25-Mar-10 15:25
C#Coudou25-Mar-10 15:25 
GeneralRe: Unbound checkbox in datagridview Pin
Dave Kreskowiak26-Mar-10 2:02
mveDave Kreskowiak26-Mar-10 2:02 
GeneralRe: Unbound checkbox in datagridview Pin
C#Coudou28-Mar-10 13:45
C#Coudou28-Mar-10 13:45 
QuestionEmailing in VB.NET Pin
sklemp24-Mar-10 5:54
sklemp24-Mar-10 5:54 
AnswerRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 5:57
Ian Shlasko24-Mar-10 5:57 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 5:59
sklemp24-Mar-10 5:59 
GeneralRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 6:03
Ian Shlasko24-Mar-10 6:03 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 6:09
sklemp24-Mar-10 6:09 
GeneralRe: Emailing in VB.NET Pin
Tom Deketelaere24-Mar-10 6:22
professionalTom Deketelaere24-Mar-10 6:22 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 6:27
sklemp24-Mar-10 6:27 
GeneralRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 7:22
Ian Shlasko24-Mar-10 7:22 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 8:22
sklemp24-Mar-10 8:22 

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.