MP '04 - Route Options

johnweidauer
08-29-2006, 03:47 PM
Each time i open the form with the AxMappointControl1, all of the Options in the Route Planner are reset to the default. My idea is to store my settings in a DB and set them each time the AxMappointControl1 is used. Unfortunately, I am not sure how to do this, any thoughts?

I would like to Control the Fuel costs mostly, but I had access to all the options it would make life easier.

Thanks.

Wilfried
08-30-2006, 01:44 AM
Hi,

you cannot just let the control save them but it is very simple. Make a class with all the settings you want to keep persistent. Then stream it to an xml file or whatever you like to have it kept. I can make you an example in C# if you want.

 
Web mp2kmag.com
mapforums.com