title: Make an error pop-up box in visual basic (not VB.net)
body: <p>How do I make an error pop-up in Visual Basic?</p>
  
  <p>UPDATE:
  I tried making a pop-up in visual basic by saying</p>
  
  <pre><code>call MsgBox("This is a pop-up message", 0, "A Message")
  </code></pre>
  
  <p>I no longer get a compilation error, but now I get a run time error</p>
  
  <blockquote>
    <p>Permission denied: 'MsgBox'</p>
  </blockquote>
  
  <p>Here's an outline of the code</p>
  
  <pre><code>&lt;%
  'other functions
  Function parseString(aString)
      if startPos &gt; 0 then
       'code
      Else
        call MsgBox("This is a pop-up message", 0, "A Message")
      End if
  End Function
  'other functions
  %&gt;
  </code></pre>