I have not been able to find anything specfic to my problem in the forum. I see some people lost some functions when using optimized compile for the device. I'm using Door library with Keydown and KeyUp events. It works fine on the IDE while running, and it works when standard complie. What it is doing is moving a sprite with right keypress. Using if KeyCode = right. This will not work while optimized. The other problem I have is a timer that will display a msgbox under certain conditions. Again, this works on the IDE and standard compile. But I dont get a message box when optimized. Part of what I am doing is setting the the Visible property to false when a Sprite hits a point, and true after the msgbox. It just wont give me the messagebox so It wont show my form. Does anyone know why this would happen while optimized? I have no problems compiling, and other programs will optimize and work properly.