Yassin,
>Where do I put my try catch block when someone clicks on mmpicker control. I want to prevent the error handling going to the Main entry catch block.
>
>
>I have my Try catch on the SetParameters Event Handler but when there is an error it jumps to the main entry main.vb catch block and not the SetParameters procedure catch block.
I recommend subclassing the mmPicker control and overriding the PerformSearch() method and placing your try/catch there (calling the base class method in the try()).
Best 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