This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import os | |
version = "10.9.1" | |
fileType = "msp" #tar for linux | |
url = "https://downloads.esri.com/patch_notification/patches.json" | |
headers = { | |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subject Programmatically start editing a non-versioned database | |
Author Berend Veldkamp | |
Date Sep 29, 2009 | |
Message When I call IEditor.StartEditing() on a non-versioned database, I get this error: "Run-time error '-2147220650 (80040356)'". I can prevent this by unchecking the option "Editor > Options > Versioning > Edit a version....". Is there a way to set that option programmatically, so that I can call IEditor.StartEditing() on such a database? | |
Sub startEdit() | |
Dim doc As IDocument | |
Set doc = ThisDocument |