以程式設計方式檢查 SAP Business One 安裝
你可以使用以下程式碼檢查SAP Business One的安裝
Public Function isSapBusinesOneClientInstalled() As Boolean
Try
SAP Business One Application
Dim type As Type = Type.GetTypeFromCLSID(New Guid("632F4591-AA62-4219-8FB6-22BCF5F60088"))
Dim obj As Object = Activator.CreateInstance(type)
Marshal.ReleaseComObject(obj)
Return True
Catch ex As COMException
Return False
End Try
End Function
廣告
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP