Create Login and Register Forms Using C++ and Visual Studio 2022 with SQL Server
How to create Windows Forms using C++ and Visual Studio 2022. How to create login and register forms (winforms) using C++ and SQL Server. How to create database using Microsoft SQL Server and Visual Studio.
************************
Source code on Patreon : / create-login-and-87665393
Free Document Proofreading
Grammarly: grammarly.go2cloud.org/SH3YB
**********************
Video Content
(00:00) Create CLR Empty C++ Project
(02:02) Create Database Data
(06:00) Create Login Form
(15:29) Create Program.cpp File
(17:40) Create Dashboard Form
(22:01) Create Register Form
(34:57) Update Login Form
(37:02) Update Program.cpp File .
***********************************
🔥 Complete Udemy Courses :
Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2cloud.org/SH3YB
Пікірлер: 112
Thank you so much. This tutorial was amazing, I was searching for this type of videos for weeks. Thank you so much. Everything was crystal clear, you explained it in a very simple way... and again, thank you so much. I hope I can found more useful videos like this in your channel. Keep on coding my friend.
The best ever guide I could have ever seen on the internet, step by step with explanation, no useless shit. 9999/10. Will defo recommend this.
I had a problem with authentication but now its working 100%. Thk You. I´m waiting for more lessons about C++ Windows Form
very clean! thank you for this. hope you do more on C++ and QT6.
Nice to meet this channel on youtube. Thank you a lot!!!
Thank you for this amazing video! I hope this will help me start a course project.)
Many thanks for the tutorial. It helped me a lot. :)
Thank you so much for the tutorial. I would like to know if there is a way to see the message boxes (with errors) in the event viewer.
Hello thanks for the great video! I´m a beginner in the coding world. does this operator "^" have the same purpose as "&"??
perfect video. Thank you so much. Hope you have more video about C++ and visual studio product
tysm for this, and im really sorry, but how can i see all the user registered in the winforms, u know, like a gui
Completed this tutorial but not sure where to find videos to deepen the understanding and adding other stuff to the dashboard just yet, as a beginner learning C++ from JS
Thank you, this is a useful tutorial
Hello, I'm using this as a reference for a school proj. I've added an admin form and I want to run it if I login using the admin email/pass but don't know how. Any advice on how I should go about it? Thanks.
Hello, wonderful tutorial! Magnificent I must say. But I have a problem with adding/registering new user. Every aspect working fine. Excepting adding a new user in the register form, I'm also Using SQL Access. Could you please help, I'll appreciate, Thanks.
Do you think you could post a video on how to use SQL Server, C++, DataGridView, essentially, CRUD. If you don't mind and it'd be very appreciated!
Do we need to create a database in Azure to run this program? Because when I enter the e-mail and password correctly, the program closes.
Excellent video.Thank you very much..
do I need to have sql installed first for it to not fail connection to the sql?
can you explain how to let the register form check if the username already exists?
Nice tutorial kindly make another one of a grading system
why i still have error when creating UI form after i restart visual studio?how can I fix it?
What if my query returns more than I tuple as result, how do I print them out?
Nice tutorial, thanks
I have problem after logging in, when I log on application is closing and it doesn't go to dashboard. HELP!!!
what's that instance name that you put after local host?
why i still have error LNK1561 entry point must be defined ? how can I fix it?
MyForm.cpp is epmty, is this ok? using visual studio community 2022
Hello, how do I MAKE a sql server? (Like a private one)
sir i get (sqlConnection )undefined error. i included a header (using namespace System::Data::SqlClient;)
Can we do it using sqlite_orm? To somehow change the database .
I'm having trouble getting MySQL to connect to visual studio 2022, I've read that for some reason this is a common issue, Does this tutorial function with visual studio 2019? (It still connects to my database just fine), or do you have any tips for fixing connection errors with MySQL in VS 2022?
@sabadvali9322
Жыл бұрын
i have same problem too
Very clear and useful tutorial. You make me like Visual Studio which seems to be very simple compared to Qt. Hope you refactor the code with SOLID paradigm and best OOP concepts. Thank you very much !!!
@BoostMyTool
2 жыл бұрын
"refactor the code with SOLID paradigm and best OOP concepts" : probably you talk about switching between register and login forms. Unfortunately, I did not find another way. C++ and dotnet allow you to create only one window, but allow you to create multiple dialogs. If you close the main windows, the application will be stopped. That's why I used dialogs to show the login/register forms. If you have a better idea, please let me know and I will refactor the code
@parvejkhan6757
Жыл бұрын
@@BoostMyTool can you help me actually server explorer is missing
Idk what i should write in server name ,plz help me
The Command is undefined in edithing the login form please help me
Sir, how to use libusb to c++ on visual studio?
When I click ok it's showing failed to connect to database. Can I get some help on this issue
how to see what server is installed on my pc?
you lost us at 11:34 what did you typed there?
What's the ^ and % symbols?
How about the same video, but this time instead of using SQL use ACCESS
How to add search button please ?
i have the problem , even if i enter the correct email and password, still get ERROR
Thank you sir 🙏
Help my Green User at 15:34 is red wont turn green help how
Very good tutorial! Can you also make one for mobile devices? Thank you.
@BoostMyTool
2 жыл бұрын
I will try when I find some free time
Thank you 🥰
MY SERVER NAME WAS ERROR HOW TO KNOW WHAT IS MY SERVER NAME?
i cant find the server explorer
Do you have a video on how to download the SQL server? I keep getting an error when I try to download it and haven't been able to fix it ):
@parvejkhan6757
Жыл бұрын
Hi can you tell me how to get server explorer
Hey is there a way to show how to create the login and register using mysql rather than sql or would it be the same process just switch the microsoft with mysql, trying to create remote logins
@BoostMyTool
2 жыл бұрын
it is the same process just replace microsoft with mysql
@Greyghost1
2 жыл бұрын
@@BoostMyTool And does this work on applications like lets say I moved to another pc and had the exe. would this still be able to connect to the same database
good work
Hey, my form is running... But the problem is, when I press the login button it shows the "Failed to connect to Database"... What should I do????
@singharsh0381
Жыл бұрын
Same problem
thanks so much
Failed to connect to database
Good tutorial but I would point out you often paste pre-written code in but don't give us a full view of the whole snippet. If you are going to shortcut like that, at least pan across the whole text so we can pause the video and copy what you have pasted.
@myth6628
Жыл бұрын
hi, when i entered the email and password corretly, the program closes. Do you have any idea?
ty so much, how can i desactive an user?
@BoostMyTool
2 жыл бұрын
add a new column in your database table. You can call it active and you can give it values 1 or 0. then accept users if they have active=1
@fivesauceftbananas8319
2 жыл бұрын
@@BoostMyTool tysm
how to add logout
Hi, Can we connect mysql Visual Studio version to Visual studio 2022 while programming with python
@BoostMyTool
2 жыл бұрын
It is possible to connect visual studio to mysql (you can see the following links), but I don't know if it is possible to use visual studio with python or not: kzread.info/dash/bejne/k5OLltytZda4YbA.html kzread.info/dash/bejne/f3aXmLqmltbNpcY.html
@EnglishwithBaskar
2 жыл бұрын
@@BoostMyTool Okay thank you so much for your response...
i have some problems with navigating my Database.. i followed your video .. but somehow when i'm putting the correct email and password .. catch condition prompt .
@jameskekeli2093
8 күн бұрын
anyway on how to use fstream on cpp gui ???
How to download library for free?
Tounsi ?
SIR ,I WAS TRYING TO CONNECT BY TEST CONNECTION BUT IT WAS SHOWING ERROR PREVIOUSLY I WROTE "localhost\servername" AND THEN I FOUND SERVER NAME AFTER OPENING THE SQL SERVER AND THEN I WROTE "DESKTOP-0N05N9S"I.E ONLY SERVER NAME AND IT WAS SUCCESSFUL.
@rahmanquadri7128
2 жыл бұрын
i think i am getting the same error, it says failed to connect to database
@Iamfoxbrown
2 жыл бұрын
In reality "localhost" is the name of your computer: DESKTOP-0N05N9S. I had the same problem but I´d solved following the same parameters that you had declared.
@aryeshsrivastava3728
2 жыл бұрын
@@rahmanquadri7128 Were you able to solve that ?? I am facing the error right now .
how to fix when it says 'failed to connect to database' when i tried to login and register?
@ecruz99
Жыл бұрын
type localhost
@rixanthehope9051
Жыл бұрын
@@ecruz99 type localhost where?
Can I run on my physical device
@BoostMyTool
2 жыл бұрын
I did not try, but it should be possible
how to fix "Failed to connect to database",please help
@Nathan-yj4ks
Жыл бұрын
did you find ?
Can I make apps with visual studio 2022
@junioradi6554
2 жыл бұрын
lol
I dont why but I cant register a new user...
@aryeshsrivastava3728
2 жыл бұрын
Were you able to solve it ?? I am facing the error right now .
Can you put the command to open RegisterForm case Login is OK? Please
@BoostMyTool
2 жыл бұрын
what's wrong with RegisterForm ? it is OK
@Iamfoxbrown
2 жыл бұрын
@@BoostMyTool I can´t switch the forms. Example: this -> close() but how can i open another one? I just need the command. thks you
@BoostMyTool
2 жыл бұрын
@@Iamfoxbrown did you watch the last 3 minutes (from 37:02) ?
@Iamfoxbrown
2 жыл бұрын
@@BoostMyTool switchToRegister. Ok. Thk you
Who says you are not the best???
I am having trouble connecting SQL with Visual Studio. It's giving the error "Failed to connect to database". Would be really helpful if anyone could help me solve this out.
@julesnaceno8874
Жыл бұрын
hello sir I have the same problem let me know if you know something
@sabadvali9322
Жыл бұрын
i have the same problem to…….
@Nathan-yj4ks
Жыл бұрын
@@sabadvali9322 did you find why ?
@sabadvali9322
Жыл бұрын
nah bro. try MySQL and connect from C language
@sabadvali9322
Жыл бұрын
@@Nathan-yj4ks if you have some problems from C language text me
😳 P r o m o S M!!
please don't make shortcuts! where are the codes you are pasting from?
Who says you are not the best???
@junioradi6554
2 жыл бұрын
Nobody can. He is the best !!!