Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MMPicker Control Error Handling
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01317334
Message ID:
01317539
Views:
15
This message has been marked as the solution to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform