>Is hardcoding classnames the way to go ? What if I change the name of a class or want to add in another layer does this means I need to edit all my code.
Jeroen,
Use #DEFINEs ro variables, use anything you want to hold thwe class names. The point is that in VFDP5 you MUST have the classlibrary open before you create anything in that library, with NewObject you can specify the libraqry at the time you create the object. The library can even be built inot some other app or exe file.