-
It's just 5 points, a little less, hehe
Let's talk about simulated login first, C development, the easiest and most direct way is to use the webbrowser control, step1] load the login page, analyze the page**, find the ID of the html control used by the username and password
Step 2] Reference MSHTML
Step 3] Fill in the data into the control.
Example: Email
htmlelement he = "email"];
value", "");
Login password password
he = "password"];
value", "wang00001");
Step 4] Inject a script into the page and submit the form.
About mouse simulation clicks: Look at this.
-
If you want to have a practical effect, you have to connect with the database, which is to use ADO technology, which is actually to write SQL statements in Visual. Of course, this is theoretical, and the following will judge whether the login is successful and give a few sentences**:
sqlcommand cmd = new sqlcommand("select * from user1 where username='" + "'and password='" + "'", sqlcon);;
object obj = ;
if (obj != null)
Login successful", "Prompt message");
Login failed", "Prompt message");
To be honest, this question is 5 points, which is really a little less ......
-
Eliminate old habits in one dry and two clean, five stresses and four beautiful trees and new winds, horizontal criticism: say goodbye to the old and welcome spring.
-
Simulates mouse clicks and mouse movements** I have.
-
Enumerating the window and sending a mouseclick message to the window is actually more complex than MFC.
-
With the hook function, this open source library is very good, and the hook mouse and keyboard are encapsulated.
-
Find the element of the hyperlink and add the onclick event.
-
Use FindWindow to find this messagebox and send a BM click message.
PS2 emulator does not support the following graphics cards, such as x800, r9800, etc., directx is the patch of the graphics card driver, copy all the contents of the compressed package to c: windows system32! >>>More
Wrote about this the other day, 6-1Simple calculator (20). >>>More
Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More
C17300 leaded beryllium copper alloy is a free-cutting beryllium copper alloy >>>More
1.Cancel the restore of the C drive (right-click on My Computer -> Properties -> System Restore -> select the C drive -> Close Restore). >>>More