Returns the measurement routine’s file name.
Visual Basic |
---|
Public Property Name As String |
Read only String value.
If the file name of the measurement routine is C:\PCDMISW\PARTS\1.PRG, the Name returns "1.PRG".
Sub Main (strText As String)
App As ObjectDim
Set
App = CreateObject ("PCDLRN.Application")Dim
Part As ObjectSet
Part = App.ActivePartProgramMsgBox Part.Name
End
Sub