1,855 reputation
210
bio website
location Washington, DC
age 49
visits member for 2 years, 1 month
seen 16 hours ago
stats profile views 75

May
17
comment ArcGIS crashes with no error number in Visual Studio
You can always set a breakpoint in the Catch block, which will allow you to look at the variables in your code when it hits an error.
May
17
comment ArcGIS crashes with no error number in Visual Studio
OK...I put that in a code with no Try/Catch block and ArcMap crashed. I put that into the Try/Catch and I get the error "System.InvalidCastException: Conversion from string "a" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) etc. " and ArcMap doesn't crash
May
17
comment ArcGIS crashes with no error number in Visual Studio
It might be helpful to post the code that is giving you a problem
May
17
comment ArcGIS crashes with no error number in Visual Studio
When I leave out Try/Catch blocks, I will more often get a total crash of ArcGIS with no explanation. I've done other things in the Catch block, such as bringing up a dialog box that allows the user to send me the error message via email
May
17
answered ArcGIS crashes with no error number in Visual Studio
May
15
comment How to specify field name in raster to feature conversion tool or intersect tool?
You can specify a field name if you use the Geoprocessing tool RasterToPolygon
May
7
comment Get IWorkSpace from IGxObject
When setting the IGxDialog filter to show only workspaces, you'll get an error when trying to cast the IGxObject as an IGxDataset.
May
7
answered Get IWorkSpace from IGxObject
Apr
15
awarded  Caucus
Apr
13
awarded  Yearling
Feb
25
comment ArcMap: Calculate Quarter using Date field
You could simplify that a bit further by using if myMonth <=3: elif myMonth <=6: elif myMonth <=9: else:
Jan
24
awarded  Popular Question
Jan
23
comment Displaying .gdb content(Feature classes) in winidows forms
You could use the IGPUtilities.Exists method, which returns whether the object referred to by the given geoprocessing value object exists.
Jan
15
answered Which area measurement to trust? - The same polygon in GoogleEarth v. ArcGIS
Jan
15
comment List items are replaced with new reference when adding
This determines what type of cursor your search method is returning. Read the API reference for IFeatureClass.Search and also look at resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/… under the section Understanding Recycling
Jan
15
answered List items are replaced with new reference when adding
Jan
14
comment ArcMap: Help with FindLabel funtion
Great...don't forget to mark this as the answer.
Jan
14
comment arcpy: get list of adjacent lines per line
My colleague initially looked at Eliminate to solve his problem, but we settled on this method instead, since he wanted to merge features based on attribute rather than longest shared border or largest area.
Jan
14
revised ArcMap: Help with FindLabel funtion
deleted 647 characters in body
Jan
14
answered ArcMap: Help with FindLabel funtion