>Yes. But I won't be able to drag that onto any of my forms. I won't be able to say thisform.mynonVisualclass.process(), instead I have to create the object and call the method. It will work, yes.
If you have an object reference to the class, you can then use exactly the syntax you mention, but I don't know whether this will be of any help to you.
I think it would be something like this:
ThisForm.MyNonVisualClass = CreateObject("cNonVisualClass", par1, ...)
ThisForm.MyNonVisualClass.Process()
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)