|
POST
|
Just remember that HK_Current User is just a shallow copy of what is in HK_Users. On my Windows 11 computer the Default user hive the ESRI folder only has an Updater subfolder...no keys regarding licensing. Computer\HKEY_USERS\.DEFAULT\Software\ESRI\Updater
... View more
03-18-2025
09:16 AM
|
0
|
1
|
3964
|
|
POST
|
Has SP 1 or SP 3 for ArcGIS Pro 3.4 resolved these errors?
... View more
03-17-2025
11:37 AM
|
0
|
1
|
2857
|
|
POST
|
win10-x64 is not supported with Visual Studio 2022 and .Net 8.0.12, use win-x64 instead.
... View more
03-13-2025
04:19 PM
|
0
|
0
|
2584
|
|
POST
|
In the appropriate place in the above code example you would then use the .Activate and .Deactivate methods similar to FrameworkApplication.State.Activate("goodLogin_State"). You would also want to us your own state instead of esri's internal predefined state variable. <state id="goodLogin_State" />
... View more
03-13-2025
04:14 PM
|
0
|
0
|
1134
|
|
POST
|
I've been developing several add-ins (6 at this count) and loading them into a custom tab. In a few cases I've taken one add-in and Forked it and to create a new add-in with similar functionality. Is there a risk doing this? For example: (1) if I have a public variable within one add-in, is it visible from other add-ins, (2) if I had a public class could another add-in access that class 'across' add-ins, and (3) if I had two public variables, or classes, in two add-ins with the same names could there be a Collision resulting in an error in one or more of the add-ins? Other way to ask this this, are add-ins thread safe containers?
... View more
03-13-2025
04:05 PM
|
0
|
3
|
1342
|
|
POST
|
How about the ESRI dev team add three lines of code to NOT export a DateOnly field if the export type is a Shapefile? Updating a tool intentionally to break existing functionality is considered Bad and should be avoided. Hopefully, ESRI is addressing this since shapefiles are still supported by ESRI and are used by many open data solutions..
... View more
03-11-2025
09:40 AM
|
0
|
1
|
3541
|
|
POST
|
three possibilities: 1. Did you update your config.daml to target version 3.0 and higher? <AddInInfo id="{Your GUID}" version="3.0" desktopVersion="3.4.0"> 2. In your .csproj file for your solution ensure the following tags are updated to: <TargetFramework>net8.0-windows</TargetFramework> <RuntimeIdentifier>win-x64</RuntimeIdentifier> 3. ArcGIS Pro requires .Net Desktop Runtime 8.0.x, this must be on both your build and deploy machines. Also, all .Net references in you Visual Studio project need to be updated to use 8.0.x -or .Net 4.8 for any WinForms. and 4. run the upgrade tool as referenced by KenBuja
... View more
03-11-2025
09:02 AM
|
0
|
2
|
2648
|
|
POST
|
Outlook 365 does not have the required drivers for ArcGIS Desktop (a.k.a., ArcMap) or ArcGIS Pro to direct to connect to a .mdb database. The Office 2016 drivers are required -this also enables Excel spreadsheets .xls and .xlsx. access. Since you have ArcMap and ArcGIS Pro I would install both the 32 bit and 64 bit drivers. These can also be found on the my.esri.com/downloads pages if you have a my.esri.com account with download permissions.
... View more
03-10-2025
02:09 PM
|
0
|
0
|
2905
|
|
POST
|
Two possible issues, (1) Personal geodatabases are not supported in ArcGIS Pro and (2) Access databases are depreciated. Ensure you have the Access Database Engine (64-bit) Office 2016 drivers loaded on your computer. see: Download Microsoft Access Database Engine 2016 Redistributable from Official Microsoft Download Center
... View more
03-10-2025
09:07 AM
|
0
|
2
|
2924
|
|
POST
|
Solution: As suggested I changed load autoLoad="true" in my Module in the config.daml. I moved my long running task into the OnToolActivateAsync event with wrapper code to ensure it only is run the 1st time the button/Tool is clicked on the Ribbon. I Activate the tool with FrameworkApplication.State.Activate in the initial class constructor and setup a new event handler to 'catch' all UI codes that are not caught explicitly within the application this (1) protects ArcGIS Pro itself from crashing and (2) allows me to do .Deactivate if the add-in has an unhandled error. In the modules class, defined in the config.daml as SRView4ProTool, I update the constructor as follows and configured the data handler. public SRView4ProTool() { if (getEnterpriseTableConnection() == null) //if this is null then this is the first time clicked on the add-in during the session, this could just be a public static int runCount but I'm using my data connection that was setup in OnToolActivateAsync { // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += new ThreadExceptionEventHandler(ErrorHandler_UIThreadException); // Set the unhandled exception mode to force all Windows Forms errors to go throughour handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); //set the state FrameworkApplication.State.Activate("srview_state"); } IsSketchTool = true; SketchType = SketchGeometryType.Point; SketchOutputMode = SketchOutputMode.Map; } I then add the event handler code private static void ErrorHandler_UIThreadException(object sendor, ThreadExceptionEventArgs t) { DialogResult result = DialogResult.Cancel; result = MessageBox.Show("Fatal Windows Form Error. Would you like to try to continue OR Cancel/Close the Add-In?", "Fatal Windows Forms Error", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop); // Exits the program when the user clicks Cancel. if (result == DialogResult.Cancel) { formResults.btnClose_Click(sendor, t); FrameworkApplication.State.Deactivate("srview_state"); } }
... View more
03-05-2025
04:19 PM
|
0
|
0
|
2894
|
|
POST
|
Just be aware that adding .Result causes the thread to wait until a Result is available to assign to strMsgs.
... View more
03-05-2025
10:53 AM
|
0
|
0
|
2063
|
|
POST
|
ArcGIS Pro has a built-in safeguard...if you mean crashing and sending an error report then I guess it does 🙂. What I was hoping to here is a recommendation on the best place to catch any errors thrown by QueuedTask.Run that were not waited upon. I'm updating a datagridview on windows form based on a Table.Search results after a mouse click (i.e., find points within 150 ft of the click mapPoint) then display results of the table in the datatable that has binding to the datagridview. It works without fail when run within Visual Studio in Debug mode; however, the table refresh fails after 3 to 5 uses in production.
... View more
03-05-2025
10:14 AM
|
0
|
0
|
1251
|
|
POST
|
Does ESRI have a recommended way to add error catching at the highest level of a custom add-in to prevent crash of the ArcGIS Pro application when there is an error such as described here?
... View more
03-05-2025
09:10 AM
|
0
|
2
|
1262
|
|
POST
|
In regards to your installation package, one way to get around some of the installer flags is to use Orca to edit the MSI directly. Most or all the flags you may set at the Command Line can be found in the Properties Table within your MSI (turns out an MSI is just a database file ;-). 1. If you are seeing many users with HKCU values within their registry it is because you have Per User installations. This is Bad since it causes the issues you describe and make managed deployments difficult. 2. We need a script to iterated through all users in HKEY_USERS and deleted HKEY_USERS\<unique user GUID Here>\Software\ESRI\ArcGISPro\Licensing. An example of is idea can be found at recursion - Registry - HKEY_USERS Recursively Delete Key (VBS) - Stack Overflow
... View more
03-05-2025
08:55 AM
|
0
|
0
|
4063
|
|
POST
|
HKEY Current User is stored in the users profile. If you looked in HKCU registry when different users are logged into the same computer you will see different registry settings. When you run an MSI install with ALL User = 1 the installation cannot, overwrite individual HKCU registry settings because it is running as the System account. By design, HKCU overrides HKEY_LOCAL_MACHINE.
... View more
03-05-2025
08:41 AM
|
0
|
1
|
4064
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | a month ago | |
| 2 | 4 weeks ago | |
| 1 | 10-01-2025 09:00 AM |
| Online Status |
Online
|
| Date Last Visited |
11 hours ago
|