Set App = CreateObject("PCDLRN.Application") App.Visible = True App.SetActive Set Parts = App.PartPrograms Set Part = Parts.Open("C:Test.PRG", "CMM1") Part.EXECUTE [COLOR="#FF0000"]How can I tell if Cancel was selected from the Dialog Window ?[/COLOR] Part.Close App.Quit
Thanks