POST
|
What tool are you using for obfuscating in the pre-build event? We are using Intellilock for obfuscation and licensing. It is inexpensive, works well, and is updated on a regular basis but don't expect any customer support.
... View more
08-16-2013
08:04 AM
|
0
|
0
|
651
|
POST
|
We do the obfuscating in the pre-build event of the project which has the Config.esriaddinx file. The only other thing in that project is a dockable window and a couple of buttons.
... View more
08-15-2013
02:51 PM
|
0
|
0
|
651
|
POST
|
In case anyone is interested, the solution was to implement IQueryPropertyPage
... View more
06-12-2012
09:40 AM
|
0
|
0
|
214
|
POST
|
Any ideas anyone? I know this can be done, as it is used with the CON (Input conditional raster) geoprocess. Any help would be greatly appreciated!
... View more
06-05-2012
01:08 PM
|
0
|
0
|
214
|
POST
|
I'm using the built in QueryBuilder dialog to design my 'where' clauses with shapefiles. This code works great for me:
IQueryBuilder queryBuilder = new QueryBuilder();
String whereClause = String.Empty;
String fullPath = "C:\\Test\\Shapefile.shp";
String path = Path.GetDirectoryName(fullPath);
String filename = Path.GetFileName(fullPath);
// Set up the Shapefile query
IWorkspaceFactory workspaceFactory = new ShapefileWorkspaceFactory();
IWorkspace workspace = workspaceFactory.OpenFromFile(path, 0);
IFeatureWorkspace featureWorkspace = (IFeatureWorkspace)workspace;
IFeatureClass featureClass = featureWorkspace.OpenFeatureClass(filename);
ESRI.ArcGIS.Carto.IFeatureLayer featureLayer = new ESRI.ArcGIS.Carto.FeatureLayer();
featureLayer.FeatureClass = featureClass as IFeatureClass;
ESRI.ArcGIS.Carto.ILayer layer = featureLayer;
queryBuilder.Layer = layer;
queryBuilder.WhereClause = whereClause;
queryBuilder.DoModal(SettingsManager.ArcDesktopApplication.hWnd);
Now I'd like to do the same but with using a raster file. After several hours of investigating, I haven't found the magic solution. Any ideas? Thanks!
... View more
05-31-2012
02:43 PM
|
0
|
3
|
822
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|