Private Sub Command1_Click()
On Error Resume Next
Dim objApplication As SolidEdgeFramework.Application
Dim objSolidEdgeInsightXT As SolidEdgeFramework.SolidEdgeInsightXT
Set objApplication = GetObject(, "SolidEdge.Application")
Set objSolidEdgeInsightXT = objApplication.SolidEdgeInsightXT
Dim strxml As String
Dim strDefaultItemType As String
strxml = Nothing
strDefaultItemType = Nothing
Call objSolidEdgeInsightXT.GetItemTypesInfo(strxml, strDefaultItemType)
Set objSolidEdgeInsightXT = Nothing
Set objApplication = Nothing
End Sub