Click here to Skip to main content
15,881,380 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I need your VB6 programs! Pin
DutchComputerKid2-Sep-16 2:19
DutchComputerKid2-Sep-16 2:19 
QuestionAdding Items to data-bound Combo Box Pin
Raabi Anony12-May-16 20:06
Raabi Anony12-May-16 20:06 
AnswerRe: Adding Items to data-bound Combo Box Pin
Dave Kreskowiak13-May-16 1:07
mveDave Kreskowiak13-May-16 1:07 
QuestionTranslating and understanding what this code block does in c#, adn see if I translated it right for me to use. Pin
jkirkerx12-May-16 13:52
professionaljkirkerx12-May-16 13:52 
AnswerRe: Translating and understanding what this code block does in c#, adn see if I translated it right for me to use. Pin
Richard Deeming13-May-16 2:10
mveRichard Deeming13-May-16 2:10 
GeneralRe: Translating and understanding what this code block does in c#, adn see if I translated it right for me to use. Pin
jkirkerx13-May-16 4:07
professionaljkirkerx13-May-16 4:07 
GeneralRe: Translating and understanding what this code block does in c#, adn see if I translated it right for me to use. Pin
Richard Deeming13-May-16 4:16
mveRichard Deeming13-May-16 4:16 
GeneralRe: Translating and understanding what this code block does in c#, adn see if I translated it right for me to use. Pin
jkirkerx13-May-16 5:02
professionaljkirkerx13-May-16 5:02 
OK, I understand.

Well, so far in code I got what I wanted out of it. I just need to log the error in the database so I can conclude that the email was sent to the Cbeyond mail servers, and it's out of my hands.
'This is the new sendEngine
Dim sE As New SendEngine()
sE.SendEmailAsync(smtpClient, mailMessage, 5)
AddHandler sE.SendEmailCompleted, _
Sub(sender As Object, e As SendEmailCompletedEventArgs)

  Console.WriteLine(e.Error)
  If (e.Error IsNot Nothing) Then

      model.Error_Text = e.Error.HResult
      model.Error_Text = e.Error.Message.ToString
      model.TimeStamp_Error = DateTime.Now()
      ef_model_smtp_resend.Write_Smtp_Send_Record(model)

  End If
End Sub

Thanks for the help Richard!
It would of taken me days to figure out the handler.
QuestionData string manipulation in VB 2010 Pin
Gus11312-May-16 0:26
Gus11312-May-16 0:26 
AnswerRe: Data string manipulation in VB 2010 Pin
Richard MacCutchan12-May-16 0:38
mveRichard MacCutchan12-May-16 0:38 
AnswerRe: Data string manipulation in VB 2010 Pin
Robert g Blair12-May-16 12:27
Robert g Blair12-May-16 12:27 
GeneralRe: Data string manipulation in VB 2010 Pin
Gus11313-May-16 2:19
Gus11313-May-16 2:19 
GeneralRe: Data string manipulation in VB 2010 Pin
Gus11318-May-16 4:15
Gus11318-May-16 4:15 
GeneralRe: Data string manipulation in VB 2010 Pin
Robert g Blair18-May-16 10:47
Robert g Blair18-May-16 10:47 
GeneralRe: Data string manipulation in VB 2010 Pin
Gus11318-May-16 19:52
Gus11318-May-16 19:52 
GeneralRe: Data string manipulation in VB 2010 Pin
Robert g Blair19-May-16 11:30
Robert g Blair19-May-16 11:30 
GeneralRe: Data string manipulation in VB 2010 Pin
Gus11319-May-16 22:41
Gus11319-May-16 22:41 
GeneralRe: Data string manipulation in VB 2010 Pin
Gus11319-May-16 23:33
Gus11319-May-16 23:33 
GeneralRe: Data string manipulation in VB 2010 Pin
Robert g Blair22-May-16 12:12
Robert g Blair22-May-16 12:12 
QuestionAdd unsubscribe link to header of the mail sent from outlook Pin
srikrishnathanthri11-May-16 20:15
srikrishnathanthri11-May-16 20:15 
AnswerRe: Add unsubscribe link to header of the mail sent from outlook Pin
Richard Deeming12-May-16 2:02
mveRichard Deeming12-May-16 2:02 
GeneralRe: Add unsubscribe link to header of the mail sent from outlook Pin
srikrishnathanthri12-May-16 2:38
srikrishnathanthri12-May-16 2:38 
GeneralRe: Add unsubscribe link to header of the mail sent from outlook Pin
Richard Deeming12-May-16 3:12
mveRichard Deeming12-May-16 3:12 
GeneralRe: Add unsubscribe link to header of the mail sent from outlook Pin
srikrishnathanthri12-May-16 3:23
srikrishnathanthri12-May-16 3:23 
QuestionSaving data with data-bound Form Controls Pin
Raabi Anony11-May-16 16:31
Raabi Anony11-May-16 16:31 

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.