BeforeDelete

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aumpanneer
    New Member
    • May 2007
    • 2

    #1

    BeforeDelete

    HI,
    I have created a outlook com dll and VB app. An event raised (DELETE)in the outlook com dll is not fired in the vb app. The dll raises another event(DELETE) whenever a command button is clicked alert message will raised. The Delete event is fired in the vb app but not fired event. How to solve this???
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by aumpanneer
    HI,
    I have created a outlook com dll and VB app. An event raised (DELETE)in the outlook com dll is not fired in the vb app. The dll raises another event(DELETE) whenever a command button is clicked alert message will raised. The Delete event is fired in the vb app but not fired event. How to solve this???
    Hello!

    (1) Are you saying when a command button is pressed you are not getting the needed result?

    (2) Do you have a select case or if statement with the message box?

    (3) It is likely you do nt have a way for the app to continue aftr the message box popped up

    Hence this:

    Code:
    If blah blah = True Then
      MsgBox "Looks good thus far"
      Do something here
    ElseIf blah blah = False Then
      MsgBox "No way José"
      Do nothing here
    End If
    
    Or
    
    If blah blah = True Then
      Do something here
    ElseIf blah blah = False Then
      MsgBox "No way José"
      Do nothing here, get out
    End If
    Like that, see if that works...

    In a bit!

    Comment

    Working...