Click here to Skip to main content
15,904,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDiscrepency in List tables subroutine Pin
Quecumber25626-Mar-10 4:17
Quecumber25626-Mar-10 4:17 
QuestionUnits of measure for comparisons Pin
Marcus J. Smith26-Mar-10 2:14
professionalMarcus J. Smith26-Mar-10 2:14 
AnswerRe: Units of measure for comparisons Pin
Dalek Dave26-Mar-10 2:25
professionalDalek Dave26-Mar-10 2:25 
GeneralRe: Units of measure for comparisons Pin
Marcus J. Smith26-Mar-10 3:12
professionalMarcus J. Smith26-Mar-10 3:12 
QuestionMessage Removed Pin
25-Mar-10 23:45
kpuneeth725-Mar-10 23:45 
AnswerRe: convert vb code to php - Crosspost Pin
Smithers-Jones26-Mar-10 2:45
Smithers-Jones26-Mar-10 2:45 
QuestionTelnet Client session Pin
Sunil G25-Mar-10 20:51
Sunil G25-Mar-10 20:51 
QuestionHelp converting C# snippet toVB Pin
programmervb.netc++25-Mar-10 19:22
programmervb.netc++25-Mar-10 19:22 
AnswerRe: Help converting C# snippet toVB Pin
Dave Doknjas26-Mar-10 10:52
Dave Doknjas26-Mar-10 10:52 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:25
programmervb.netc++26-Mar-10 16:25 
GeneralRe: Help converting C# snippet toVB Pin
Dave Doknjas26-Mar-10 16:33
Dave Doknjas26-Mar-10 16:33 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:37
programmervb.netc++26-Mar-10 16:37 
GeneralRe: Help converting C# snippet toVB Pin
Dave Kreskowiak27-Mar-10 2:47
mveDave Kreskowiak27-Mar-10 2:47 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:36
programmervb.netc++26-Mar-10 16:36 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:42
programmervb.netc++26-Mar-10 16:42 
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 
AnswerRe: TCP/IP with VB.Net Closing and Opening Pin
Tony Richards25-Mar-10 2:30
Tony Richards25-Mar-10 2:30 
First, if you do this:

Dim client As New Net.Sockets.TcpClient()
client.Close()


You aren't going to achieve much as you have just closed a client that was never opened. the client in your connect code is difference to the client in your disconnect code unless they are in the same function.

Something to keep in mind, you cannot do this:

Dim client as New Net.Sockets.TcpClient()
client.Connect("www.google.com", 50)
client.Close()
client.Connect("www.google.com", 50) ' This will cause an error.


Close disposes the TcpClient, so it can no longer be used. You will have to create a new TcpClient to reconnect.

If this isn't your problem, try providing more detail.

And now some more basic tips:

Make sure the code you give us is the code you are actually using.
Wrap your code in <pre> tags to make them easier to read.
Make sure you provide full details of your problem, including what exceptions you get.

This might help you get more answers.
GeneralRe: TCP/IP with VB.Net Closing and Opening [modified] Pin
gymgym_jim25-Mar-10 2:41
gymgym_jim25-Mar-10 2:41 

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.