The attached code will pop a three button message box.
I would like to write an application that will detect this message box and click one of the buttons of my choosing. I know SendMessage is the function I need but I can not find usable examples to follow.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Message Box Text", "Message Box Title", MessageBoxButtons.AbortRetryIgnore)