I like using option strict, for the "discipline" it forces upon you. However there are a few cases, you just don't find any option strict compatible code. For example when you use WScript, I know no way but a CreateObject ... Is there a way to "disable" option strict on a few lines?
Asked
Active
Viewed 47 times
3
-
1Any chance you can show the code that forces you to turn of Option Strict? – Icepickle Jun 26 '17 at 13:25
-
https://stackoverflow.com/a/2890050/17034 – Hans Passant Jun 26 '17 at 13:57
-
To clarify - read the comment by Sehnsucht under the accepted answer – David Wilson Jun 26 '17 at 14:43
-
Thanks all. I made one module only for "non strict" code – Pierre Jul 18 '17 at 10:29