Message 1 of 3
Issues with programming functional YesNo message box - ilogic

Not applicable
11-11-2018
04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
i'm trying to program a message box that activates a second rule if "yes" i selected, and disregards the rule if "No" is selected. so far i have this, but no matter what button i press, it generates the PDF.. what exactly am i missing ?
SyntaxEditor Code Snippet
i = MessageBox.Show("Save current drawing as PDF?", "Save as", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) If vbYes Then iLogicVb.RunRule("auto pdf") If vbno End If