Click here to Skip to main content
15,921,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Reflection: Get Subclass Type Pin
Eddy Vluggen8-Jun-11 3:33
professionalEddy Vluggen8-Jun-11 3:33 
GeneralRe: Reflection: Get Subclass Type Pin
KenBonny8-Jun-11 3:59
KenBonny8-Jun-11 3:59 
AnswerRe: Reflection: Get Subclass Type Pin
Luc Pattyn8-Jun-11 3:45
sitebuilderLuc Pattyn8-Jun-11 3:45 
GeneralRe: Reflection: Get Subclass Type Pin
KenBonny8-Jun-11 4:00
KenBonny8-Jun-11 4:00 
QuestionVB Deployment - Automatically run an exe file Pin
Central_IT7-Jun-11 5:00
Central_IT7-Jun-11 5:00 
AnswerRe: VB Deployment - Automatically run an exe file Pin
Dave Kreskowiak7-Jun-11 8:06
mveDave Kreskowiak7-Jun-11 8:06 
AnswerRe: VB Deployment - Automatically run an exe file Pin
thatraja7-Jun-11 9:53
professionalthatraja7-Jun-11 9:53 
QuestionEmail Program [modified] Pin
Uma Kameswari7-Jun-11 2:05
Uma Kameswari7-Jun-11 2:05 
Hi,
I have a program written in VB 6.0 for sending automated mails using CDO object.
Suddenly it stopped working. I am giving the code below. What could be the possible reason for this program to stop working suddenly.

Public Sub SendOutlookMail(Subject As String, Recipient As String, Sender as String, strHTML As String)
    Dim iMsg As New CDO.Message
   
    On Error GoTo ErrHdlr
    Const cdoSendUsingPort = 2
    
    ' Apply the settings to the message.
    With iMsg
        .To = Recipient   'Recipient 'Recipient 'ToDo: Enter a valid email address.
        .From = Sender
        .Subject = Subject
        .HTMLBody = strHTML
        .Send
    End With
    
    ' Clean up variables.
    Set iMsg = Nothing
    Exit Sub

ErrHdlr:
    Exit Sub
End Sub
Regards,
Uma

modified on Tuesday, June 7, 2011 8:33 AM

GeneralRe: Email Program Pin
thatraja7-Jun-11 2:27
professionalthatraja7-Jun-11 2:27 
GeneralRe: Email Program Pin
Uma Kameswari7-Jun-11 2:35
Uma Kameswari7-Jun-11 2:35 
GeneralRe: Email Program Pin
Richard MacCutchan7-Jun-11 3:13
mveRichard MacCutchan7-Jun-11 3:13 
GeneralRe: Email Program Pin
Uma Kameswari7-Jun-11 3:20
Uma Kameswari7-Jun-11 3:20 
GeneralRe: Email Program Pin
Richard MacCutchan7-Jun-11 3:30
mveRichard MacCutchan7-Jun-11 3:30 
GeneralRe: Email Program Pin
Uma Kameswari7-Jun-11 3:38
Uma Kameswari7-Jun-11 3:38 
GeneralRe: Email Program Pin
Richard MacCutchan7-Jun-11 5:03
mveRichard MacCutchan7-Jun-11 5:03 
GeneralRe: Email Program Pin
Johan Hakkesteegt13-Jun-11 22:37
Johan Hakkesteegt13-Jun-11 22:37 
GeneralRe: Email Program Pin
Uma Kameswari13-Jun-11 22:53
Uma Kameswari13-Jun-11 22:53 
GeneralRe: Email Program Pin
Johan Hakkesteegt13-Jun-11 23:15
Johan Hakkesteegt13-Jun-11 23:15 
GeneralRe: Email Program Pin
Uma Kameswari13-Jun-11 23:26
Uma Kameswari13-Jun-11 23:26 
GeneralRe: Email Program Pin
Uma Kameswari13-Jun-11 23:30
Uma Kameswari13-Jun-11 23:30 
GeneralRe: Email Program Pin
Johan Hakkesteegt13-Jun-11 23:46
Johan Hakkesteegt13-Jun-11 23:46 
GeneralRe: Email Program Pin
Uma Kameswari14-Jun-11 0:18
Uma Kameswari14-Jun-11 0:18 
QuestionAccess 2007 DB Row Locking Pin
Kevin Marois6-Jun-11 12:04
professionalKevin Marois6-Jun-11 12:04 
AnswerRe: Access 2007 DB Row Locking Pin
Dave Kreskowiak6-Jun-11 16:54
mveDave Kreskowiak6-Jun-11 16:54 
AnswerRe: Access 2007 DB Row Locking Pin
Mycroft Holmes6-Jun-11 19:03
professionalMycroft Holmes6-Jun-11 19:03 

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.