Filip,
>Object reference not set to an instance of an object.The error message is not uncommon and I usually know what it is that I have forgot to do, but in this case all I have done is inherited from a class. Has anyone encountered the same problem?
This error is usually caused by VS .NET trying to execute code in a form's constructor or Load...it's a design-time issue because VS .NET doesn't have access to all the run time objects it needs. I discovered this error myself the other day and have fixed the problem for the next release. VS .NET is trying to execute code in one of the parent form's Load event handler (yeah, I wish it wouldn't try <s>). I bracketed this code in a check for mmAppBase.IsRunning() and now it should work fine.
Let me know if you need an early-release of our next version.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com