⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 samples.bas

📁 MO+VB的很多个简单示例
💻 BAS
📖 第 1 页 / 共 3 页
字号:
     Case moSE_IOMGR_NO_DBMS_CONNECT:           ConnectErrorMsg = "The iomgr has lost its connection to the underlying DBMS."
     Case moSE_DUPLICATE_ARC:                   ConnectErrorMsg = "An arc (startpt,midpt,endpt) already exists"
     Case moSE_INVALID_ANNO_OBJECT:             ConnectErrorMsg = "SE_ANNO pointer not initialized."
     Case moSE_PT_NO_EXIST:                     ConnectErrorMsg = "Specified point does not exist in feat"
     Case moSE_PTS_NOT_ADJACENT:                ConnectErrorMsg = "Specified points must be adjacent"
     Case moSE_INVALID_MID_PT:                  ConnectErrorMsg = "Specified mid point is invalid"
     Case moSE_INVALID_END_PT:                  ConnectErrorMsg = "Specified end point is invalid"
     Case moSE_INVALID_RADIUS:                  ConnectErrorMsg = "Specified radius is invalid"
     Case moSE_LOAD_ONLY_LAYER:                 ConnectErrorMsg = "Map layer is load only mode, operation not allowed"
     Case moSE_LAYERS_NOT_FOUND:                ConnectErrorMsg = "Layers table does not exist."
     Case moSE_FILE_IO_ERROR:                   ConnectErrorMsg = "Error writing or creating an output text file."
     Case moSE_BLOB_SIZE_TOO_LARGE:             ConnectErrorMsg = "Maximum BLOB size exceeded."
     Case moSE_CORRIDOR_OUT_OF_BOUNDS:          ConnectErrorMsg = "Resulting corridor exceeds valid coordinate range"
     Case moSE_SHAPE_INTEGRITY_ERROR:           ConnectErrorMsg = "Model integrity error"
     Case moSE_NOT_IMPLEMENTED_YET:             ConnectErrorMsg = "Function or option is not really written yet."
     Case moSE_CAD_EXISTS:                      ConnectErrorMsg = "This shape has a cad."
     Case moSE_INVALID_TRANSID:                 ConnectErrorMsg = "Invalid internal SDE Transaction ID."
     Case moSE_INVALID_LAYER_NAME:              ConnectErrorMsg = "Map layer name must not be empty"
     Case moSE_INVALID_LAYER_KEYWORD:           ConnectErrorMsg = "Invalid Layer Configuration Keyword used."
     Case moSE_INVALID_RELEASE:                 ConnectErrorMsg = "Invalid Release/Version of SDE server."
     Case moSE_VERSION_TBL_EXISTS:              ConnectErrorMsg = "VERSION table exists."
     Case moSE_COLUMN_NOT_BOUND:                ConnectErrorMsg = "Column has not been bound"
     Case moSE_INVALID_INDICATOR_VALUE:         ConnectErrorMsg = "Indicator variable contains an invalid value"
     Case moSE_INVALID_CONNECTION:              ConnectErrorMsg = "The connection handle is NULL, closed or the wrong object."
     Case moSE_INVALID_DBA_PASSWORD:            ConnectErrorMsg = "The DBA password is not correct."
     Case moSE_PATH_NOT_FOUND:                  ConnectErrorMsg = "Coord path not found in shape edit op."
     Case moSE_SDEHOME_NOT_SET:                 ConnectErrorMsg = "No $SDEHOME variable set, and we need one."
     Case moSE_NOT_TABLE_OWNER:                 ConnectErrorMsg = "User must be table owner."
     Case moSE_PROCESS_NOT_FOUND:               ConnectErrorMsg = "The process ID specified does not correspond on an SDE server."
     Case moSE_INVALID_DBMS_LOGIN:              ConnectErrorMsg = "DBMS didn't accept user/password."
     Case moSE_PASSWORD_TIMEOUT:                ConnectErrorMsg = "Password received was sent > MAXTIMEDIFF seconds before."
     Case moSE_INVALID_SERVER:                  ConnectErrorMsg = "Server machine was not found"
     Case moSE_IOMGR_NOT_AVAILABLE:             ConnectErrorMsg = "IO Mgr task not started on server"
     Case moSE_SERVICE_NOT_FOUND:               ConnectErrorMsg = "No SDE entry in the /etc/services file"
     Case moSE_INVALID_STATS_TYPE:              ConnectErrorMsg = "Tried statisitics on non-numeric"
     Case moSE_INVALID_DISTINCT_TYPE:           ConnectErrorMsg = "Distinct stats on invalid type"
     Case moSE_INVALID_GRANT_REVOKE:            ConnectErrorMsg = "Invalid use of grant/revoke function"
     Case moSE_INVALID_SDEHOME:                 ConnectErrorMsg = "The supplied SDEHOME path is invalid or NULL."
     Case moSE_INVALID_STREAM:                  ConnectErrorMsg = "Stream does not exist"
     Case moSE_TOO_MANY_STREAMS:                ConnectErrorMsg = "Max number of streams exceeded"
     Case moSE_OUT_OF_MUTEXES:                  ConnectErrorMsg = "Exceeded system's max number of mutexs."
     Case moSE_CONNECTION_LOCKED:               ConnectErrorMsg = "This connection is locked to a different thread."
     Case moSE_CONNECTION_IN_USE:               ConnectErrorMsg = "This connection is being used at the moment by another thread."
     Case moSE_NOT_A_SELECT_STATEMENT:          ConnectErrorMsg = "The SQL statement was not a select"
     Case moSE_FUNCTION_SEQUENCE_ERROR:         ConnectErrorMsg = "Function called out of sequence"
     Case moSE_WRONG_COLUMN_TYPE:               ConnectErrorMsg = "Get request on wrong column type"
     Case moSE_PTABLE_LOCKED:                   ConnectErrorMsg = "This ptable is locked to a different thread."
     Case moSE_PTABLE_IN_USE:                   ConnectErrorMsg = "This ptable is being used at the moment by another thread."
     Case moSE_STABLE_LOCKED:                   ConnectErrorMsg = "This stable is locked to a different thread."
     Case moSE_STABLE_IN_USE:                   ConnectErrorMsg = "This stable is being used at the moment by another thread."
     Case moSE_INVALID_FILTER_TYPE:             ConnectErrorMsg = "Unrecognized spatial filter type."
     Case moSE_NO_CAD:                          ConnectErrorMsg = "The given shape has no CAD."
     Case moSE_INSTANCE_NOT_AVAILABLE:          ConnectErrorMsg = "No instance running on server."
     Case moSE_INSTANCE_TOO_EARLY:              ConnectErrorMsg = "Instance is a version previous to 2.0."
     Case moSE_INVALID_SYSTEM_UNITS:            ConnectErrorMsg = "Systems units < 1 or > 2147483647."
     Case moSE_INVALID_UNITS:                   ConnectErrorMsg = "FEET, METERS, DECIMAL_DEGREES or OTHER."
     Case moSE_INVALID_CAD_OBJECT:              ConnectErrorMsg = "SE_CAD pointer not initialized."
     Case moSE_INVALID_NUM_OF_PTS:              ConnectErrorMsg = "No longer issued"
     Case moSE_VERSION_NOEXIST:                 ConnectErrorMsg = "Version not found"
     Case moSE_INVALID_SPATIAL_CONSTRAINT:      ConnectErrorMsg = "Spatial filters invalid for search"
     Case moSE_INVALID_STREAM_TYPE:             ConnectErrorMsg = "Invalid operation for the given stream"
     Case moSE_INVALID_SPATIAL_COLUMN:          ConnectErrorMsg = "Column contains NOT NULL values during SE_layer_create()"
     Case moSE_NO_SPATIAL_MASKS:                ConnectErrorMsg = "No spatial masks available."
     Case moSE_IOMGR_NOT_FOUND:                 ConnectErrorMsg = "Iomgr program not found."
     Case moSE_SYSTEM_IS_CLIENT_ONLY:           ConnectErrorMsg = "Operation can not possibly be run on this system -- it needs a server."
     Case moSE_MULTIPLE_SPATIAL_COLS:           ConnectErrorMsg = "Only one spatial column allowed"
     Case moSE_INVALID_SHAPE_OBJECT:            ConnectErrorMsg = "The given shape object handle is invalid"
     Case moSE_INVALID_PARTNUM:                 ConnectErrorMsg = "The specified shape part number does not exist"
     Case moSE_INCOMPATIBLE_SHAPES:             ConnectErrorMsg = "The given shapes are of incompatible types"
     Case moSE_INVALID_PART_OFFSET:             ConnectErrorMsg = "The specified part offset is invalid"
     Case moSE_INCOMPATIBLE_COORDREFS:          ConnectErrorMsg = "The given coordinate references are incompatible"
     Case moSE_COORD_OUT_OF_BOUNDS:             ConnectErrorMsg = "The specified coordinate exceeds the valid coordinate range"
     Case moSE_LAYER_CACHE_FULL:                ConnectErrorMsg = "Max. Layers exceeded in cache"
     Case moSE_INVALID_COORDREF_OBJECT:         ConnectErrorMsg = "The given coordinate reference object handle is invalid"
     Case moSE_INVALID_COORDSYS_ID:             ConnectErrorMsg = "The coordinate system identifier is invalid"
     Case moSE_INVALID_COORDSYS_DESC:           ConnectErrorMsg = "The coordinate system description is invalid"
     Case moSE_INVALID_ROW_ID_LAYER:            ConnectErrorMsg = "SE_ROW_ID owner.table does not match the layer"
     Case moSE_PROJECTION_ERROR:                ConnectErrorMsg = "Error projecting shape points"
     Case moSE_ARRAY_BYTES_EXCEEDED:            ConnectErrorMsg = "Max array bytes exceeded"
     Case moSE_POLY_SHELLS_OVERLAP:             ConnectErrorMsg = "2 donuts or 2 outer shells overlap"
     Case moSE_TOO_FEW_POINTS:                  ConnectErrorMsg = "numofpts is less than required for feature"
     Case moSE_INVALID_PART_SEPARATOR:          ConnectErrorMsg = "part separator in the wrong position"
     Case moSE_INVALID_POLYGON_CLOSURE:         ConnectErrorMsg = "polygon does not close properly"
     Case moSE_INVALID_OUTER_SHELL:             ConnectErrorMsg = "A polygon outer shell does not completely enclose all donuts for the part"
     Case moSE_ZERO_AREA_POLYGON:               ConnectErrorMsg = "Polygon shell has no area"
     Case moSE_POLYGON_HAS_VERTICAL_LINE:       ConnectErrorMsg = "Polygon shell contains a vertical line"
     Case moSE_OUTER_SHELLS_OVERLAP:            ConnectErrorMsg = "Multipart area has overlapping parts"
     Case moSE_SELF_INTERSECTING:               ConnectErrorMsg = "Linestring or poly boundary is self-intersecting"
     Case moSE_INVALID_EXPORT_FILE:             ConnectErrorMsg = "Export file is invalid"
     Case moSE_READ_ONLY_SHAPE:                 ConnectErrorMsg = "Attempted to modify or free a read-only shape from an stable."
     Case moSE_INVALID_DATA_SOURCE:             ConnectErrorMsg = "Invalid data source"
     Case moSE_INVALID_STREAM_SPEC:             ConnectErrorMsg = "Stream Spec parameter exceeds giomgr default"
     Case moSE_INVALID_ALTER_OPERATION:         ConnectErrorMsg = "Tried to remove cad or anno"
     Case moSE_INVALID_SPATIAL_COL_NAME:        ConnectErrorMsg = "Spat col name same as table name"
     Case moSE_INVALID_DATABASE:                ConnectErrorMsg = "Invalid database name"
     Case moSE_SPATIAL_SQL_NOT_INSTALLED:       ConnectErrorMsg = "Spatial SQL extension not present in underlying DBMS"
     Case moSE_NORM_DIM_INFO_NOT_FOUND:         ConnectErrorMsg = "Dimention parameters for SDO DIM is not found in the dbtune file"
     Case moSE_NORM_DIM_TAB_VALUE_NOT_FOUND:    ConnectErrorMsg = "Dimention parameters in the M table is corrupted or missing."
     Case moSE_UNSUPPORTED_NORMALIZED_OPERATION: ConnectErrorMsg = "Current operation is not supported for NORMALIZED LAYERS."
     Case moSE_INVALID_REGISTERED_LAYER_OPTION: ConnectErrorMsg = "Invalid option: REGISTERED LAYERS do not allow this option."
     Case moSE_READ_ONLY:                       ConnectErrorMsg = "User has read only access to SE_ROW_ID"
     Case moSE_NO_SDE_ROWID_COLUMN:             ConnectErrorMsg = "The current table doesn't have a SDE-maintained rowid column."
     Case moSE_READ_ONLY_COLUMN:                ConnectErrorMsg = "Column is not user-modifiable"
     Case moSE_INVALID_VERSION_NAME:            ConnectErrorMsg = "Illegal or blank version name"
     Case moSE_STATE_NOEXIST:                   ConnectErrorMsg = "A specified state is not in the VERSION_STATES table."
     Case moSE_INVALID_STATEINFO_OBJECT:        ConnectErrorMsg = "STATEINFO object not initialized."
     Case moSE_VERSION_HAS_MOVED:               ConnectErrorMsg = "Attempted to change version state, but already changed."
     Case moSE_STATE_HAS_CHILDREN:              ConnectErrorMsg = "Tried to open a state which has children."
     Case moSE_PARENT_NOT_CLOSED:               ConnectErrorMsg = "To create a state, the parent state must be closed."
     Case moSE_VERSION_EXISTS:                  ConnectErrorMsg = "Version already exists."
     Case moSE_TABLE_NOT_MULTIVERSION:          ConnectErrorMsg = "Table must be multiversion for this operation."
     Case moSE_STATE_USED_BY_VERSION:           ConnectErrorMsg = "Can't delete state being used by a version."
     Case moSE_INVALID_VERSIONINFO_OBJECT:      ConnectErrorMsg = "VERSIONINFO object not initialized."
     Case moSE_INVALID_STATE_ID:                ConnectErrorMsg = "State ID out of range or not found."
     Case moSE_SDETRACELOC_NOT_SET:             ConnectErrorMsg = "Environment var SDETRACELOC not set to a value  "
     Case moSE_ERROR_LOADING_SSA:               ConnectErrorMsg = "Error loading the SSA "
     Case moSE_TOO_MANY_STATES:                 ConnectErrorMsg = "This operation has more states than can fit in SQL."
     Case moSE_STATES_ARE_SAME:                 ConnectErrorMsg = "Function takes 2 <> states, but same one was given twice."
     Case moSE_NO_ROWID_COLUMN:                 ConnectErrorMsg = "Table has no usable row ID column."
     Case moSE_NO_STATE_SET:                    ConnectErrorMsg = "Call needs state to be set."
     Case moSE_SSA_FUNCTION_ERROR:              ConnectErrorMsg = "Error executing SSA function"
     Case moSE_INVALID_REGINFO_OBJECT:          ConnectErrorMsg = "REGINFO object !initialized."
     Case moSE_NO_COMMON_LINEAGE:               ConnectErrorMsg = "Attempting to trim between states on diff. branches"
     Case moSE_STATE_INUSE:                     ConnectErrorMsg = "State is being modified."
     Case moSE_STATE_TREE_INUSE:                ConnectErrorMsg = "Try to lock tree, and some state in tree already locked."
     Case moSE_INVALID_RASTER_COLUMN:           ConnectErrorMsg = "Raster column has non-NULL values or used as row_id column"
     Case moSE_RASTERCOLUMN_EXISTS:             ConnectErrorMsg = "Raster column already exists"
     Case moSE_INVALID_MVTABLE_INDEX:           ConnectErrorMsg = "Unique indexes are not allowed on multiversion tables."
     Case moSE_INVALID_STORAGE_TYPE:            ConnectErrorMsg = "Invalid layer storage type."
     Case moSE_AMBIGUOUS_NIL_SHAPE:             ConnectErrorMsg = "No SQL type provided when  converting NIL shape to text"
     Case moSE_INVALID_BYTE_ORDER:              ConnectErrorMsg = "Invalid byte order for  Well-Known Binary shape"
     Case moSE_INVALID_GEOMETRY_TYPE:           ConnectErrorMsg = "Shape type in the given shape is not a valid geometry type"
     Case moSE_INVALID_NUM_MEASURES:            ConnectErrorMsg = "Number of measures in shape must be zero or equal to number of points"
     Case moSE_INVALID_NUM_PARTS:               ConnectErrorMsg = "Number of parts in shape is incorrect for its geometry type"
     Case moSE_BINARY_TOO_SMALL:                ConnectErrorMsg = "Memory allocated for ESRI binary shape is too small"
     Case moSE_SHAPE_TEXT_TOO_LONG:             ConnectErrorMsg = "Shape text exceeds the  supplied maximum string length"
     Case moSE_SHAPE_TEXT_ERROR:                ConnectErrorMsg = "Found syntax error in the  supplied shape text"
     Case moSE_TOO_MANY_PARTS:                  ConnectErrorMsg = "Number of parts in shape is more than expected for the given shape text"
     Case moSE_TYPE_MISMATCH:                   ConnectErrorMsg = "Shape's SQL type is not as expected when constructing shape from text"
     Case moSE_SQL_PARENTHESIS_MISMATCH:        ConnectErrorMsg = "Found parentheses mismatch  when parsing shape text"
     Case moSE_NIL_SHAPE_NOT_ALLOWED:           ConnectErrorMsg = "NIL shape is not allowed for Well-Known Binary represenation"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -