I was trying to work with something that .paul. was telling me to try:
Which, .paul., you're correct. I just try to never use division with 0. Anyways, back to my topic, whenever I debug this, AVG says that my application is a Trojan. Take a look at this:
![Name: trojan.png
Views: 56
Size: 36.7 KB]()
I noticed that it's only with MsgBox and only whenever I try to display an integer. If I call:
Everything is ok. Any reason why this would trigger my AVG?
Code:
MsgBox(0 * 100 / 100) '0
MsgBox(1 * 100 / 0) 'NaN
I noticed that it's only with MsgBox and only whenever I try to display an integer. If I call:
Code:
MessageBox.Show(CStr(0 * 100 / 100))
'or
MsgBox("HelloWorld")