c# - How to use AxWebBrowser in console application -


I want to use AxWebBrowser on the console application, but it gives me the following exception:

The type 'System.Windows.Forms.AxHost + InvalidActiveXStateException' was thrown.

Please help me use AxWebBrowser for any of the sample code # console applications c # without any exeption ...

Your console application is no longer separate from a Windows Forms application. By launching a new project with the Windows Forms Application Project template, it is really easy to fix everything by starting project + properties, output type = console applications. Edit the app. Call Run () Program.cs, so it is not making a form. It will not deal with the application. Run () Any easy, timer to run the code.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -