23 October, 2021

[VB] How to create a Login System with the Visual Basic Form

hello all, with this trick, it's simple to log in on the website, right everyone?

Because there is also some simple code so that users can write a program to log in to some websites such as: Facebook, Youtube, Twitter ... etc.

But here you want that login separately on the application, if the login is correct, the program will be fated and vice versa, if it is wrong, there will be a message.

It's not too difficult, guys, you can also write a program to log in directly on Facebook, or Google. And must be customized to suit your wishes.

And this is a simple code I wrote to help users log in directly on the application without going through any social network.

First, create a new Table in your Database: https://pastebin.com/JmUj1kxH

Next, create a config.php file and add the following code : https://pastebin.com/R5cGCELp

then you create a login.php file to query access for the user with the following code : https://pastebin.com/4nzCyvzE

Next; Open up Visual Studio and create a Form with 2x Textbox, call one of them (Name) "login_username" and the other one "login_password" and 1x Button.

Double-Click on the button and paste this code: https://pastebin.com/8WhJt5ay

That's it with the above code, the rest you customize as the data according to the correct name on the program is completed. :D

Thank you everyone for your attention.
If people do not understand, you can comment or inbox HungZ.Me directly for support.

Source : https://www.unknowncheats.me/forum/vb-net/430019-create-login-system-visual-basic-form.html
All Right Reserved © 2015 By Hung Pro VN
Hung.Pro.VN Sharing Your Own Knowledge and Creative Thinking Every Day and Many Other Things.