Create Login and Register Forms Using C++ and Visual Studio 2022 with SQL Server

  Рет қаралды 110,641

BoostMyTool

BoostMyTool

Күн бұрын

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

Пікірлер: 110
@davidegallo3879
@davidegallo3879 7 ай бұрын
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.
@Iamfoxbrown
@Iamfoxbrown 2 жыл бұрын
I had a problem with authentication but now its working 100%. Thk You. I´m waiting for more lessons about C++ Windows Form
@coollobsterr
@coollobsterr 2 жыл бұрын
very clean! thank you for this. hope you do more on C++ and QT6.
@user-tc2ir8gr4d
@user-tc2ir8gr4d Жыл бұрын
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.
@Sin1tsyn
@Sin1tsyn 2 жыл бұрын
Nice to meet this channel on youtube. Thank you a lot!!!
@elizaveta_kush
@elizaveta_kush 2 ай бұрын
Thank you for this amazing video! I hope this will help me start a course project.)
@AC-mw3tz
@AC-mw3tz 2 жыл бұрын
Many thanks for the tutorial. It helped me a lot. :)
@thanhat3153
@thanhat3153 2 жыл бұрын
perfect video. Thank you so much. Hope you have more video about C++ and visual studio product
@Bolbol2024
@Bolbol2024 4 ай бұрын
Thank you, this is a useful tutorial
@fivesauceftbananas8319
@fivesauceftbananas8319 2 жыл бұрын
tysm for this, and im really sorry, but how can i see all the user registered in the winforms, u know, like a gui
@karendavila4028
@karendavila4028 2 ай бұрын
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.
@pHaace
@pHaace 11 ай бұрын
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
@YulyaK-sy4cq
@YulyaK-sy4cq Жыл бұрын
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!
@sbsyr5555
@sbsyr5555 2 жыл бұрын
Excellent video.Thank you very much..
@SpringKerl
@SpringKerl Жыл бұрын
Hello thanks for the great video! I´m a beginner in the coding world. does this operator "^" have the same purpose as "&"??
@muhammadmujahidjabbi9420
@muhammadmujahidjabbi9420 Жыл бұрын
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.
@K1LL3RH1GT3CH
@K1LL3RH1GT3CH Жыл бұрын
Nice tutorial, thanks
@ombonyohendrix
@ombonyohendrix 2 жыл бұрын
Nice tutorial kindly make another one of a grading system
@junioradi6554
@junioradi6554 2 жыл бұрын
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
@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
@parvejkhan6757 Жыл бұрын
@@BoostMyTool can you help me actually server explorer is missing
@Valentine63rt
@Valentine63rt Жыл бұрын
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.
@user-yt5hw1sn8p
@user-yt5hw1sn8p 3 ай бұрын
why i still have error LNK1561 entry point must be defined ? how can I fix it?
@EzarGmng19
@EzarGmng19 13 күн бұрын
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 .
@Spookyatoms
@Spookyatoms 2 жыл бұрын
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
@sabadvali9322 Жыл бұрын
i have same problem too
@byt3shift
@byt3shift 2 жыл бұрын
can you explain how to let the register form check if the username already exists?
@demetrischristodoulou8487
@demetrischristodoulou8487 2 жыл бұрын
Very good tutorial! Can you also make one for mobile devices? Thank you.
@BoostMyTool
@BoostMyTool 2 жыл бұрын
I will try when I find some free time
@myth6628
@myth6628 Жыл бұрын
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.
@aarti263
@aarti263 2 жыл бұрын
Thank you sir 🙏
@fahedbatch5627
@fahedbatch5627 Жыл бұрын
Thank you 🥰
@Luix
@Luix Жыл бұрын
MyForm.cpp is epmty, is this ok? using visual studio community 2022
@bonelakanakaratnam6107
@bonelakanakaratnam6107 9 күн бұрын
When I click ok it's showing failed to connect to database. Can I get some help on this issue
@mundus7087
@mundus7087 4 ай бұрын
I have problem after logging in, when I log on application is closing and it doesn't go to dashboard. HELP!!!
@zedricedwardhernandez2161
@zedricedwardhernandez2161 Жыл бұрын
do I need to have sql installed first for it to not fail connection to the sql?
@user-gq6jb5kf3m
@user-gq6jb5kf3m 6 ай бұрын
what's that instance name that you put after local host?
@subhranildey3202
@subhranildey3202 Жыл бұрын
What if my query returns more than I tuple as result, how do I print them out?
@simp5290
@simp5290 Жыл бұрын
why i still have error when creating UI form after i restart visual studio?how can I fix it?
@rino19ny
@rino19ny Жыл бұрын
you lost us at 11:34 what did you typed there?
@jommjustonemoreminute6977
@jommjustonemoreminute6977 Жыл бұрын
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
@myth6628 Жыл бұрын
hi, when i entered the email and password corretly, the program closes. Do you have any idea?
@aibprince5298
@aibprince5298 Жыл бұрын
sir i get (sqlConnection )undefined error. i included a header (using namespace System::Data::SqlClient;)
@luyanda_siphiwe_mdletshe
@luyanda_siphiwe_mdletshe Ай бұрын
i have the problem , even if i enter the correct email and password, still get ERROR
@cliffordbodden8992
@cliffordbodden8992 2 жыл бұрын
How about the same video, but this time instead of using SQL use ACCESS
@tragianghathi8073
@tragianghathi8073 10 ай бұрын
thanks so much
@mariafernandez1338
@mariafernandez1338 Жыл бұрын
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
@parvejkhan6757 Жыл бұрын
Hi can you tell me how to get server explorer
@ronaldososajr.222
@ronaldososajr.222 11 ай бұрын
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
@singharsh0381 11 ай бұрын
Same problem
@Lounis_Sad
@Lounis_Sad 2 жыл бұрын
good work
@Revansid7
@Revansid7 Жыл бұрын
Sir, how to use libusb to c++ on visual studio?
@SaifullahLOPS
@SaifullahLOPS 9 ай бұрын
The Command is undefined in edithing the login form please help me
@evcheats
@evcheats 2 жыл бұрын
Hello, how do I MAKE a sql server? (Like a private one)
@fivesauceftbananas8319
@fivesauceftbananas8319 2 жыл бұрын
ty so much, how can i desactive an user?
@BoostMyTool
@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
@fivesauceftbananas8319 2 жыл бұрын
@@BoostMyTool tysm
@sabasajaia7616
@sabasajaia7616 5 ай бұрын
how to see what server is installed on my pc?
@Greyghost1
@Greyghost1 2 жыл бұрын
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
@BoostMyTool 2 жыл бұрын
it is the same process just replace microsoft with mysql
@Greyghost1
@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
@adriana7907
@adriana7907 Жыл бұрын
Can we do it using sqlite_orm? To somehow change the database .
@skykid1075
@skykid1075 4 ай бұрын
How to add search button please ?
@s.a.s3961
@s.a.s3961 2 жыл бұрын
Idk what i should write in server name ,plz help me
@user-jm9dc2wm2q
@user-jm9dc2wm2q 11 ай бұрын
i cant find the server explorer
@EnglishwithBaskar
@EnglishwithBaskar 2 жыл бұрын
Hi, Can we connect mysql Visual Studio version to Visual studio 2022 while programming with python
@BoostMyTool
@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: kzbin.info/www/bejne/l5C6Za2qatiFZ68 kzbin.info/www/bejne/g3PGZ4ujm9iaq8U
@EnglishwithBaskar
@EnglishwithBaskar 2 жыл бұрын
@@BoostMyTool Okay thank you so much for your response...
@kristianacearasula8673
@kristianacearasula8673 Жыл бұрын
Help my Green User at 15:34 is red wont turn green help how
@BryanChance
@BryanChance Жыл бұрын
What's the ^ and % symbols?
@aryeshsrivastava3728
@aryeshsrivastava3728 2 жыл бұрын
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
@julesnaceno8874 Жыл бұрын
hello sir I have the same problem let me know if you know something
@sabadvali9322
@sabadvali9322 Жыл бұрын
i have the same problem to…….
@Nathan-yj4ks
@Nathan-yj4ks Жыл бұрын
@@sabadvali9322 did you find why ?
@sabadvali9322
@sabadvali9322 Жыл бұрын
nah bro. try MySQL and connect from C language
@sabadvali9322
@sabadvali9322 Жыл бұрын
@@Nathan-yj4ks if you have some problems from C language text me
@marianecarandang8116
@marianecarandang8116 Жыл бұрын
how to fix when it says 'failed to connect to database' when i tried to login and register?
@ecruz99
@ecruz99 Жыл бұрын
type localhost
@rixanthehope9051
@rixanthehope9051 Жыл бұрын
@@ecruz99 type localhost where?
@user-tp7mm7mp7u
@user-tp7mm7mp7u 4 ай бұрын
Failed to connect to database
@PakistanYouth185
@PakistanYouth185 2 жыл бұрын
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
@rahmanquadri7128 2 жыл бұрын
i think i am getting the same error, it says failed to connect to database
@Iamfoxbrown
@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
@aryeshsrivastava3728 2 жыл бұрын
@@rahmanquadri7128 Were you able to solve that ?? I am facing the error right now .
@hughjanus5342
@hughjanus5342 2 жыл бұрын
I dont why but I cant register a new user...
@aryeshsrivastava3728
@aryeshsrivastava3728 2 жыл бұрын
Were you able to solve it ?? I am facing the error right now .
@fragmentsoflife7664
@fragmentsoflife7664 Жыл бұрын
how to fix "Failed to connect to database",please help
@Nathan-yj4ks
@Nathan-yj4ks Жыл бұрын
did you find ?
@hernandodonismael2862
@hernandodonismael2862 Жыл бұрын
MY SERVER NAME WAS ERROR HOW TO KNOW WHAT IS MY SERVER NAME?
@doglover82
@doglover82 2 жыл бұрын
Can I run on my physical device
@BoostMyTool
@BoostMyTool 2 жыл бұрын
I did not try, but it should be possible
@Iamfoxbrown
@Iamfoxbrown 2 жыл бұрын
Can you put the command to open RegisterForm case Login is OK? Please
@BoostMyTool
@BoostMyTool 2 жыл бұрын
what's wrong with RegisterForm ? it is OK
@Iamfoxbrown
@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
@BoostMyTool 2 жыл бұрын
@@Iamfoxbrown did you watch the last 3 minutes (from 37:02) ?
@Iamfoxbrown
@Iamfoxbrown 2 жыл бұрын
@@BoostMyTool switchToRegister. Ok. Thk you
@doglover82
@doglover82 2 жыл бұрын
Can I make apps with visual studio 2022
@junioradi6554
@junioradi6554 2 жыл бұрын
lol
@ichbindede5300
@ichbindede5300 Жыл бұрын
how to add logout
@akikoishida5922
@akikoishida5922 2 жыл бұрын
Who says you are not the best???
@chanseyha3749
@chanseyha3749 9 ай бұрын
How to download library for free?
@urbansnipertn
@urbansnipertn Жыл бұрын
Tounsi ?
@kenneththompson6710
@kenneththompson6710 2 жыл бұрын
😳 P r o m o S M!!
@rino19ny
@rino19ny Жыл бұрын
please don't make shortcuts! where are the codes you are pasting from?
@akikoishida5922
@akikoishida5922 2 жыл бұрын
Who says you are not the best???
@junioradi6554
@junioradi6554 2 жыл бұрын
Nobody can. He is the best !!!
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 22 МЛН
The delivery rescued them
00:52
Mamasoboliha
Рет қаралды 7 МЛН
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 15 МЛН
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 856 М.
SQL Index |¦| Indexes in SQL |¦| Database Index
9:57
Socratica
Рет қаралды 605 М.
CREATE and CONNECT DATABASES in ASP.NET
18:11
tutorialsEU - C#
Рет қаралды 43 М.
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 22 МЛН