Message 1 of 4
Inventor Add-in runs properly first time and need to exit and relaunch Inventor to run it again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have an add-in that works very well but after I close the form I cannot run the program again. I need to close Inventor and relaunch. Is there a method to stop or end the program?
here is the code that closes the form.
Private Sub BtnCancel_Click(sender As Object, e As EventArgs) Handles BtnCancel.Click
If BtnCancel.Text = "Close" Then
oForm.Dispose()
Process.Start("explorer.exe", PDFFolderName)
Else
oForm.Dispose()
End If
End Sub