You need to import the namespaces or to put the complete code...

vb.net Code:
  1. Imports System.Net
  2. Imports System.Text

or

vb.net Code:
  1. Dim client As New System.Net.WebClient()
  2. Dim s As String = System.Text.Encoding.ASCII.GetString(pageData)