Hi jeff
I tried alot but no luck. this is my code
// First of all I am preparing my list from stops
ALCollectionClass cl = new ALCollectionClass();
int pos = 0;
ALRoute r = (ALRoute)route;
ArrayList arPostion = new ArrayList();
for (int i = dictionary.Keys.Count; i > 0; i--)
{
ALStop stop = dictionary;
ALOrder order = (ALOrder)stop.AssociatedObject;
r.Orders.Insert(pos, order);
cl.Insert(pos, order);
ar.Add(pos);
pos++;
}
IALCollection v = (IALCollection)cl;
// raf = Routing folder and v i Interface as you can see abovce line, r = route , arPostion = array list with positions and null is for track
raf.AssignOrdersToRoute(v, r, arPostion, null);
Any idea or tip would be very helpful. There is one more minor issue, when I change the values of route in some other function , it does not refresh in AL app, until it refresh the list somehow. is there any way in coding to let AL know that values has changed so it refresh listings ?
Thanks
Best Regards
Rizwan Bashir