POST
|
You'll need to use iVersionedWorkspace and iVersion. Something like this prior to the code you shared... pVersionedWorkspace = pWorkspace pVersion = pVersionedWorkspace.FindVersion("myversion") 'check to make sure pVersion is not nothing pWorkspace = pVersion
... View more
04-22-2021
01:02 PM
|
0
|
0
|
891
|
POST
|
Nope, I have yet to come to a solution. Have you tried Tech Support? No, I have not contacted them. I need to talk to my end users first and see if they even care.
... View more
07-18-2011
04:56 AM
|
0
|
0
|
453
|
POST
|
I'm experiencing the same with my command under 10. Did you come up with a solution?
... View more
07-15-2011
12:19 PM
|
0
|
0
|
453
|
POST
|
I was successful after following the documentation you refer to. But I also had to modify my project file as described in the "ESRIRegAsm" section of http://help.arcgis.com/en/sdk/10.0/.../0001000002m2000000/ Did you verify that it registered? Here's a blurb from the help that explains where to verify: The XML database generated by ESRIRegAsm.exe has a .ecfg file extension. It is a zipped XML file that can be unzipped and read. For ArcGIS Desktop 10, the .ecfg file is located at, ~:\Program Files\Common Files\ArcGIS\Desktop10.0\Configuration\CATID. For ArcGIS Engine 10, the .ecfg file is located at, ~:\Program Files\Common Files\ArcGIS\Engine10.0\Configuration\CATID. Sherry
... View more
01-03-2011
06:23 AM
|
0
|
0
|
110
|
POST
|
Greg, You probably just need to force a refresh. Here's what I usually use... pActiveView.Refresh() 'sometimes a .PartialRefresh will do pSelEvents = pMap pSelEvents.SelectionChanged() Sherry
... View more
12-23-2010
05:23 AM
|
0
|
0
|
755
|
POST
|
Hi Greg, If I understand your question correctly, yes this can be done. Your first selection must be esriSelectionResultEnum.esriSelectionResultNew and the subsequent selections be of esriSelectionResultEnum.esriSelectionResultAdd. Here's a sample... not a spatial query, but it should get you going in the right direction. pMap.ClearSelection() 'clear the selection set pQueryFilter = New ESRI.ArcGIS.Geodatabase.QueryFilter pQueryFilter.WhereClause = "POLENUMBER = '" & m_Criteria & "'" pFeatureSelection = Nothing selectionresult = ESRI.ArcGIS.Carto.esriSelectionResultEnum.esriSelectionResultNew For x = 0 To m_count - 1 If Not m_pFlayer(x) Is Nothing Then pFeatureLayer = m_pFlayer(x) pFeatureSelection = pFeatureLayer pActiveView.PartialRefresh(ESRI.ArcGIS.Carto.esriViewDrawPhase.esriViewGeoSelection, Nothing, Nothing) pFeatureSelection.SelectFeatures(pQueryFilter, selectionresult, False) selectionresult = ESRI.ArcGIS.Carto.esriSelectionResultEnum.esriSelectionResultAdd End If Next x I hope this helps, Sherry
... View more
12-22-2010
05:11 AM
|
0
|
0
|
755
|
Online Status |
Offline
|
Date Last Visited |
03-14-2024
07:11 PM
|