NSB.MsgBox and custom button strings

This is more of an FYI becasue I was going crazy!!! Something changed with how the NSB.MsgBox works in the last week or so. I am programming in VB not sure that matters. Two changes.

  1. I am using custom button strings and I had one with a space in the name. It worked as intended. No issue. I do see “no spaces or special characters are allowed.” Not sure if this is new or what but it did work a week ago. Now it does not.

  2. The “result” would be past as a string without issue. Now you need to use cstr() function to use the result as one would intend and in the NSB examples. Example
    R = cstr(result)
    If R = “YES” then
    'do this
    End If

I hope this saves hours of time for someone.

If you’ll send us a small app showing these issues, we’ll be happy to have a look!

So I could not reproduce in a small app. When I ran my app in browser without my new code, I get Uncaught TypeError: result is not a function.

So if I change the variable “result” to “VoteResult”, it works as it did a week ago. So I assume I have some conflict with the variable “result” with new code or in a Cordova I am now using but for the life of me I can not find it in my app.