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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 120

  • @Iamfoxbrown
    @Iamfoxbrown 2 ปีที่แล้ว +4

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

  • @СветославАнгелов-э4б
    @СветославАнгелов-э4б ปีที่แล้ว +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 ปีที่แล้ว +3

    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.

  • @elizaveta_kush
    @elizaveta_kush 9 หลายเดือนก่อน +1

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

  • @coollobsterr
    @coollobsterr 2 ปีที่แล้ว +6

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

  • @Sin1tsyn
    @Sin1tsyn 2 ปีที่แล้ว

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

  • @karendavila4028
    @karendavila4028 9 หลายเดือนก่อน

    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.

  • @Bolbol2024
    @Bolbol2024 11 หลายเดือนก่อน

    Thank you, this is a useful tutorial

  • @fivesauceftbananas8319
    @fivesauceftbananas8319 2 ปีที่แล้ว +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

  • @thanhat3153
    @thanhat3153 2 ปีที่แล้ว

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

  • @AC-mw3tz
    @AC-mw3tz 2 ปีที่แล้ว +1

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

  • @YulyaK-sy4cq
    @YulyaK-sy4cq 2 ปีที่แล้ว +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!

  • @junioradi6554
    @junioradi6554 2 ปีที่แล้ว +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  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

  • @SpringKerl
    @SpringKerl 2 ปีที่แล้ว +1

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

  • @rino19ny
    @rino19ny 2 ปีที่แล้ว +1

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

  • @jommjustonemoreminute6977
    @jommjustonemoreminute6977 2 ปีที่แล้ว +1

    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 2 ปีที่แล้ว

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

  • @pHaace
    @pHaace ปีที่แล้ว +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

  • @lemonssj1093
    @lemonssj1093 หลายเดือนก่อน

    32:25 i've lost almost 1.5hour to find why it does not connect with database... Thx

  • @sbsyr5555
    @sbsyr5555 2 ปีที่แล้ว

    Excellent video.Thank you very much..

  • @Spookyatoms
    @Spookyatoms 2 ปีที่แล้ว +3

    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 2 ปีที่แล้ว +1

      i have same problem too

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

  • @K1LL3RH1GT3CH
    @K1LL3RH1GT3CH 2 ปีที่แล้ว

    Nice tutorial, thanks

  • @ombonyohendrix
    @ombonyohendrix 2 ปีที่แล้ว

    Nice tutorial kindly make another one of a grading system

  • @KoffiDump
    @KoffiDump ปีที่แล้ว

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

  • @muhammadmujahidjabbi9420
    @muhammadmujahidjabbi9420 2 ปีที่แล้ว +1

    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.

  • @Ayushi_baliyan001
    @Ayushi_baliyan001 2 หลายเดือนก่อน

    If ui option is not present what we do??

  • @kristianacearasula8673
    @kristianacearasula8673 2 ปีที่แล้ว

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

  • @cliffordbodden8992
    @cliffordbodden8992 2 ปีที่แล้ว +2

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

  • @bonelakanakaratnam6107
    @bonelakanakaratnam6107 7 หลายเดือนก่อน

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

  • @DavidDarwin-j3r
    @DavidDarwin-j3r 10 หลายเดือนก่อน

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

  • @Valentine63rt
    @Valentine63rt 2 ปีที่แล้ว

    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.

  • @mundus7087
    @mundus7087 11 หลายเดือนก่อน

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

  • @mariafernandez1338
    @mariafernandez1338 2 ปีที่แล้ว +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 ):

    • @parvejkhan6757
      @parvejkhan6757 ปีที่แล้ว

      Hi can you tell me how to get server explorer

  • @demetrischristodoulou8487
    @demetrischristodoulou8487 2 ปีที่แล้ว +1

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

    • @BoostMyTool
      @BoostMyTool  2 ปีที่แล้ว +1

      I will try when I find some free time

  • @ronaldososajr.222
    @ronaldososajr.222 ปีที่แล้ว +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????

  • @yaaasonii
    @yaaasonii 2 หลายเดือนก่อน

    Mine can't run, its missing an exe file

  • @Luix
    @Luix 2 ปีที่แล้ว

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

  • @sabasajaia7616
    @sabasajaia7616 ปีที่แล้ว

    how to see what server is installed on my pc?

  • @EliyaBujilima-hs9ei
    @EliyaBujilima-hs9ei 7 วันที่ผ่านมา

    What for Mac os

  • @skykid1075
    @skykid1075 11 หลายเดือนก่อน

    How to add search button please ?

  • @byt3shift
    @byt3shift 2 ปีที่แล้ว

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

  • @zedricedwardhernandez2161
    @zedricedwardhernandez2161 2 ปีที่แล้ว

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

  • @aryeshsrivastava3728
    @aryeshsrivastava3728 2 ปีที่แล้ว +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 2 ปีที่แล้ว +1

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

    • @sabadvali9322
      @sabadvali9322 2 ปีที่แล้ว

      i have the same problem to…….

    • @Nathan-yj4ks
      @Nathan-yj4ks 2 ปีที่แล้ว

      @@sabadvali9322 did you find why ?

    • @sabadvali9322
      @sabadvali9322 2 ปีที่แล้ว

      nah bro. try MySQL and connect from C language

    • @sabadvali9322
      @sabadvali9322 2 ปีที่แล้ว

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

  • @aarti263
    @aarti263 2 ปีที่แล้ว

    Thank you sir 🙏

  • @luyanda_siphiwe_mdletshe
    @luyanda_siphiwe_mdletshe 8 หลายเดือนก่อน

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

  • @خالدموسى-ت3ب
    @خالدموسى-ت3ب ปีที่แล้ว +1

    i cant find the server explorer

  • @Revansid7
    @Revansid7 ปีที่แล้ว

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

  • @subhranildey3202
    @subhranildey3202 ปีที่แล้ว

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

  • @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 ปีที่แล้ว +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

  • @SaifullahLOPS
    @SaifullahLOPS ปีที่แล้ว

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

  • @myth6628
    @myth6628 2 ปีที่แล้ว

    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.

  • @simp5290
    @simp5290 2 ปีที่แล้ว

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

  • @aibprince5298
    @aibprince5298 ปีที่แล้ว

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

  • @BryanChance
    @BryanChance ปีที่แล้ว

    What's the ^ and % symbols?

  • @EzarGmng19
    @EzarGmng19 7 หลายเดือนก่อน

    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
      @jameskekeli2093 6 หลายเดือนก่อน

      anyway on how to use fstream on cpp gui ???

  • @tragianghathi8073
    @tragianghathi8073 ปีที่แล้ว

    thanks so much

  • @s.a.s3961
    @s.a.s3961 2 ปีที่แล้ว

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

  • @d3viously
    @d3viously 2 ปีที่แล้ว

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

  • @Lounis_Sad
    @Lounis_Sad 2 ปีที่แล้ว

    good work

  • @adriana7907
    @adriana7907 2 ปีที่แล้ว

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

  • @EnglishwithBaskar
    @EnglishwithBaskar 2 ปีที่แล้ว

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

    • @BoostMyTool
      @BoostMyTool  2 ปีที่แล้ว +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:
      th-cam.com/video/a_W4zt5sR1M/w-d-xo.html
      th-cam.com/video/MBc6Xmfsguc/w-d-xo.html

    • @EnglishwithBaskar
      @EnglishwithBaskar 2 ปีที่แล้ว

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

  • @marianecarandang8116
    @marianecarandang8116 2 ปีที่แล้ว

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

    • @ecruz99
      @ecruz99 2 ปีที่แล้ว

      type localhost

    • @rixanthehope9051
      @rixanthehope9051 ปีที่แล้ว

      @@ecruz99 type localhost where?

  • @learnwithme6254
    @learnwithme6254 2 ปีที่แล้ว

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

  • @hughjanus5342
    @hughjanus5342 2 ปีที่แล้ว +1

    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 .

  • @doglover82
    @doglover82 2 ปีที่แล้ว

    Can I run on my physical device

    • @BoostMyTool
      @BoostMyTool  2 ปีที่แล้ว

      I did not try, but it should be possible

  • @fragmentsoflife7664
    @fragmentsoflife7664 2 ปีที่แล้ว

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

  • @ichbindede5300
    @ichbindede5300 ปีที่แล้ว

    how to add logout

  • @hernandodonismael2862
    @hernandodonismael2862 2 ปีที่แล้ว

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

  • @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 ปีที่แล้ว +1

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

    • @Iamfoxbrown
      @Iamfoxbrown 2 ปีที่แล้ว +1

      @@BoostMyTool switchToRegister. Ok. Thk you

  • @akikoishida5922
    @akikoishida5922 2 ปีที่แล้ว +1

    Who says you are not the best???

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

  • @mustafashf
    @mustafashf หลายเดือนก่อน

    14:13

  • @doglover82
    @doglover82 2 ปีที่แล้ว

    Can I make apps with visual studio 2022

  • @chanseyha3749
    @chanseyha3749 ปีที่แล้ว

    How to download library for free?

  • @firstgear11382
    @firstgear11382 2 ปีที่แล้ว

    Tounsi ?

  • @rino19ny
    @rino19ny 2 ปีที่แล้ว +2

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

  • @kenneththompson6710
    @kenneththompson6710 2 ปีที่แล้ว

    😳 P r o m o S M!!

  • @xxxvvd
    @xxxvvd 11 หลายเดือนก่อน +1

    Failed to connect to database

  • @fahedbatch5627
    @fahedbatch5627 2 ปีที่แล้ว

    Thank you 🥰

  • @akikoishida5922
    @akikoishida5922 2 ปีที่แล้ว

    Who says you are not the best???

    • @junioradi6554
      @junioradi6554 2 ปีที่แล้ว

      Nobody can. He is the best !!!