An object-oriented programming language from Microsoft. It is the .NET version of the Visual Basic (VB) programming language.

learn more… | top users | synonyms

1
vote
0answers
236 views

arcgis server 10, vb.net, non pooled service, web adf

i am running arcgis server 10. i created a A.MXD file, then started arcgis server and successfully added non-pooled service using A.MXD. i also installed visual web developer 2010 express and created ...
2
votes
2answers
1k views

ArcObjects: Getting the properties of a layer that has lost its data source (VB.NET)

When you save an ArcGIS map document (MXD) and then change the data source of a layer in the MXD, you can no longer see the layer in the MXD and you must redefine its data source. But suppose you ...
4
votes
2answers
976 views

Problem creating a point IFeatureClass

I'm trying to create a point IFeatureClass, but my code doesn't work. Public Function CreatePointFeatureClass(ByVal featureClassName As String, _ ByVal ...
4
votes
4answers
3k views

Sum the values of a single raster and output the value as a number?

I have a floating point raster and have applied a conditional to it in order to only extract the positive values, so there are 'no data' "holes" in the raster. I simply need to sum the values from ...
6
votes
4answers
890 views

Deriving separate polylines from coded points using ArcObjects (Figure inside)

I have a single point featureclass that represents the left and right sides of a landform (the points are coded as either 'right' or 'left'). Visually I can pick out and digitize two lines along these ...
1
vote
1answer
474 views

ArcObjects DataStat Error

I have some code that adds a bunch of group layers into ArcMap based on a table within ArcMap. The code works fine in VBA, however in VS 2010 I get an error on the "pEnumVar = pDataStat.UniqueValues" ...
2
votes
1answer
626 views

ArcMap Commands .NET code equivalent

What is the .NET code equivalent for this general ArcMap command syntax: Application.Document.CommandBars.Find(ArcID.Query_ClearSelection).Execute() I have been using this one below as a work ...
3
votes
2answers
943 views

ArcObjects VB.Net - Editing in Geodatabase

Greetings, I have a script in VB.Net for grabbing values from one feature and assigning them to another. It works fine on shapefiles, but upon importing the same shapefiles into a file geodatabase, I ...
1
vote
3answers
2k views

ArcMap Form/Button VB.NET MxDocument hook

---UPDATE--- see below I have a scaling raster tool that I'm attempting to migrate from ArcGIS 9.3.1 VBA to VB.NET (Visual Studio 2010). I have a BaseTool that is used to put two graphic points ...
-1
votes
3answers
731 views

ArcObjects conform to .NET standards Error

So, I'm following the "Walkthrough: Migrating VB6 to VB.NET for ArcGIS 10" to convert my VB code to .NET (using Visual Studio 2010), and I'm running into this error, "NullReferenceException was ...
4
votes
4answers
1k views

Exploring ArcObjects through C# or VB from Python background

While I understand that this may be off topic to an extent, I am in a bit of a bind and could use some help directing my thought process and research. I have little programming background aside ...
2
votes
3answers
603 views

CreateFeatureClass failure in vb.net

I'm using ArcGIS 9.3.1 and trying to get the code to create a new feature class in an existing personal geodabase to work but I am having no luck. When running in debug mode from within vb.net it will ...
1
vote
2answers
829 views

How to get a polyline from a polygon in ArcGis Server 9.3?

I'm want to get the lines of a polygon and then get the length of each line, I'm looking on how to do this, Can anyone show me some code? Does anyone have any pointers on how to do this? I'm using ...
2
votes
1answer
652 views

Create data table in geodatabase

Using vb.net, my custom tool needs to create a data table in my geodatabase to store some information for later use. The user will be in ArcMap 9.3.1 with the geodatabase up and layers displayed. I ...
2
votes
1answer
1k views

ArcMap Geoprocessing vba code/tool - smooth polygon

I would like to execute the smoothpolygon tool within ArcMap vba and I'm having some trouble defining the parameters syntax for the tool. I'm getting this error below: ERROR 000622: Failed to execute ...