C# WinForms CefSharp hromium
You need to correctly write the button-click function and enter data into the form in C# WinForms CefSharp
The use of MessageBox
Also show the variable for text and digital data, by type var temp1 = document.getElementById('test').value
And also, how to correctly use the cycle here is such a plan (this is on vb6):
elements8 = htmlWindow.Document.getElementsByTagName("INPUT").Length
Set element8 = htmlWindow.Document.getElementsByTagName("INPUT")
For I = elements8 - 1 to 0 Step -1
If element8(I).Type = "radio" And element8(I).Name = "test" Then
If InStr(var_brw_html, "meaning") Then - If the variable has a value, then...
end if
End if
Next I
Full Code in Investment
private void button1_Click(object sender, EventArgs e)
by {
MessageBox.Show(chromeBrowser.ExecuteScriptAsync("document.getElementById('login').value")); - here it doesn't work, how to correctly extract the content?chromeBrowser.ExecuteScriptAsync("document.forms(0).submit());"); - here you should click on the button but it doesn't work.The
Applications 1
-
138 5 0 Good night, I can help you, I know the C# and VB libraries, I will do it quickly and write in a personal message, let’s talk about what you have for the problem.
-
143 1 0 Welcome, I can help. I work, including, as a C# programming language teacher.
-
22 1 0 Good day . I can help with your problem.
You have a few errors due to which you may not work your program.
-
deleted by moderator
-
Current freelance projects in the category C#
Improvement in the existing version of 1C retail block for the distribution center (DC)In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail… C & C++, C# ∙ 4 days 1 hour back ∙ 6 proposals |
It is necessary to migrate the current working program from FoxPro to C#.Hello everyone! We have a program in FoxPro (it has several modules, it's an accounting program), we have the source code of the program, and if necessary, we can consult with people who support the current program. What needs to be done: 1. Analyze how everything works,… C#, Desktop Apps ∙ 6 days 16 hours back ∙ 18 proposals |
Junior C#We are looking for a talented and ambitious Junior C# developer who is eager for professional growth and new challenges. Your future tasks: - Development and support of backend solutions with frontend (Telegram bot); - Automation of routine processes in Android development,… C# ∙ 7 days 6 hours back ∙ 8 proposals |