Brian,
Just a hunch, but try adding an if before the myreader.read() like this....
....
if myReader.Read then
Dim MyRowCount As Integer = 0
MyRowCount = myReader.GetInt32(0)
end if
....
I've run into problems with null values and datareaders and seem to use this to keep from attempting to read or set a variable when the reader is empty.
HTH
Tom Lucas