VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic.

learn more… | top users | synonyms (1)

2
votes
2answers
51 views

ArcPad 10.2 Command bar & Quick Access Menu

I am interested in making the Quick Access menu and Command Bar not available/visible for my users. The Quick Access Menu is prompted by the little icon on the bottom right of the tab bar seen here: ...
2
votes
1answer
364 views

ArcPad get vbs script location

Within arcpad (edit form) I want to get the current location of the vbs script running. This simple vbs script outside of arcpad works fine. wscript.echo " " + Wscript.ScriptFullName However, when ...
1
vote
1answer
94 views

Field Calculator issue in ModelBuilder?

I'm trying to populate a field (AVO) using this statement AVO = dim avo if [join] = 1 then AVO = "YES" It works if I do it in ArcMap but it doesn't when I use the same syntax in ModelBuilder.
0
votes
1answer
100 views

ArcPad custom edit form validation behaviour

I have a custom ArcPad form, which includes the geography tab. Users use this tab to update coordinates using the GPS. When user press OK in the edit form, I want to first check that they have not ...
0
votes
1answer
106 views

Arcpad 10…using sql with VBScript

I am trying to get a count of related records (Tableform) in order to validate Editform entry (using VBS). Any help getting myCount? I Know there are some syntax issues here, but is this even ...
0
votes
1answer
133 views

Multiple field vbscript query

I'm fairly new to arc gis and I'm trying to string along several queries. individually they work in same query they don't. background I want to query all permit types rc, re, re/ap, and db; less than ...
2
votes
0answers
212 views

ArcMap Label Help - Label from X/Y Coordinate

Edited: This picture might help explain my question. Here I have a point at the line with an X/Y coordinate. It also has a leader line to it. This leader line has an X2/Y2 coordinate. Both of ...
1
vote
0answers
104 views

Labelling expression - How to combine two different functions?

I'm not an expert of scripting and programming, I need to use these two functions in the labelling expression in ArcGIS. How can I combine this: Function FindLabel ( [toponimo] , [testo] ) ...
1
vote
0answers
55 views

How do I create a new layer in an ArcPad Map that's a buffer from another layer?

I'm editing code that someone else wrote for an plant species management database. Currently, you have to be holding the GPS receiver inside of the polygon for it to automatically find the previous ...
1
vote
0answers
387 views

Picture fill symbol fails with a polygon graphic

The following code snippet successfully draws a graphic polygon and fills it with the specified picture fill symbol. When the x values for all of the points are made negative and a repeat call to the ...
1
vote
0answers
228 views

How can I denote the values of reclassification using variables?

I used the following lines of code to classify a raster. However, my problem is how can I denote the old and new classification values in the last code line using variables? Then number of values ...
1
vote
0answers
324 views

Extract by mask run time error in VBA

I have the following script language code shown below within a main code just to run the tool of spatial analyst "Extract by mask". Unfortunately, when I run it I get a Run Time Error. I checked file ...
0
votes
0answers
19 views

How to accommodate hyperlinks that have a changing date?

I have an installation with close to 400 building, when I click the identify tool in ArcMap 10.3 I would like to be able to select a hyperlink that takes me to a floor plan PDF. All the floor plans ...
0
votes
0answers
537 views

VBScript for Advanced Labeling in ArcGIS

I found a template I thought might be useful to create a table of sorts for a label. I modified it with my variables, but it still doesn't seem to be working. I'm not very familiar with VBScript, but ...
0
votes
0answers
1k views

Getting shape filename in attribute field using field calculator with VBScript?

I want to store this shapefile name in an attribute field using the field calculator and visual, but can't find the way to do it. Can anyone help me?
0
votes
0answers
165 views

Is there any way to fix the position of fixed buttonpads in the top toolbar in MapBasic?

Here is my code to create some buttons: Include "icons.def" Declare Sub Main Declare Sub button_prompt Sub Main Create ButtonPad "Providers" As PushButton Icon MI_ICON_ZOOM_QUESTION Calling ...
0
votes
0answers
68 views

Wrong location with result of VBscripting in ModelBuilder?

I run ModelBuilder program's VBScript. The results I receive is like the original input coordinates but when I export to the arcmap the distance between results and origin map is about 5000 km. How ...
0
votes
0answers
416 views

Adding a polygon in ArcGlobe via GraphicsContainer.AddElement

I'm trying to add some data to an ArcGlobe; however, it's not showing up and I'm wondering what the issue is. I am doing the following: IGeometry geometry; Ipolygon polygon = myPolygon; polygon....