I don't have Mappoint installed, but with most other MS automatable products, doing an appobject.Quit(0) will work. The zero is the general constant for DoNotSaveChanges.
>Is there anyway to programmatically close the directions pane in MapPoint? or is there anyway to programmatically resize the directions pane window?
>Also, when closing MapPoint, is there anyway to keep the "Save Dialog Box" from appearing? or is there a way to answer the "Save Box" with a "NO". I never need to save a map. I just need to close it programmatically without saving. Thanks for the help in advance.
>
>Randy Belcher
>Silver Creek Tech
>
randy_belcher@yahoo.com
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05