Click here to Skip to main content
15,887,346 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Hot to read uncommon picture format? Pin
Sonhospa4-Aug-09 6:26
Sonhospa4-Aug-09 6:26 
GeneralRe: Hot to read uncommon picture format? Pin
Luc Pattyn4-Aug-09 6:52
sitebuilderLuc Pattyn4-Aug-09 6:52 
GeneralRe: Hot to read uncommon picture format? Pin
Sonhospa4-Aug-09 8:32
Sonhospa4-Aug-09 8:32 
GeneralRe: Hot to read uncommon picture format? Pin
Luc Pattyn4-Aug-09 8:44
sitebuilderLuc Pattyn4-Aug-09 8:44 
GeneralRe: Hot to read uncommon picture format? Pin
Sonhospa4-Aug-09 9:47
Sonhospa4-Aug-09 9:47 
AnswerRe: Hot to read uncommon picture format? Pin
Steven J Jowett4-Aug-09 3:49
Steven J Jowett4-Aug-09 3:49 
GeneralRe: Hot to read uncommon picture format? Pin
Sonhospa4-Aug-09 6:31
Sonhospa4-Aug-09 6:31 
Questionconnecting gmail using IMAP in VB.NET? Pin
nevincm3-Aug-09 21:16
nevincm3-Aug-09 21:16 
hi all,
I am into a new project to read new mails from a mail server and put into database. i tried pop3 .But in that all mails from sent items and inbox at time . So i decided to use IMAP

I modified the POP3 code which i was using an tried like this

created a TCP object
 Dim objTCP As New TcpClient
    Dim sslstream As Net.Security.SslStream
    Dim reader As StreamReader = Nothing
objTCP.Connect("imap.gmail.com", 143)
sslstream = New Net.Security.SslStream(objTCP.GetStream())
sslstream.AuthenticateAsClient("imap.gmail.com") ' authenticate as client  GMAIL
            reader = New IO.StreamReader(sslstream) '  Assigned reader to stream 

it caught an error on the authentication part "sslstream.AuthenticateAsClient("imap.gmail.com")"

I am pasting the error below

System.IO.IOException = {"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."}

InnerException = {"An existing connection was forcibly closed by the remote host"}

Can you point out the error in my code.
If i am wrong Can you help me to get the basic commands running .

I am new to this network level programming

thanks & regards
AnswerRe: connecting gmail using IMAP in VB.NET? Pin
Mike Ellison4-Aug-09 3:17
Mike Ellison4-Aug-09 3:17 
QuestionBest practices for common routines Pin
supercat93-Aug-09 12:36
supercat93-Aug-09 12:36 
AnswerRe: Best practices for common routines Pin
Christian Graus3-Aug-09 13:39
protectorChristian Graus3-Aug-09 13:39 
AnswerRe: Best practices for common routines Pin
Mycroft Holmes3-Aug-09 13:56
professionalMycroft Holmes3-Aug-09 13:56 
GeneralRe: Best practices for common routines Pin
supercat94-Aug-09 5:46
supercat94-Aug-09 5:46 
GeneralRe: Best practices for common routines Pin
nlarson114-Aug-09 7:13
nlarson114-Aug-09 7:13 
GeneralRe: Best practices for common routines Pin
Mycroft Holmes4-Aug-09 16:08
professionalMycroft Holmes4-Aug-09 16:08 
QuestionVB-Access: Syntax error in INSERT INTO command Pin
Amanjot3-Aug-09 10:58
Amanjot3-Aug-09 10:58 
AnswerRe: VB-Access: Syntax error in INSERT INTO command Pin
Christian Graus3-Aug-09 11:17
protectorChristian Graus3-Aug-09 11:17 
AnswerRe: VB-Access: Syntax error in INSERT INTO command Pin
Paramu19733-Aug-09 21:16
Paramu19733-Aug-09 21:16 
AnswerRe: VB-Access: Syntax error in INSERT INTO command Pin
Hristo-Bojilov4-Aug-09 7:34
Hristo-Bojilov4-Aug-09 7:34 
QuestionList all active windows Pin
NewbieDave3-Aug-09 10:02
NewbieDave3-Aug-09 10:02 
AnswerRe: List all active windows Pin
Christian Graus3-Aug-09 10:32
protectorChristian Graus3-Aug-09 10:32 
AnswerRe: List all active windows Pin
Dave Kreskowiak3-Aug-09 10:36
mveDave Kreskowiak3-Aug-09 10:36 
GeneralRe: List all active windows Pin
Christian Graus3-Aug-09 10:44
protectorChristian Graus3-Aug-09 10:44 
GeneralRe: List all active windows Pin
NewbieDave3-Aug-09 11:05
NewbieDave3-Aug-09 11:05 
GeneralRe: List all active windows Pin
Christian Graus3-Aug-09 11:17
protectorChristian Graus3-Aug-09 11:17 

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.