I'm working on some code for an asynchronous WMI query. The only problem is that the example code I found is using CSharp instead of VB. I'm stuck on this particular line:

ObjectHandler objectHandler = new ObjectHandler();

The VB.NET version of that should be something like:

Dim handler As objectHandler = New objectHandler

I get a "Type Undefined" error for objectHandler through.

Is the objectHandler class specific to CSharp only? I can't seem to find it in VB.NET 2005.