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

📄 vbdebughelper.bas

📁 COM编程接口处理方法 多个方法调用COM库函数
💻 BAS
字号:
Attribute VB_Name = "VBDebugHelper"
Option Explicit

Public Sub Main()
  On Error GoTo ReregError
  Dim pCCM As IComponentCategoryManager
  Set pCCM = New ComponentCategoryManager
  Dim pCCID As New UID
  Dim pCLSID As New UID

  ' Components for registration follow

  ' CoClass: SimplePoint.SimplePointWksFactoryHelper
  pCLSID.Value = "{1A8E7FA4-E7E5-11D5-8A7F-00104BB6FCCB}"
  pCCID.Value = "{6871A79C-CD65-46F5-A7BB-88F97D0E2CDC}"  ' ESRI PlugIn Workspace Factory Helpers
  pCCM.SetupObject "C:\arcgis\arcexe82\ArcObjects Developer Kit\Samples\Geodatabase\Plug-in Data Sources\SimplePoint\SimplePoint.dll", pCLSID, pCCID, True
  
  Shell "C:\arcgis\arcexe82\bin\ArcCatalog.exe"
  
  Exit Sub
ReregError:
  MsgBox "An error has occured during component re-registration"
  Err.Clear
End Sub



⌨️ 快捷键说明

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