title: Calling a procedure within another class
body: <p>I've created an add-in for outlook 2010.  I have a ribbon that has a button on it.  When you click that button, I want it to call a procedure in the ThisAddIn.vb. </p>
  
  <p>There are two files: ThisAddin.vb and Ribbon.vb.  </p>
  
  <p>I've tried several things to no avail. I've also set all the procedures to public.</p>
  
  <p>Call Testing123()</p>
  
  <p>Call ThisAddIn.Testing123()</p>
  
  <p>Etc</p>
  
  <p>How do I properly call this procedure?</p>
  
  <pre><code>****Ribbon1.vb****
  Imports Microsoft.Office.Tools.Ribbon
  
  
  Public Class MyOutlookTab
  
      Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs) Handles Button1.Click
  
          Call Testing123()
  
      End Sub
  
  End Class
  
  
  ***ThisAddIn.vb***
  Public Class ThisAddIn
  
      Public Sub Testing123()
          System.Windows.Forms.MessageBox.Show("It Works!")
  
      End Sub
  
  End Class
  </code></pre>