title: Reading mp3 tag information in vb.net
body: <p>I'm doing a project in VB.NET 2005, in which I have to extract the tag information of mp3 files. For that purpose I have used code in this <a href="http://www.codeproject.com/KB/vb/mp3id3v1.aspx" rel="nofollow">page</a>. But the issue is when one of the tag is empty, it didn't return any values.  </p>
  
  <p>For example, using this i can retrieve album information like this,</p>
  
  <pre><code>    Dim album As String = ""
      album = objMP3V1.Frame(MP3ID3v1.FrameTypes.Album)
  </code></pre>
  
  <p>But I didn't know how to check the album variable is empty or not, I checked album variable</p>
  
  <pre><code>    If (album = "") Then
          MsgBox("true")
      ElseIf (album Is Nothing) Then
          MsgBox("true")
      ElseIf (album Is DBNull.Value) Then
          MsgBox("true")
      End If
  </code></pre>
  
  <p>but no success, can somebody help me.</p>