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

📄 samples.bas

📁 MO+VB的很多个简单示例
💻 BAS
📖 第 1 页 / 共 3 页
字号:
     Case moSE_INSTANCE_ALREADY_RUNNING:        ConnectErrorMsg = "Tried to start already running SDE instance."
     Case moSE_UNSUPPORTED_OPERATION:           ConnectErrorMsg = "The operation requested is  unsupported."
     Case moSE_INVALID_EXTERNAL_LAYER_OPTION:   ConnectErrorMsg = "Invalid External layer option."
     Case moSE_NORMALIZE_VALUE_NOT_FOUND:       ConnectErrorMsg = "Normalized layer dimension  table value not found."
     Case moSE_INVALID_QUERY_TYPE:              ConnectErrorMsg = "Invalid query type."
     Case moSE_NO_TRACE_LIBRARY:                ConnectErrorMsg = "No trace functions in this library"
     Case moSE_TRACE_ON:                        ConnectErrorMsg = "Tried to enable tracing that was already on"
     Case moSE_TRACE_OFF:                       ConnectErrorMsg = "Tried to disable tracing that was already off"
     Case moSE_SCL_SYNTAX_ERROR:                ConnectErrorMsg = "SCL Compiler doesn't like the SCL stmt"
     Case moSE_TABLE_REGISTERED:                ConnectErrorMsg = "Table already registered."
     Case moSE_INVALID_REGISTRATION_ID:         ConnectErrorMsg = "Registration ID out of range"
     Case moSE_TABLE_NOREGISTERED:              ConnectErrorMsg = "Table not registered."
     Case moSE_TOO_MANY_REGISTRATIONS:          ConnectErrorMsg = "Exceeded max_registrations."
     Case moSE_DELETE_NOT_ALLOWED:              ConnectErrorMsg = "This object can not be deleted, other objects depend on it."
     Case moSE_ROWLOCKING_ENABLED:              ConnectErrorMsg = "Row locking enabled     "
     Case moSE_ROWLOCKING_NOT_ENABLED:          ConnectErrorMsg = "Row locking not enabled "
     Case moSE_RASTERCOLUMN_INUSE:              ConnectErrorMsg = "Specified raster column is used by another user"
     Case moSE_RASTERCOLUMN_NOEXIST:            ConnectErrorMsg = "The specified raster column  does not exist"
     Case moSE_INVALID_RASTERCOLUMN_NUMBER:     ConnectErrorMsg = "Raster column number  out of range"
     Case moSE_TOO_MANY_RASTERCOLUMNS:          ConnectErrorMsg = "Maximum raster column  number exceeded"
     Case moSE_INVALID_RASTER_NUMBER:           ConnectErrorMsg = "Raster number out of range"
     Case moSE_NO_REQUEST_STATUS:               ConnectErrorMsg = "cannot determine  request status"
     Case moSE_NO_REQUEST_RESULTS:              ConnectErrorMsg = "cannot open request results"
     Case moSE_RASTERBAND_EXISTS:               ConnectErrorMsg = "Raster band already exists"
     Case moSE_RASTERBAND_NOEXIST:              ConnectErrorMsg = "The specified raster band  does not exist"
     Case moSE_RASTER_EXISTS:                   ConnectErrorMsg = "Raster already exists"
     Case moSE_RASTER_NOEXIST:                  ConnectErrorMsg = "The specified raster  does not exist"
     Case moSE_TOO_MANY_RASTERBANDS:            ConnectErrorMsg = "Maximum raster band  number exceeded"
     Case moSE_TOO_MANY_RASTERS:                ConnectErrorMsg = "Maximum raster number  exceeded"
     Case moSE_VIEW_EXISTS:                     ConnectErrorMsg = "DBMS view exists"
     Case moSE_VIEW_NOEXIST:                    ConnectErrorMsg = "DBMS view does not exist"
     Case moSE_LOCK_EXISTS:                     ConnectErrorMsg = "Lock record exist"
     Case moSE_ROWLOCK_MASK_CONFLICT:           ConnectErrorMsg = "Rowlocking mask conflict"
     Case moSE_NOT_IN_RASTER:                   ConnectErrorMsg = "Raster band specified  not in a raster"
     Case moSE_INVALID_RASBANDINFO_OBJECT:      ConnectErrorMsg = "RASBANDINFO object not initialized"
     Case moSE_INVALID_RASCOLINFO_OBJECT:       ConnectErrorMsg = "RASCOLINFO object not initialized"
     Case moSE_INVALID_RASTERINFO_OBJECT:       ConnectErrorMsg = "RASTERINFO object  not initialized"
     Case moSE_INVALID_RASTERBAND_NUMBER:       ConnectErrorMsg = "Raster band number out of range"
     Case moSE_MULTIPLE_RASTER_COLS:            ConnectErrorMsg = "Only one raster column allowed"
     Case moSE_TABLE_SCHEMA_IS_LOCKED:          ConnectErrorMsg = "Table is being locked already"
     Case moSE_INVALID_LOGINFO_OBJECT:          ConnectErrorMsg = "SE_LOGINFO pointer not initialized."
     Case moSE_SQL_TOO_LONG:                    ConnectErrorMsg = "Operation generated a SQL statement too big to process"
     Case moSE_UNSUPPORTED_ON_VIEW:             ConnectErrorMsg = "Not supported on a View"
     Case moSE_LOG_EXISTS:                      ConnectErrorMsg = "Specified log file exists already."
     Case moSE_LOG_IS_OPEN:                     ConnectErrorMsg = "Specified log file is open."
     Case moSE_SPATIALREF_EXISTS:               ConnectErrorMsg = "Spatial reference entry exists."
     Case moSE_SPATIALREF_NOEXIST:              ConnectErrorMsg = "Spatial reference entry does not exist."
     Case moSE_SPATIALREF_IN_USE:               ConnectErrorMsg = "Spatial reference entry is in use by one or more layers."
     Case moSE_INVALID_SPATIALREFINFO_OBJECT:   ConnectErrorMsg = "The SE_SPATIALREFINFO object is not initialized."
     Case moSE_SEQUENCENBR_EXISTS:              ConnectErrorMsg = "Raster band sequence number  already exits."
     Case moSE_INVALID_QUERYINFO_OBJECT:        ConnectErrorMsg = "SE_QUERYINFO pointer not initialized."
     Case moSE_QUERYINFO_NOT_PREPARED:          ConnectErrorMsg = "SE_QUERYINFO pointer is not prepared for query."
     Case moSE_INVALID_RASTILEINFO_OBJECT:      ConnectErrorMsg = "RASTILEINFO object not  initialized"
     Case moSE_INVALID_RASCONSTRAINT_OBJECT:    ConnectErrorMsg = "SE_RASCONSTRAINT object not  initialized"
     Case moSE_INVALID_METADATA_RECORD_ID:      ConnectErrorMsg = "invalid record id number"
     Case moSE_INVALID_METADATA_OBJECT:         ConnectErrorMsg = "SE_METADATAINFO pointer not  initialized"
     Case moSE_INVALID_METADATA_OBJECT_TYPE:    ConnectErrorMsg = "unsupported object type"
     Case moSE_SDEMETADATA_NOT_FOUND:           ConnectErrorMsg = "SDEMETADATA table does not exist"
     Case moSE_METADATA_RECORD_NOEXIST:         ConnectErrorMsg = "Metadata record does not exist."
     Case moSE_GEOMETRYCOL_NOEXIST:             ConnectErrorMsg = "Geometry entry does not exist"
     Case moSE_INVALID_FILE_PATH:               ConnectErrorMsg = "File path too long or invalid"
     Case moSE_INVALID_LOCATOR_OBJECT_TYPE:     ConnectErrorMsg = "Locator object not initialized"
     Case moSE_INVALID_LOCATOR:                 ConnectErrorMsg = "Locator cannot be validated"
     Case moSE_TABLE_HAS_NO_LOCATOR:            ConnectErrorMsg = "Table has no associated locator"
     Case moSE_INVALID_LOCATOR_CATEGORY:        ConnectErrorMsg = "Locator cateogry is not specified"
     Case moSE_INVALID_LOCATOR_NAME:            ConnectErrorMsg = "Invalid locator name"
     Case moSE_LOCATOR_NOEXIST:                 ConnectErrorMsg = "Locator does not exist"
     Case moSE_LOCATOR_EXISTS:                  ConnectErrorMsg = "A locator with that name exists"
     Case moSE_INVALID_LOCATOR_TYPE:            ConnectErrorMsg = "Unsupported Locator type"
     Case moSE_NO_COORDREF:                     ConnectErrorMsg = "No coordref defined"
     Case moSE_CANT_TRIM_RECONCILED_STATE:      ConnectErrorMsg = "Can't trim past a reconciled state."
     Case moSE_FILE_OBJECT_NOEXIST:             ConnectErrorMsg = "Fileinfo object does not  exist."
     Case moSE_FILE_OBJECT_EXISTS:              ConnectErrorMsg = "Fileinfo object already  exists."
     Case moSE_INVALID_FILEINFO_OBJECT:         ConnectErrorMsg = "Fileinfo object not  initialized."
     Case moSE_INVALID_FILEINFO_OBJECT_TYPE:    ConnectErrorMsg = "Unsupported Fileinfo object  type."
     Case moSE_RASTERBAND_NO_STATS:             ConnectErrorMsg = "No statistics available for this raster band."
     Case moSE_VERSION_HAS_CHILDREN:            ConnectErrorMsg = "Can't delete a version with children."
     Case moSE_SQLTYPE_UNSUPPORTED_ETYPE:       ConnectErrorMsg = "SQL type does not support  ANNO or CAD at current release"
     Case moSE_NO_DBTUNE_FILE:                  ConnectErrorMsg = "The DBTUNE file is missing  or unreadable."
     Case moSE_LOG_SYSTABLES_CREATE_FAILED:     ConnectErrorMsg = "Logfile system tables do not exist."
     Case moSE_OBJECT_RESTRICTED:               ConnectErrorMsg = "This app can't perform this operation on this object."
     Case moSE_INVALID_GEOGTRAN_OBJECT:         ConnectErrorMsg = "The given geographic transformation object handle is invalid"
     Case moSE_COLUMN_EXISTS:                   ConnectErrorMsg = "Column already exists"
     Case moSE_SQL_KEYWORD:                     ConnectErrorMsg = "SQL keyword violation."
     Case moSE_INVALID_OBJECTLOCKINFO_OBJECT:   ConnectErrorMsg = "The supplied objectlock handle is bad."
     Case moSE_RASTERBUFFER_TOO_SMALL:          ConnectErrorMsg = "The raster buffer size  is too small."
     Case moSE_INVALID_RASTER_DATA:             ConnectErrorMsg = "Invalid raster data"
     Case moSE_OPERATION_NOT_ALLOWED:           ConnectErrorMsg = "This operation is not  allowed"
     Case moSE_INVALID_RASTERATTR_OBJECT:       ConnectErrorMsg = "SE_RASTERATTR object not  initialized"
     Case moSE_INVALID_VERSION_ID:              ConnectErrorMsg = "Version ID out of range."
     Case moSE_MVTABLE_CANT_BE_LOAD_ONLY:       ConnectErrorMsg = "Attempting to make an MV table load-only"
     Case moSE_INVALID_SDO_GEOM_METADATA_OBJ:   ConnectErrorMsg = "The user-supplied table/ column is invalid."
     Case moSE_ROW_OUT_OF_SEQUENCE:             ConnectErrorMsg = "The next row was not the row expected."
     Case moSE_INSTANCE_IS_READ_ONLY:           ConnectErrorMsg = "The ArcSDE instance is  read-only"
     Case moSE_MOSAIC_NOT_ALLOWED:              ConnectErrorMsg = "Image mosaicking is not allowed"
     Case moSE_INVALID_RASTER_BITMAP:           ConnectErrorMsg = "Invalid raster bitmap  object"
     Case moSE_SEQUENCENBR_NOEXIST:             ConnectErrorMsg = "The specified band sequence  number does not exist."
     Case moSE_SQLTYPE_INVALID_FEATURE_TYPE:    ConnectErrorMsg = "Invalid SQLTYPE feature type (i.e. Rect, Arc, Circle)"
     Case moSE_DBMS_OBJECTS_NOT_SUPPORTED:      ConnectErrorMsg = "DBMS Objects (Spatial, ADT's not supported"
     Case moSE_BINARY_CONV_NO_COLUMNS_FOUND:    ConnectErrorMsg = "No columns found for binary conversion (LOB/LONGRAW)"
     Case moSE_RASTERBAND_NO_COLORMAP:          ConnectErrorMsg = "The raster band has no colormap."
     Case moSE_INVALID_BIN_FUNCTION:            ConnectErrorMsg = "Invalid raster band bin  function."
     Case moSE_INVALID_RASTERBAND_STATS:        ConnectErrorMsg = "Invalid raster band statistics."
     Case moSE_INVALID_RASTERBAND_COLORMAP:     ConnectErrorMsg = "Invalid raster band  colormap"
     Case moSE_INVALID_RASTER_KEYWORD:          ConnectErrorMsg = "Invalid raster layer configuration keyword"
     Case moSE_INCOMPATIBLE_INSTANCE:           ConnectErrorMsg = "This sort of iomgr can't run on this sort of instance."
     Case moSE_INVALID_VOLUME_INFO:             ConnectErrorMsg = "Export file's volume info is invalid"
     Case moSE_INVALID_COMPRESSION_TYPE:        ConnectErrorMsg = "Invalid compression type"
     Case moSE_INVALID_INDEX_PARAM:             ConnectErrorMsg = "Invalid index parameter"
     Case moSE_INVALID_INDEX_TYPE:              ConnectErrorMsg = "Invalid index type"
     Case moSE_SET_VALUE_CONFLICT:              ConnectErrorMsg = "Try to set conflicting value  in object"
     Case moSE_ADT_DATATYPE_NOT_SUPPORTED:      ConnectErrorMsg = "Abstract Data types not supported"
     Case moSE_NO_SPATIAL_INDEX:                ConnectErrorMsg = "No spatial index"
     Case moSE_INVALID_IDENTIFIER:              ConnectErrorMsg = "Name not valid for DBMS"
     Case moSE_REGISTERED_TABLE_ROWID_EXIST:    ConnectErrorMsg = "ROWID for Oracle Spatial table already exists"
     Case moSE_SERVER_LIB_LOAD_ERROR:           ConnectErrorMsg = "gsrvr dll for direct connect could not be loaded."
     Case moSE_REGISTRATION_NOT_ALLOWED:        ConnectErrorMsg = "The table can not be registered."
     Case moSE_UNSUPPORTED_ON_MVTABLE:          ConnectErrorMsg = "Operation not supported on multiversion table."
     Case moSE_NO_ARCSDE_LICENSE:               ConnectErrorMsg = "No ArcSDE server license found."

     ' Non-fatal Warnings
     Case moSE_SDE_WARNING:                     ConnectErrorMsg = "Base number for warning codes"
     Case moSE_ETYPE_CHANGED:                   ConnectErrorMsg = "Function changed entity type of feat"
     Case moSE_AUTOCOMMITTED:                   ConnectErrorMsg = "This store/replace triggered an autocommit."
     Case moSE_NO_ROWS_DELETED:                 ConnectErrorMsg = "No rows were deleted."
     Case moSE_TOO_MANY_DISTINCTS:              ConnectErrorMsg = "Too many distinct values in stats"
     Case moSE_NULL_VALUE:                      ConnectErrorMsg = "Request column value is NULL"
     Case moSE_NO_ROWS_UPDATED:                 ConnectErrorMsg = "No rows were updated"
     Case moSE_NO_CPGCVT:                       ConnectErrorMsg = "No codepage conversion"
     Case moSE_NO_CPGHOME:                      ConnectErrorMsg = "Cannot find codepage directory"
     Case moSE_DBMS_DOES_NOT_SUPPORT:           ConnectErrorMsg = "DBMS does NOT support this function"
     Case moSE_INVALID_FUNCTION_ID:             ConnectErrorMsg = "Invalid DBMS function id"
     Case moSE_LAYERS_UPDATE_FAILED:            ConnectErrorMsg = "Update layer extent failed"
     Case moSE_NO_LOCALIZED_MESSAGE:            ConnectErrorMsg = "No localized error messages"
     Case moSE_SPATIAL_INDEX_NOT_CREATED:       ConnectErrorMsg = "Spatial index not created, server inability to support SPIDX_PARAM specified"
     
     Case Else:                                 ConnectErrorMsg = "Unrecognized error"
  End Select
End Function

⌨️ 快捷键说明

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