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

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 113

  • @Iamfoxbrown
    @Iamfoxbrown Před 2 lety +2

    I had a problem with authentication but now its working 100%. Thk You. I´m waiting for more lessons about C++ Windows Form

  • @user-tc2ir8gr4d
    @user-tc2ir8gr4d Před rokem +1

    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.

  • @davidegallo3879
    @davidegallo3879 Před 10 měsíci +2

    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.

  • @coollobsterr
    @coollobsterr Před 2 lety +6

    very clean! thank you for this. hope you do more on C++ and QT6.

  • @pHaace
    @pHaace Před rokem +2

    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

  • @fivesauceftbananas8319
    @fivesauceftbananas8319 Před 2 lety +1

    tysm for this, and im really sorry, but how can i see all the user registered in the winforms, u know, like a gui

  • @elizaveta_kush
    @elizaveta_kush Před 5 měsíci +1

    Thank you for this amazing video! I hope this will help me start a course project.)

  • @Sin1tsyn
    @Sin1tsyn Před 2 lety

    Nice to meet this channel on youtube. Thank you a lot!!!

  • @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 Před rokem

      hi, when i entered the email and password corretly, the program closes. Do you have any idea?

  • @karendavila4028
    @karendavila4028 Před 5 měsíci

    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.

  • @YulyaK-sy4cq
    @YulyaK-sy4cq Před rokem +1

    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!

  • @thanhat3153
    @thanhat3153 Před 2 lety

    perfect video. Thank you so much. Hope you have more video about C++ and visual studio product

  • @AC-mw3tz
    @AC-mw3tz Před 2 lety +1

    Many thanks for the tutorial. It helped me a lot. :)

  • @Bolbol2024
    @Bolbol2024 Před 7 měsíci

    Thank you, this is a useful tutorial

  • @junioradi6554
    @junioradi6554 Před 2 lety +4

    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  Před 2 lety

      "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 Před rokem

      @@BoostMyTool can you help me actually server explorer is missing

  • @bonelakanakaratnam6107
    @bonelakanakaratnam6107 Před 3 měsíci

    When I click ok it's showing failed to connect to database.
    Can I get some help on this issue

  • @ronaldososajr.222
    @ronaldososajr.222 Před rokem +1

    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????

  • @user-yt5hw1sn8p
    @user-yt5hw1sn8p Před 6 měsíci

    why i still have error LNK1561 entry point must be defined ? how can I fix it?

  • @Spookyatoms
    @Spookyatoms Před 2 lety +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?

  • @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.

  • @cliffordbodden8992
    @cliffordbodden8992 Před 2 lety +2

    How about the same video, but this time instead of using SQL use ACCESS

  • @mundus7087
    @mundus7087 Před 7 měsíci

    I have problem after logging in, when I log on application is closing and it doesn't go to dashboard. HELP!!!

  • @SpringKerl
    @SpringKerl Před 2 lety +1

    Hello thanks for the great video! I´m a beginner in the coding world. does this operator "^" have the same purpose as "&"??

  • @aryeshsrivastava3728
    @aryeshsrivastava3728 Před 2 lety +5

    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 Před rokem +1

      hello sir I have the same problem let me know if you know something

    • @sabadvali9322
      @sabadvali9322 Před rokem

      i have the same problem to…….

    • @Nathan-yj4ks
      @Nathan-yj4ks Před rokem

      @@sabadvali9322 did you find why ?

    • @sabadvali9322
      @sabadvali9322 Před rokem

      nah bro. try MySQL and connect from C language

    • @sabadvali9322
      @sabadvali9322 Před rokem

      @@Nathan-yj4ks if you have some problems from C language text me

  • @mariafernandez1338
    @mariafernandez1338 Před 2 lety +1

    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 ):

  • @ombonyohendrix
    @ombonyohendrix Před 2 lety

    Nice tutorial kindly make another one of a grading system

  • @rino19ny
    @rino19ny Před 2 lety +1

    you lost us at 11:34 what did you typed there?

  • @sbsyr5555
    @sbsyr5555 Před 2 lety

    Excellent video.Thank you very much..

  • @Valentine63rt
    @Valentine63rt Před rokem

    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.

  • @EzarGmng19
    @EzarGmng19 Před 3 měsíci

    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 .

  • @luyanda_siphiwe_mdletshe
    @luyanda_siphiwe_mdletshe Před 4 měsíci

    i have the problem , even if i enter the correct email and password, still get ERROR

  • @byt3shift
    @byt3shift Před 2 lety

    can you explain how to let the register form check if the username already exists?

  • @myth6628
    @myth6628 Před rokem

    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.

  • @subhranildey3202
    @subhranildey3202 Před rokem

    What if my query returns more than I tuple as result, how do I print them out?

  • @simp5290
    @simp5290 Před rokem

    why i still have error when creating UI form after i restart visual studio?how can I fix it?

  • @demetrischristodoulou8487

    Very good tutorial! Can you also make one for mobile devices? Thank you.

    • @BoostMyTool
      @BoostMyTool  Před 2 lety +1

      I will try when I find some free time

  • @aibprince5298
    @aibprince5298 Před rokem

    sir i get (sqlConnection )undefined error. i included a header (using namespace System::Data::SqlClient;)

  • @fivesauceftbananas8319

    ty so much, how can i desactive an user?

    • @BoostMyTool
      @BoostMyTool  Před 2 lety

      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 Před 2 lety

      @@BoostMyTool tysm

  • @Luix
    @Luix Před rokem

    MyForm.cpp is epmty, is this ok? using visual studio community 2022

  • @K1LL3RH1GT3CH
    @K1LL3RH1GT3CH Před rokem

    Nice tutorial, thanks

  • @user-jm9dc2wm2q
    @user-jm9dc2wm2q Před rokem +1

    i cant find the server explorer

  • @zedricedwardhernandez2161

    do I need to have sql installed first for it to not fail connection to the sql?

  • @Revansid7
    @Revansid7 Před rokem

    Sir, how to use libusb to c++ on visual studio?

  • @skykid1075
    @skykid1075 Před 7 měsíci

    How to add search button please ?

  • @sabasajaia7616
    @sabasajaia7616 Před 8 měsíci

    how to see what server is installed on my pc?

  • @user-gq6jb5kf3m
    @user-gq6jb5kf3m Před 9 měsíci

    what's that instance name that you put after local host?

  • @SaifullahLOPS
    @SaifullahLOPS Před rokem

    The Command is undefined in edithing the login form please help me

  • @d3viously
    @d3viously Před 2 lety

    Hello, how do I MAKE a sql server?
    (Like a private one)

  • @s.a.s3961
    @s.a.s3961 Před 2 lety

    Idk what i should write in server name ,plz help me

  • @kristianacearasula8673

    Help my Green User at 15:34 is red wont turn green help how

  • @Greyghost1
    @Greyghost1 Před 2 lety

    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  Před 2 lety

      it is the same process just replace microsoft with mysql

    • @Greyghost1
      @Greyghost1 Před 2 lety +1

      @@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 Před rokem

    Can we do it using sqlite_orm? To somehow change the database .

  • @learnwithme6254
    @learnwithme6254 Před 2 lety

    my database is not connecting even i have tried server name "DESKTOP-ICON1709S"

  • @aarti263
    @aarti263 Před 2 lety

    Thank you sir 🙏

  • @BryanChance
    @BryanChance Před rokem

    What's the ^ and % symbols?

  • @EnglishwithBaskar
    @EnglishwithBaskar Před 2 lety

    Hi, Can we connect mysql Visual Studio version to Visual studio 2022 while programming with python

    • @BoostMyTool
      @BoostMyTool  Před 2 lety +1

      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:
      czcams.com/video/a_W4zt5sR1M/video.html
      czcams.com/video/MBc6Xmfsguc/video.html

    • @EnglishwithBaskar
      @EnglishwithBaskar Před 2 lety

      @@BoostMyTool Okay thank you so much for your response...

  • @marianecarandang8116
    @marianecarandang8116 Před 2 lety

    how to fix when it says 'failed to connect to database' when i tried to login and register?

  • @user-tp7mm7mp7u
    @user-tp7mm7mp7u Před 7 měsíci

    Failed to connect to database

  • @tragianghathi8073
    @tragianghathi8073 Před rokem

    thanks so much

  • @hughjanus5342
    @hughjanus5342 Před 2 lety +1

    I dont why but I cant register a new user...

  • @PakistanYouth185
    @PakistanYouth185 Před 2 lety

    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 Před 2 lety

      i think i am getting the same error, it says failed to connect to database

    • @Iamfoxbrown
      @Iamfoxbrown Před 2 lety

      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 Před 2 lety

      @@rahmanquadri7128 Were you able to solve that ?? I am facing the error right now .

  • @hernandodonismael2862
    @hernandodonismael2862 Před 2 lety

    MY SERVER NAME WAS ERROR HOW TO KNOW WHAT IS MY SERVER NAME?

  • @fragmentsoflife7664
    @fragmentsoflife7664 Před 2 lety

    how to fix "Failed to connect to database",please help

  • @akikoishida5922
    @akikoishida5922 Před 2 lety +1

    Who says you are not the best???

  • @Lounis_Sad
    @Lounis_Sad Před 2 lety

    good work

  • @Iamfoxbrown
    @Iamfoxbrown Před 2 lety

    Can you put the command to open RegisterForm case Login is OK? Please

    • @BoostMyTool
      @BoostMyTool  Před 2 lety

      what's wrong with RegisterForm ? it is OK

    • @Iamfoxbrown
      @Iamfoxbrown Před 2 lety

      @@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  Před 2 lety +1

      @@Iamfoxbrown did you watch the last 3 minutes (from 37:02) ?

    • @Iamfoxbrown
      @Iamfoxbrown Před 2 lety +1

      @@BoostMyTool switchToRegister. Ok. Thk you

  • @ichbindede5300
    @ichbindede5300 Před rokem

    how to add logout

  • @chanseyha3749
    @chanseyha3749 Před rokem

    How to download library for free?

  • @doglover82
    @doglover82 Před 2 lety

    Can I run on my physical device

    • @BoostMyTool
      @BoostMyTool  Před 2 lety

      I did not try, but it should be possible

  • @doglover82
    @doglover82 Před 2 lety

    Can I make apps with visual studio 2022

  • @firstgear11382
    @firstgear11382 Před 2 lety

    Tounsi ?

  • @rino19ny
    @rino19ny Před 2 lety +2

    please don't make shortcuts! where are the codes you are pasting from?

  • @kenneththompson6710
    @kenneththompson6710 Před 2 lety

    😳 P r o m o S M!!

  • @fahedbatch5627
    @fahedbatch5627 Před 2 lety

    Thank you 🥰

  • @akikoishida5922
    @akikoishida5922 Před 2 lety

    Who says you are not the best???