Here is my code
Dim provider = New Microsoft.VisualBasic.VBCodeProvider()
Dim parser = provider.CreateParser()
parser is always Nothing. I know the Method CreateParser is obsoleted. How to create a VB code parser?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The parsers were never implemented. In any of the language providers. And never will, the method has been removed in .NET 4.0
There are alternatives, good looking ones in the top hits when you type “vb parser” in the google search box.