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

Visual Basic

 
AnswerRe: CheckListBox binding to an Excel Spreadsheet Pin
Christian Graus24-Jun-08 23:04
protectorChristian Graus24-Jun-08 23:04 
GeneralRe: CheckListBox binding to an Excel Spreadsheet Pin
Tazy25-Jun-08 0:55
Tazy25-Jun-08 0:55 
GeneralRe: CheckListBox binding to an Excel Spreadsheet Pin
Christian Graus25-Jun-08 1:01
protectorChristian Graus25-Jun-08 1:01 
AnswerRe: CheckListBox binding to an Excel Spreadsheet Pin
Ashfield24-Jun-08 23:06
Ashfield24-Jun-08 23:06 
GeneralRe: CheckListBox binding to an Excel Spreadsheet Pin
Tazy25-Jun-08 0:19
Tazy25-Jun-08 0:19 
GeneralRe: CheckListBox binding to an Excel Spreadsheet Pin
Christian Graus25-Jun-08 0:25
protectorChristian Graus25-Jun-08 0:25 
GeneralRe: CheckListBox binding to an Excel Spreadsheet Pin
Ashfield25-Jun-08 1:22
Ashfield25-Jun-08 1:22 
QuestionConnect to webserver using socket Pin
ne0h24-Jun-08 21:14
ne0h24-Jun-08 21:14 
Is it possible to connect to any webserver through socket and receive the data using Socket?

Actually, I am developing one program which sends query to Google.com through socket and reads and dumps all the search results in a text file.

The parameters I have used in my program:
Dim client As New TcpClient("google.com", 80)
Dim data As [Byte]() = System.Text.Encoding.ASCII.GetBytes("search?q=codeproject")
Dim stream As NetworkStream = client.GetStream()
stream.Write(data, 0, data.Length)
' then read response and do stuffs


But I'm getting error like:
SocketException: System.Net.Sockets.SocketException: No connection could be made
 because the target machine actively refused it
   at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)


Any idea why I'm getting this error?



"hi, I am explorer.exe. sometimes when you are doing anything at all, I will just freeze for ten minutes. All of my brother and sister windows will also freeze, because they are sad for me. Maybe we will come back, maybe not, it will be a surprise!"

AnswerRe: Connect to webserver using socket Pin
Christian Graus24-Jun-08 21:47
protectorChristian Graus24-Jun-08 21:47 
GeneralRe: Connect to webserver using socket Pin
ne0h24-Jun-08 23:14
ne0h24-Jun-08 23:14 
Questionhow to deploy windows application in c# or vb Pin
Amit Agarrwal24-Jun-08 20:07
Amit Agarrwal24-Jun-08 20:07 
AnswerRe: how to deploy windows application in c# or vb Pin
Ashfield24-Jun-08 21:08
Ashfield24-Jun-08 21:08 
AnswerRe: how to deploy windows application in c# or vb Pin
Christian Graus24-Jun-08 21:46
protectorChristian Graus24-Jun-08 21:46 
GeneralRe: how to deploy windows application in c# or vb Pin
Amit Agarrwal24-Jun-08 22:35
Amit Agarrwal24-Jun-08 22:35 
GeneralRe: how to deploy windows application in c# or vb Pin
Christian Graus24-Jun-08 23:00
protectorChristian Graus24-Jun-08 23:00 
GeneralRe: how to deploy windows application in c# or vb Pin
led mike8-Jul-08 9:12
led mike8-Jul-08 9:12 
QuestionAdding to table with variying record count [modified] Pin
kjalandoon24-Jun-08 18:37
kjalandoon24-Jun-08 18:37 
AnswerRe: Adding to table with variying record count Pin
Christian Graus24-Jun-08 19:11
protectorChristian Graus24-Jun-08 19:11 
AnswerRe: Adding to table with variying record count Pin
kjalandoon8-Jul-08 22:16
kjalandoon8-Jul-08 22:16 
Questionhow to find the most frequently occurring, or repetitive, value in an array Pin
sumit703424-Jun-08 18:28
sumit703424-Jun-08 18:28 
AnswerRe: how to find the most frequently occurring, or repetitive, value in an array Pin
Christian Graus24-Jun-08 19:09
protectorChristian Graus24-Jun-08 19:09 
GeneralRe: how to find the most frequently occurring, or repetitive, value in an array Pin
sumit703424-Jun-08 19:21
sumit703424-Jun-08 19:21 
GeneralRe: how to find the most frequently occurring, or repetitive, value in an array Pin
Christian Graus24-Jun-08 19:28
protectorChristian Graus24-Jun-08 19:28 
AnswerRe: how to find the most frequently occurring, or repetitive, value in an array Pin
C1AllenS24-Jun-08 20:05
C1AllenS24-Jun-08 20:05 
Questionneed help in visual basic.net Pin
Brainne24-Jun-08 16:37
Brainne24-Jun-08 16:37 

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.