POST
|
Hi All I would like to take this issue back, it was my coding problem where I copy/pasted one plugin to create other, I forgot to change the ID of plugin , so it was same for two plugins on my machine . I changed the ID , built again and it started working fine. Thanks Best Regards Rizwan Bashir
... View more
03-02-2012
01:56 AM
|
0
|
0
|
125
|
POST
|
Hi I have written a plugin which loops through routes and do some processing. Once completed, it closes the loaded form properly (as per my understanding) on destroy event I have Marshal.ReleaseComObject(m_app); + I also tried ESRI.ArcGIS.ADF.ComReleaser.ReleaseCOMObject(m_app) now when Arclogistic is closed in XP it closes properly however in Windows 7 it keeps running in background whcih is a problem. so summary of above is , in windows 7 my plugin does not release com object and arclogistic keep running in background. Any idea would be highly appreciated. Best Regards Rizwan Bashir
... View more
03-01-2012
09:18 AM
|
0
|
1
|
532
|
POST
|
Hi is there any one who can help me on this issue, solution in AL 9 will work as well ? Best Regards Rizwan Bashir
... View more
02-27-2012
08:06 AM
|
0
|
0
|
278
|
POST
|
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
... View more
02-09-2012
10:25 AM
|
0
|
0
|
278
|
POST
|
Hi I am developing a project where I have to change the order sequence of assigned orders on basis of some client algorithm. so I unassign all orders using ALCollection col = route.Orders; // raf = routingfolder raf.UnassignOrders(col, null); now I need to assign orders back with specified index to same route. Can anyone please help me and let me know how I can assign the order back with different sequence number ? I know there might be some issues in above as timewindow wont match so lets say we have 10 routes, changing the sequence may work for 3 orders and rest of the 7 remains unassigned would even work for me. + in some cases I can also set time window to wide open so all 10 would fit back , but question is how to assign them back with my required sequence ? Best Regards Rizwan Bashir
... View more
02-05-2012
12:45 PM
|
0
|
3
|
580
|
POST
|
Hi Thanks it worked great. there was a change in this line only , other worked as suggested. IPointCollection4 pointCollection4 = new Polyline() as IPointCollection4; Thanks again for prompt response. Best Regards Rizwan Bashir
... View more
12-20-2011
09:51 AM
|
0
|
0
|
219
|
POST
|
Hi I created one application for one of my client for version 9.3 which worked great, now my customer is upgraded to AL 10 desktop and want the application upgraded as well. When I converted it I get errors on these two lines which I am unable to resolve. is there any other work around for this ? IPointCollection4 pointCollection4 = new PolylineClass(); Error: Interop type 'ESRI.ArcGIS.Geometry.PolylineClass' cannot be embedded. Use the applicable interface instead. IGeometryBridge2 geometryBridge = new GeometryEnvironment(); Error : Cannot implicitly convert type 'ESRI.ArcGIS.Geometry.GeometryEnvironment' to 'ESRI.ArcGIS.Geometry.IGeometryBridge2'. An explicit conversion exists (are you missing a cast?) Any help would be highly appreciated. Best Regards Rizwan Bashir
... View more
12-15-2011
11:03 AM
|
0
|
2
|
2214
|
POST
|
Hi Yes it was more then enough. Thanks Best Regards Rizwan Bashir
... View more
11-23-2011
02:13 AM
|
0
|
0
|
199
|
POST
|
Hi Thankyou so very much for your prompt response with sample. it solved my problems. Thanks again Best Regards Rizwan Bashir
... View more
11-23-2011
02:12 AM
|
0
|
0
|
144
|
POST
|
Hi I have a plugin where I need to monitor some records. on create I created a timer which triggers 30 seconds. public void OnCreate(ALApplication Object) { m_app = Object; timer created and event attached here } now on timer event when I run this command IALEditableCollection collSelection = m_app.Selection; it errors , attached is the snapshot of that. same line of code works when I click on plugin icon under execute procedure. any idea's ? Best Regards Rizwan Bashir
... View more
11-16-2011
10:19 AM
|
0
|
2
|
507
|
POST
|
Hi I have an access database exported from arclogistic desktop app 9.3 , What I want is when I delete any record i-e order, I need an event triggered in my plugin automatically so I can remove that record from access as well. is there any way to make this work ? Best Regards Rizwan Bashir
... View more
11-16-2011
09:27 AM
|
0
|
2
|
428
|
POST
|
Hi Jeff Thanks for prompt response, that sample contains function "ExportRouteToGRF" which exports the record manully . do we have any function which auto exports like we have in 10.0.195 ? Best Regards Rizwan Bashir
... View more
08-09-2011
01:16 PM
|
0
|
0
|
137
|
POST
|
Hi I built an applicaton for client on 10.0.195 version using built-in export functionality. Now client wants the same functionality in 9.3 desktop application , Is there any way where I can programmitically export records to access ? I am C# developer. Any help would be highly appreciated . Best Regards Rizwan Bashir
... View more
08-09-2011
12:27 PM
|
0
|
3
|
550
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|