Hi @Gregory Vereschagin ,
Late binding is not allowed when Option Strict is on.If you need to perform late binding, the only options are either to use reflection or to shut off Option Strict.
An alternative solution is that you put most of your class in a file with Options Strict On, and then just put one method in a Partial Class in a separate file with Option Strict Off, then only that one method would be compiled loosely. The rest of the class would be compiled using the strict rules.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.