Message 1 of 5
External rules not running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a message box with yes/no. If "yes" is chosen to run 1 rule, and if no, then run another. But they don't work. I have placed message boxes in to see if the code is recognizing it and it does. But it will not fire the external rules. I can manually click on the external rule and it will run, but not if I have called it to do so??
oInput = MessageBox.Show("Select another set?", "ilogic", MessageBoxButtons.YesNo) If oInput = vbYes Then MessageBox.Show("I HIT YES", "Title")' this will show up iLogicVb.RunExternalRule("EXTERNAL RULE 1")' will not run if yes is selected Else MessageBox.Show("NO WAS SELECTED", "Title")' this will show up iLogicVb.RunExternalRule("EXTERNAL RULE 2")' will not run if no is selected End If
Any ideas?
Autodesk Certified Professional