>System.NullReferenceException was caught > Message="Object reference not set to an instance of an object." > Source="OakLeaf.MM2008.Framework" > StackTrace: > at OakLeaf.MM.Main.mmAppBase.get_AppSettingsMgr() > at nms.apc.business.ABusinessObject`1.get_myColl() in F:\vs2008liveProjects\wsBusiness\ABusinessObject.cs:line 120 > InnerException: > >You should instantiate an instance of your application object before instantiating and using instances of your business objects---much the same as you do when instantiating them from Visual Studio's Object Test Bench. So, in VFP you could instantiate an instance of AAppTest first, then instantiate an instance of your business object.