title: Yes/No message box always returns yes - VB.Net
body: <p>I was experimenting with message boxes, and tried a simple yes/no messagebox
  So I wrote this simple piece of code. However, the "chc" variable always returns as 1, no matter what button I press. I provided the code, so you maybe see what I did wrong. It is probably horribly wrong.</p>
  
  <pre><code>If MsgBoxResult.Yes Then
      chc = 1
  ElseIf MsgBoxResult.No Then
      chc = 0
  End If
  
  MsgBox(chc)
  </code></pre>