How to run a form when starting Dynamics 2009

Hi, im kinda new to this! I have little experience but im hoping you can help me with my problem!

When a user runs the application, I dont want the user to see any menus or the standard startup for dynamics! I want it possible that when the user runs Dynamics 2009, the form (ABC) I created will be the first thing the user sees! an addition to that is i want certain users to be able to access this form and another see of users to see a different form!

Any Help would be great!

thX

Hi,

create menu item for the form and call:

new MenuFunction(menuitemDisplayStr(YourMenuItemName), MenuItemType::Display).run(); 

Place this code to Info.startupPost() (if you want it to start when the client starts)

if you want to restrict the calling to your user id only use (curUserID() == ‘xyz’) …[:)]