Delete Existing document from Data Management including all relevant attach files.
The following example demonstrates how to open the Data Management browser.
1. Open a new VB project (Standard EXE) in Visual Basic.
2. Add a command button and one Text Box to Form1.
3. Paste the following code into Form1:
Private Sub Command1_Click()
' Delete existing document from Data Managment
gSuite.DM.DeleteExistingDoc Text1.Text, suPart, suMillimeter
End Sub
4. Press the F5 key to run the project or on the Tools menu, click Run Project.