By now your issue is probably solved, but seeing that Google ranks this thread high, I thought I share my tip to help others, too. Take a look at this C# ONVIF Example On How To Make IP Camera Viewer With Motion Detection @ Dreamincode.Net. Although it is a C# example, the onvif camera software that was used by its author supports all .NET languages, including Visual Basic as well.
It looks like you're new here. If you want to get involved, click one of these buttons!