Click here to Skip to main content
15,908,254 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: License Key generation. Pin
Alex@UEA28-Apr-09 22:46
Alex@UEA28-Apr-09 22:46 
GeneralRe: License Key generation. Pin
vedaharika29-Apr-09 2:21
vedaharika29-Apr-09 2:21 
GeneralRe: License Key generation. Pin
Alex@UEA29-Apr-09 4:18
Alex@UEA29-Apr-09 4:18 
QuestionSmptClient Question Pin
Alan Burkhart28-Apr-09 17:23
Alan Burkhart28-Apr-09 17:23 
AnswerRe: SmptClient Question Pin
Luc Pattyn28-Apr-09 17:37
sitebuilderLuc Pattyn28-Apr-09 17:37 
GeneralRe: SmptClient Question Pin
Alan Burkhart28-Apr-09 18:08
Alan Burkhart28-Apr-09 18:08 
GeneralRe: SmptClient Question Pin
Alan Burkhart29-Apr-09 9:54
Alan Burkhart29-Apr-09 9:54 
QuestionRe: SmptClient Question Pin
Alan Burkhart29-Apr-09 6:15
Alan Burkhart29-Apr-09 6:15 
Still trying to figure out why I can't send a mail message. Switched from SendAsync to Send, and got the following error message:

System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at SammiText.SendMail.tb_Send_Click(Object sender, EventArgs e) in **deleted**.vb:line 51

--------------------------------------------------------------------

The code I'm using presently is:
Dim mail As New MailMessage(from my e-mail, to my e-mail, "TEST SUBJECT", "TEST BODY")
sndr.UseDefaultCredentials = False
sndr.Credentials = New NetworkCredential(my user name, my password)
sndr.EnableSsl = True
sndr.DeliveryMethod = Net.Mail.SmtpDeliveryMethod.Network
Me.Text = "Sending..."
Me.WindowState = FormWindowState.Minimized

Try
  sndr.Send(mail)
Catch ex As Exception
  dialog_Debug.errTXT.Text = ex.ToString
  dialog_Debug.ShowDialog()
End Try

QuestionI really need help on this one ........... can anyone help me.............. Pin
maheshgtm28-Apr-09 12:50
maheshgtm28-Apr-09 12:50 
AnswerRe: I really need help on this one ........... can anyone help me.............. Pin
Luc Pattyn28-Apr-09 13:35
sitebuilderLuc Pattyn28-Apr-09 13:35 
AnswerRe: I really need help on this one ........... can anyone help me.............. Pin
Christian Graus28-Apr-09 14:40
protectorChristian Graus28-Apr-09 14:40 
Questionpost vb.net form Pin
mhulak28-Apr-09 8:06
mhulak28-Apr-09 8:06 
QuestionReplace-Funktion for controlcollection Pin
User 584223728-Apr-09 7:50
User 584223728-Apr-09 7:50 
AnswerRe: Replace-Funktion for controlcollection Pin
Dave Kreskowiak28-Apr-09 8:57
mveDave Kreskowiak28-Apr-09 8:57 
AnswerRe: Replace-Funktion for controlcollection Pin
Alan Burkhart28-Apr-09 18:46
Alan Burkhart28-Apr-09 18:46 
QuestionInserting into a link table when inserting using a grid Pin
Ekjon28-Apr-09 6:59
Ekjon28-Apr-09 6:59 
AnswerRe: Inserting into a link table when inserting using a grid Pin
Ekjon28-Apr-09 8:05
Ekjon28-Apr-09 8:05 
QuestionDataGridView - Date column [Get Input format dd/MM/yyyy] Pin
Paramu197328-Apr-09 6:39
Paramu197328-Apr-09 6:39 
AnswerRe: DataGridView - Date column [Get Input format dd/MM/yyyy] Pin
Mycroft Holmes28-Apr-09 15:57
professionalMycroft Holmes28-Apr-09 15:57 
QuestionResize text to fill textbox? Pin
Garfunkiel28-Apr-09 6:34
Garfunkiel28-Apr-09 6:34 
AnswerRe: Resize text to fill textbox? Pin
Dave Kreskowiak28-Apr-09 6:53
mveDave Kreskowiak28-Apr-09 6:53 
AnswerRe: Resize text to fill textbox? Pin
Luc Pattyn28-Apr-09 6:55
sitebuilderLuc Pattyn28-Apr-09 6:55 
QuestionHow to implement UNDO/REDO in vb.net windows Pin
dilipmca0428-Apr-09 5:06
dilipmca0428-Apr-09 5:06 
AnswerRe: How to implement UNDO/REDO in vb.net windows Pin
Henry Minute28-Apr-09 5:14
Henry Minute28-Apr-09 5:14 
AnswerRe: How to implement UNDO/REDO in vb.net windows Pin
0x3c028-Apr-09 5:45
0x3c028-Apr-09 5:45 

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.