Steve,
At designtime:
You can drop an instance of the Hi class onto your form just like any other class from the forms toolbar. You can set the classlib via the books button on the toolbar, select Add and select your classlib. Or you can drag the class from the classlib in the project manager and drop it on the form.
At Runtime:
you can use the SET CLASSLIB and then use thisform.AddObject( "myHi", "hi" )
then you can call the method:
thisform.MyHi.Hi()
>If I put the same code that is wait wind "hi" and then save that to class "hi" of contacts.
>How do I call the class Hi from my form?
>
>Set Class Library to c:\ ....\ contacts && I realize I need this but how to call the class