3 Answers, 1 is accepted
Hello, Vern,
I would recommend you to have a look at the following knowledge base article demonstrating how to embed the Chrome browser in a WinForms application: https://www.telerik.com/support/kb/winforms/details/how-to-embed-chrome-browser-in-a-winforms-applicationI hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).
Thanks for your help;
I downloaded and compiled the code as you suggested , but get the following errors:
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorCS0246The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.cs13Active
ErrorCS0115'RadForm1.Dispose(bool)': no suitable method found to overrideWinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs14Active
ErrorCS1061'RadForm1' does not contain a definition for 'Controls' and no accessible extension method 'Controls' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.cs21Active
ErrorCS1061'RadForm1' does not contain a definition for 'SuspendLayout' and no accessible extension method 'SuspendLayout' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs32Active
ErrorCS1061'RadForm1' does not contain a definition for 'AutoScaleDimensions' and no accessible extension method 'AutoScaleDimensions' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs36Active
ErrorCS1061'RadForm1' does not contain a definition for 'AutoScaleMode' and no accessible extension method 'AutoScaleMode' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs37Active
ErrorCS1061'RadForm1' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs38Active
ErrorCS1061'RadForm1' does not contain a definition for 'Text' and no accessible extension method 'Text' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs39Active
ErrorCS1061'RadForm1' does not contain a definition for 'ResumeLayout' and no accessible extension method 'ResumeLayout' accepting a first argument of type 'RadForm1' could be found (are you missing a using directive or an assembly reference?)WinFormsChromiumC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromium\RadForm1.Designer.cs41Active
ErrorBC30002Type 'Telerik.WinControls.UI.RadForm' is not defined.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb3Active
ErrorBC30284sub 'Dispose' cannot be declared 'Overrides' because it does not override a sub in a base class.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb7Active
ErrorBC30456'SuspendLayout' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb26Active
ErrorBC30456'AutoScaleDimensions' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb30Active
ErrorBC30456'AutoScaleMode' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb31Active
ErrorBC30456'Name' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb32Active
ErrorBC30456'Text' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb33Active
ErrorBC30456'ResumeLayout' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.Designer.vb35Active
ErrorBC30456'Controls' is not a member of 'RadForm1'.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.vb16Active
WarningBC40056Namespace or type specified in the Imports 'Telerik.WinControls' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.WinFormsChromiumVBC:\Users\vmars\source\repos\CefWinformsTelerik\WinFormsChromium\WinFormsChromiumVB\RadForm1.vb3Active
WarningCould not resolve this reference. Could not locate the assembly "Telerik.WinControls, Version=2018.1.116.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.WinFormsChromiumVB
WarningThe referenced component 'Telerik.WinControls.UI' could not be found.WinFormsChromiumVB
WarningCould not resolve this reference. Could not locate the assembly "Telerik.WinControls.UI, Version=2018.1.116.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.WinFormsChromiumVB
WarningThe referenced component 'Telerik.WinControls' could not be found.WinFormsChromiumVB
WarningCould not resolve this reference. Could not locate the assembly "TelerikCommon, Version=2018.1.116.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.WinFormsChromiumVB
WarningThe referenced component 'TelerikCommon' could not be found.WinFormsChromiumVB
What's next ?
Since the Knowledge Base portal is public, we don't redistribute the Telerik assemblies with the sample projects. In order to run the project, it would be necessary to update the Telerik references with the installation that you have on your computer: https://docs.telerik.com/devtools/winforms/installation-and-upgrades/updating-assemblies-in-a-project
Should you have further questions please let me know.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.