Create Login Form Using C++ and Visual Studio 2022 with SQL Server Database

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 48

  • @cac2244
    @cac2244 2 года назад +7

    I am new to C++ and VS, so this video is immensely helpful...Thanks!

  • @motasam8122
    @motasam8122 Год назад +2

    This man is very clear

  • @cyberarmy7478
    @cyberarmy7478 Год назад +1

    youre tutorial really help me a lot

  • @declcm
    @declcm Год назад

    Thanks man, you are a great man! Super video and help me to learn C++....

  • @myth6628
    @myth6628 2 года назад

    Hi everyone, You can try this if you encounter the same issue as me. = LNK2001 unresolved external symbol Main, add this to the cpp file of your ui form and try that.
    using namespace System;
    using namespace System::Windows::Forms;
    [STAThreadAttribute]
    void Main(array^ args)
    {
    Application::EnableVisualStyles();
    Application::SetCompatibleTextRenderingDefault(false);
    ProjectName::FormName form;
    Application::Run(% form);
    }
    then save and restart visual studio or close and reopen the form.
    I hope this works. It worked for me.

  • @Anonymous91124
    @Anonymous91124 7 месяцев назад

    SO GOOD THANKS ALOT

  • @n1mi-
    @n1mi- Год назад

    Thanks, Man

  • @SlickNickTexas
    @SlickNickTexas 11 месяцев назад

    Overall, great video but you should really think about displaying the entire code, this made it extremely follow along and took a lot longer. Me being a new coder, looking to use practical application as way of learning, really struggled.

  • @Pharadeon
    @Pharadeon 2 года назад +1

    Hey, how do I connect to a MySQL server that is not located on my local machine? I need to connect to a MySQL server located on an ubuntu server. Please help, you do great tutorials.

  • @fivesauceftbananas8319
    @fivesauceftbananas8319 2 года назад

    thank u, how can i see the list of users or the ppl?

  • @R45tv
    @R45tv 8 месяцев назад +1

    Sir . I copied your code in ms visual studio but it all process run but when i enter data (any) it print only "failed to connect database" ...
    Plz guiede ...

    • @prox4983
      @prox4983 5 месяцев назад

      If you are using SQL Server it might be for the connString, try to only copy the path until "Integrated Security=True;", that worked for me

  • @sanikamisal7571
    @sanikamisal7571 7 месяцев назад

    I have error at loginform 'system.windows.forms.form' could not loaded please help

  • @hasanmougharbel8030
    @hasanmougharbel8030 2 года назад

    Hey there,
    Kudos to your great efforts.
    I have a general enquiry as i am a totally sql noob.
    I want to design a form that would be connected to a database server.
    Where shall this form template be designed? Visual studio, sql management studio..
    Is their any form builder tool that you would recommend me to use..
    Thanks a lot..

  • @myth6628
    @myth6628 2 года назад

    When i press the OK button, the program terminates. Even though i did everything right. What should i do?

  • @ahmedhany6413
    @ahmedhany6413 2 года назад +1

    bro. why does you use this symbol ^ after the data type ???
    also in the main (array^ args) ...what is the meaning of this symbol ??

    • @BoostMyTool
      @BoostMyTool  2 года назад +1

      in standard c++, you create a pointer like this: Person *p1
      in dotnet c++, we have managed types in addition to standard c++ types. we create a pointer to a managed type using ^: Person ^p1
      So if you want to create a pointer to a standard C++ type, you use *. But if you want to create a pointer to a managed C++ type, you use ^ instead.

    • @ahmedhany6413
      @ahmedhany6413 2 года назад

      @@BoostMyTool thank you bro

  • @SpringKerl
    @SpringKerl 2 года назад +1

    Hello, I installed MySQL Server 8.0 I followed all of us steps but I can not create a new Data bank, i can not find the local and instance name. I tried services.msc but i get"SQL Server VSS Writter" without ( ), I really don´t know, can U please help me? I´m like stucked

    • @BoostMyTool
      @BoostMyTool  2 года назад

      Hello, in this video I used Microsoft SQL Server (not MySQL). You can install SQL Server express. The example of this video does not work with MySQL

  • @tonnab1
    @tonnab1 2 года назад

    Thank you for sharing. Can I convert my existing website using html, css & Javascript into Create CLREmpty c++ project?

  • @Vlingn
    @Vlingn 11 месяцев назад

    I followed the video exactly but after running it I got the message: ''Unable to start program 'C:\User\TCP\source
    epos\Project1\x64\Debug\Project1.exe'
    The system cannot find the file specified''
    Please guide me!!!

  • @corneliogabrielson6528
    @corneliogabrielson6528 2 года назад

    good job....

  • @Xlorate
    @Xlorate Год назад

    All the items in my toolbox are greyed out

  • @yumiyonashi8518
    @yumiyonashi8518 9 месяцев назад

    Thank you

  • @AmmarWaleed22
    @AmmarWaleed22 4 месяца назад

    Done Alham Dulli Allah

  • @quangvu2171
    @quangvu2171 Год назад

    I get the error "Internal compiler error C1001." can anyone tell me how to fix it, thanks

  • @richeedmonds2505
    @richeedmonds2505 2 года назад

    Thanks for sharing a useful video. And I have a question.
    When I add a MessageBox::Show() then I got an error "no instance of overloaded function System::Windows::Forms::MessageBox::Show" matches the argument list.

    • @BoostMyTool
      @BoostMyTool  2 года назад

      This means you did not provide the required parameters to MessageBox::Show() - either you have a missing parameter or an extra parameter or you provided different parameters than those required.

    • @richeedmonds2505
      @richeedmonds2505 2 года назад

      @@BoostMyTool Yeah! I found it. I missed the Caption para.
      Thanks a lot

  • @krzys7007
    @krzys7007 2 года назад +1

    Hey, so I encountered a problem with the "try" part.
    It seems as if the "command" doesn't get data from email and password AND the try ends at line 183 where reader doesn't get data from command.
    Did you add any libraries or something like that? I really need your help, because my project is due in 2 days.

    • @BoostMyTool
      @BoostMyTool  2 года назад

      I think your application did not succeed to connect to the database. Please check if your server is running and that the connection string is correct.
      You can modify the source code of the catch and show a message using ex->Message

    • @krzys7007
      @krzys7007 2 года назад

      @@BoostMyTool Thank you very much. This helped me a lot. I had some type in my "select" part.

  • @Meiyourenn
    @Meiyourenn 2 года назад

    How do you know what server name you are on?

  • @woho7458
    @woho7458 2 года назад

    Cant follow.all code please show all the code when showing us.

  • @RoshRush
    @RoshRush 2 года назад

    Hi Team,
    How can I convert all this into a link so that when I search on bar it will direct me to website?

  • @najouadaghrour
    @najouadaghrour 2 года назад

    tounsi ?

  • @omarwalid8813
    @omarwalid8813 2 года назад

    how to know my server name

    • @BoostMyTool
      @BoostMyTool  2 года назад

      you can see this video ruclips.net/video/As94gLorayE/видео.html

  • @saqibliaqat8269
    @saqibliaqat8269 2 года назад +1

    When I provide the correct email and password, The code in catch (Exception^ e) was executed. How can I solve this???

    • @skillon4083
      @skillon4083 2 года назад +1

      i have the same problem now

    • @SlickNickTexas
      @SlickNickTexas 11 месяцев назад

      I am running into the same issue. Any response to this?

    • @tinyikoevansmabasa-tm7ni
      @tinyikoevansmabasa-tm7ni 10 месяцев назад

      Any solution to this problem.

    • @Hellopotties
      @Hellopotties 4 месяца назад

      i am facing the same issues i know im late but please please can you tell me if you were able to solve it please