Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [visual-studio]

Use this tag asking questions related to visual-studio, software development IDE created by Microsoft

0
votes
0answers
44 views

Debugging Python script using Visual Studio in ArcGIS Pro?

According to these links, one can debug a Python script using Visual Studio in ArcGIS Pro. Debug Python code—ArcPy Get Started | ArcGIS Desktop ArcGIS Pro and Python - YouTube I am using ArcGIS ...
0
votes
2answers
50 views

Calculate the target point by using initial coordinate, bearing angle and distance

I need to calculate the target coordinate by using the initial coordinate, bearing angle and distance. I came across this on how to calculate it. Then I construct the code in C#, but it seems I can't ...
1
vote
1answer
47 views

Open Traverse Method for the map survey

I need to use traverse method in my program on visual studio(WPF) so that the user can get their target point coordinate by using their initial data. In my knowledge there is two type of traverse that ...
1
vote
1answer
22 views

Could not install Esri.ArcGISRuntime SDK package with Visual Studio 2015

I am trying to install the ArcGIS Runtime SDK for .NET using Visual Studio 2015 (I see that it is not supported yet for VS 2017, so I installed 2015). I am follwing the ESRI documentation but having ...
1
vote
0answers
28 views

Getting Esri Brushes to appear as dynamic resources in Visual Studio?

I used the ArcGIS Pro SDK to create my Add-In project and to create the DockPane but the Esri Brushes don't show up as Dynamic Resources. According to Esri (https://github.com/Esri/arcgis-pro-sdk/...
1
vote
1answer
63 views

Initializing pszFilename in GDAL?

I still new in GIS and C++ may someone help regarding this. The code below will display the : "Error 3 error C4700: uninitialized local variable 'pszFilename' used" IT is the pszFilename is ...
2
votes
1answer
713 views

Setting Embed Interop Types in ArcObjects to True or False?

I took over a new project with some legacy ArcObjects code and the original developer set the ArcObjects references "Embed Interop Types" property in Visual Studio to a mixture of "True" and "False". ...
0
votes
1answer
224 views

How to build SharpMap

I am trying to test the SharpMap 1.2 libraries. I cloned the build from https://github.com/SharpMap/SharpMap and ran a Build. I encountered 56 errors under VS2015. There is virtually no info on how to ...
1
vote
0answers
22 views

Mapinfo: Protected memory error while using Mapinfo pro

I get the following error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. This happens when I try to load a big .dat file (around 500 MB) ...
0
votes
1answer
154 views

GDalConfigure.cs is missing when I install GDal Core with NuGet in C# Visual Studio

According to this post: How to Install GDal Bindings for C# It says all I have to do to get GDal working is install with NuGet package, and then call ConfigureGdal(). So I did the basic steps, and it ...
1
vote
1answer
39 views

How to modify combo boxes lists in .esriAddIn, with no access to Visual Studio or SDK

I have an .esriAddIn project made for ArcGIS 10.0, and I want to modify the combo boxes lists with up-to-date values. My organisation has moved forward with Visual Studio 2013, ArcGIS 10.3, and ...
1
vote
0answers
62 views

Set up Esri Proxy on Visual Studio for Web Appbuilder

I am trying to set up Esri proxy for my Web Appbuilder app on Visual Studio , anyone has done that? Setting up proxy tutorials show setting up on IIS7, VS runs IIS Express, therefore the set up would ...
1
vote
1answer
61 views

Unresolved externals on simple mapnik c++ application

I'm attempting to write a simple win32 x64 console application in c++ using VS 2017 that uses the Mapnik v3.0.9 SDK to render a png from a pgsql database. All I've done so far is include a reference ...
1
vote
0answers
45 views

how transforms coordinates etrs89 in wgs84 with javascript

I'm programming a web page with Visual Studio and I'm trying to make a javascript to use my page. The script has to transform the coordinates X, Y etrs89 WGS84 coordinates that can read Google. I ...
3
votes
0answers
270 views

Autocompletion for VS and Eclipse when debugging QGIS plugins

I have been trying to get autocompletion to work in first Eclipse and afterwards tried with Visual Studio. I have been following these guidelines / Stack Questions IDE settings for writing and ...
1
vote
1answer
38 views

ArcObjects C# : What are the valid inputs for IGxObjectProperties.GetProperty()?

The function IGxObjectProperties.GetProperty() takes in a string, i.e. "ESRI_GxObject_Name". So far, the ones I know are: ESRI_GxObject_Name, ESRI_GxObject_FileSize, ESRI_GxObject_FileTime, ...
-4
votes
1answer
142 views

PostgreSQL query to C# [closed]

So I have this query in PostgreSQL: SELECT * FROM "Database"; Which works great, but now I want to do a more complicated query and I have no idea how. So how can I write this Query in C#: SELECT *...
1
vote
0answers
106 views

ArcMap add-in to make connection and load the database on VB.NET

I'm new at Arcobjects programming. Currently I'm trying to make an ArcMap Add-in which can connect and load a database into ArcMap. I have found samples on the Esri website, but it seems not to be ...
1
vote
0answers
540 views

Building QGIS with Visual Studio 2015 on windows x64? [closed]

I tried to follow the guide at github, hence I encounter problem after problem (Now I have problems with: MSBuild.exe to get the value of VCTargetsPath:, earlier I couldn't find any c++ paths etc.) I ...
1
vote
0answers
39 views

Closing AddIn in ArcGIS with Visual Studio 2013? [closed]

I was working in ArcGIS 10.2 with VBA but now I work with Visual Studio 2013 to create addins. I need to close all processes, I did this with the end statement in VBA but I don't find a command to ...
1
vote
1answer
228 views

Building QGIS master on Windows 7

I'm trying to build a debug version of QGIS on windows env for this I'm using the bat file package-nightly, I followed all steps presents in INSTALL file but without success. When I executed the bat ...
2
votes
0answers
125 views

Getting Intellisense / AutoCompletion for ArcGIS API for JavaScript 4 in Visual Studio 2015?

In Visual Studio 2015, how do I get intellisense / autocompletion for the ESRI ArcGIS API for JavaScript version 4.3. I haven't been able to find any documentation that explains how to add ...
2
votes
0answers
128 views

Import error when compiling QGIS 2.18.3

I am getting the following error while compiling QGIS 2.18.3 in visual studio 2010. Apparently all is well when I compile QGIS 2.14. Is there something am missing? 277> Building Custom Rule D:/...
1
vote
0answers
144 views

Unable to load dll arcgisversion.dll

I'm trying to publish my VB.net Application, it's working fine on my machine, but it's showing this error on my friend machine: unable to load dll 'arcgisversion.dll': The specified module could ...
2
votes
2answers
629 views

Visual Studio 2015 doesn't read ArcGIS 10.2.2 advanced license

I have an ArcGIS 10.2.2 Advanced License installed. I have Visual Studio 2015 installed. When I open my form I assign. public frmMain() { // this must be the first object created try { ...
1
vote
0answers
66 views

Building Addins using common environment for ArcGIS 10.4 and 10.0? [closed]

I have an addin for ArcGis 10.0. This addin is developed in following environment: Visual studio 2010 , ArcObjects sdk for 10.0 (arcgis) When I want to use same addin on ArcGis 10.4 version, it ...
3
votes
1answer
557 views

Getting feature class names within dataset with vb.net and ArcObjects?

I am totally new to arcobjects. I want to get the feature class names withın a dataset and add them to a listbox. I was able to get the dataset names but i do not know how to iterate through the ...
6
votes
1answer
4k views

Setting up Python/ArcPy with ArcGIS Pro and Visual Studio?

My ArcGIS Pro install recently updated from 1.2 to 1.3. In reading Python in ArcGIS Pro 1.3 I discovered that Esri have changed how ArcGIS Pro uses Python/ArcPy. Legacy: In ArcGIS Pro 1.0 ...
2
votes
2answers
2k views

ESRI.ArcGIS.Desktop.AddIns could not be found. Visual basic build error

I am trying to compile a project in visual basic into an Arc map add on. I am receiving two warnings that are preventing the build from completing. Both errors entail that the assembly ESRI.ArcGIS....
2
votes
0answers
74 views

ArcObjects Custom Tool for a VB App

We have an old VB6 app that uses the map, toolbar and toc controls. On the toolbar, we've added the custom menu so users can add other built-in tools or tools they've created. One of our customers ...
2
votes
1answer
601 views

ArcObjects 10.0 Add-Ins

I'm using 10.0 because that's what our customer that I'm attempting to build a custom add-in for is using. I am following the "Walkthrough: Building custom UI elements using add-ins" from the ...
1
vote
1answer
1k views

Create Custom Tool with ArcObjects SDK and Visual Studio 2013/2015

I'm researching building a couple of custom tools. I downloaded and installed ArcObjects SDK 10.4 to integrate it into Visual Studio 2013 and 2015, but I'm having trouble finding any good examples on ...
1
vote
1answer
572 views

Generating C# classes for gml.xsd using MS Visual studio xsd tool

With Microsoft Visual Studio 2010 comes a tool called xsd which can automatically generate C# source code to easily deal with XML files corresponding to a given schema. I have a very complex XSD ...
4
votes
6answers
4k views

Visual Studio 2015 Error when running ArcMap add-in

I'm running a simple ArcMap add-in in Visual Studio and am getting this error: Severity Code Description Project File Line Suppression State Error The "ValidateAddInXMLTask" task ...
1
vote
0answers
678 views

Using GDAL in C++. Create multiple GDALDatasets using a GDALDriver produces error 4 not recognised as a supported file format [closed]

I am trying to create multiple GDALDataset objects. All of them are supposed to be in the .tif format, so for all of them I use the same GDALDriver. I am working in C++ (Visual Studio) and when I ...
1
vote
1answer
2k views

Example of C++ code in Visual Studio initializing a created raster

I refer to Sample for MS Visual Studio C++ using GDAL library I noticed that the answer mentions that when GDAL is built from source there would be a tools folder with examples of how to initialize a ...
5
votes
2answers
6k views

How to set up Visual Studio Development Environment for ArcGIS 10.3.x to develop Add-In?

How should I set up a development environment for making add-ins for ArcGIS 10.3? There is no walk-thru anywhere that I can find for this. First, ESRI says Visual Studio 2013 is supported but in other ...
0
votes
0answers
37 views

.Net sdk for ArcGIS v10.2.2 [duplicate]

Which ArcGIS .Net desktop SDK version need to be used for developing addin in VS2010 and ArcGIS 10.2.2 environment? I have tried using 10.2.4-10.2.6. But can not see the ArcGIS project templates in ...
3
votes
1answer
259 views

ArcGis 10.2 returning an enum status of EsriLicenseNotLicensed

I have an old VS project that was using ArcGis for a map control. I now have 10.2 on my machine. code that I used previously to find & initialize the license no longer works. I know the enums ...
4
votes
1answer
2k views

Setting up a QGIS Plugin Development Environment in Visual Studio and PTVS

I would like to create a plugin using Visual Studio 2015 and Python tools (PTVS). I have a basic hello world plugin written outside visual Studio and It loads fine in QGIS 2.10 Pisa. I have installed ...
1
vote
0answers
1k views

show some data on a map by OpenStreetMap from C# VS2013 [closed]

I am very new to Open Street Map. I have some data that need to be shown on a map by Open Street Map from C# VS2013. It can be WPF or windows forms. The data is about some statistics results by ...
3
votes
0answers
106 views

Building GEOS / GDAL halts on embedding manifest files [closed]

I'm trying to build GEOS and GDAL from source on a Windows machine. I have Visual C++ for Python 9.0 installed with Lib / Include / PATH environment variables established (as far as I am aware). But ...
2
votes
2answers
864 views

How to create installer for ArcObjects applications in VS 2012

After Visual studio 2010, the extremely useful "Setup And Deployment" project have been removed from visual studio. And MS have packed it with a rather lousy InstallShield LE(LIMITED edition). You ...
2
votes
0answers
213 views

ArcGIS .Net GP tools debug

I'm developing a GP Tool with .Net ArcObjects SDK. I would like to debug my GP tool but I haven't figured how. I have tried to enable background processing in Geoprocessing Options and attach ...
2
votes
1answer
4k views

Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I recently migrated my desktop from ArcGIS 10.1 to 10.3.1 and visual studio from 2010 to 2013. I am now getting a problem trying to run an Engine application. It builds fine but when I try to debug it ...
1
vote
0answers
149 views

Run C++ DLL in ArcMap 10.3

I've migrated a VB script that uses ArcObjects to a C++ Win32 DLL (using Visual Studio 2013). And now I would like to test my DLL by launching it from my ArcMap 10.3 installation. The problem is that ...
8
votes
6answers
1k views

Unable to debug Esri Addin for ArcCatalog

It was a toss of a coin whether this question is a GIS.SE or StackOverflow question... I'm going with GIS.SE because the problem seems to lie with ArcCatalog. I have several addins that have been ...
2
votes
0answers
297 views

When debugging ArcGIS add-in, can't use “Edit and Continue”

I've been working on this add-in for years, and just today set up a new computer with VS 2013 and ArcGIS 10.3. When I run my add-in from the debugger, breakpoints can be hit, but I can't edit when ...
1
vote
0answers
2k views

ArcMap hangs on “Initializing Application…” when starting from Visual Studio? [closed]

This has worked just fine for years; I don't know what changed. ArcMap 10.0 starts just fine on its own, it's just when using the debugger to test my add-in that it won't start. The add-in, once ...
2
votes
2answers
640 views

Changing the transparency of a raster layer with ArcObjects

I'm trying to do some simple things with the .net framework and ArcObjects, but have little experience with this type of development. I would like to iterate through the layers in a map document and ...