Jose,
>I did it and it´s working, but why PostApplicationStartup() did not work ?
My apologies for that! Mat is correct...BeforeReadEvents() is the proper place to put your code. PostApplicationStartup is a method that "slipped through the cracks"...it is not called from anywhere and will be removed in the next version of the Framework.
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