>>Can't answer why it does not work (I'm sure someone will chime in). As for the first question, how to detect, you could use a Try..Catch block around it. > >Well, basically, I wanted to know if we could verify for the type, such as we do in VFP, to see if the object as in fact been created ok.
Besides checking for Nothing as Bonnie suggests, maybe you could use TypeOf.
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry