Are you doing this with Visual Basic 2010 or Sybase itself?