Virtual Anomaly Virtual Anomaly - 1 year ago 132 Question

.NET - Is disabling IIf possible?

We have had a problem in our code with people using

where they should really be using

Is there a way I can override
to disable it, or make it obsolete by using the

Answer Source

You can remove the Microsoft.VisualBasic dll from the project references.

enter image description here

Then you can't use the VB6 functions.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download