C++ WinForms in Visual Studio 2019 | Getting Started

Поділитися
Вставка
  • Опубліковано 27 лип 2024
  • C++ WinForms in Visual Studio 2019 | Getting Started
    With Windows Forms, you can create powerful Windows-based applications. The following topics describe in-depth how to harness the power of Windows Forms to display data, handle user input, and deploy your applications easily and with enhanced security
  • Наука та технологія

КОМЕНТАРІ • 180

  • @alexsagi3937
    @alexsagi3937 3 роки тому +28

    Finally a good explanation on what is required to develop C++ GUI App, thank you

    • @hacked101
      @hacked101  3 роки тому +5

      Glad it was helpful!

  • @ranqi2301
    @ranqi2301 4 роки тому +18

    very useful, surprised that a video like this only has 3562 views, I watched many videos that come from channels that have millions of subscribers, None of them helped me.

    • @proudyy
      @proudyy 3 роки тому

      I totally agree on that. This video is simple but good and does it. Others are way worse than this one. He just came straight to the point and had shown us how to install the extension and setup the form. Just what "Getting started" should be. 😁😁

  • @proudyy
    @proudyy 3 роки тому +2

    Exactly what I needed. You just hit the point and you didn't trash talk at all or talked too much. Just the mic quality could be better because I had to turn the volume up to 100%. Also I was wondering about the window size / window proportion or the resolution at all. However, the tutorial itself was nice, so you got my thumbs up. 😁

    • @hacked101
      @hacked101  3 роки тому

      Noted, you are welcome

  • @Sultaneous
    @Sultaneous 4 роки тому +17

    Thanks for this quick primer. Windows forms support for c++ used to be available by default in the older versions, too bad it isn't as straightforward anymore. BTW your mike is not picking your voice up very well, so the audio is a little weak.

  • @hiddenhidden6340
    @hiddenhidden6340 3 роки тому

    I thought C++ is difficult. But using your plugin its now easier for any dotnet folk. Thanks alot

  • @immanueldavielgarcia
    @immanueldavielgarcia 5 місяців тому

    You saved me in my course's final project. Thank you so much!

    • @hacked101
      @hacked101  5 місяців тому

      You are welcome. You can support the channel by becoming a member or purchasing a super thanks just for a dollar thanks

  • @DncmFamily
    @DncmFamily 4 роки тому +5

    Thank You. Just what I needed to get jump started using WinForms for C++.

  • @eduardogodoy2780
    @eduardogodoy2780 4 роки тому +1

    Nice, very good job!

  • @riskboy999
    @riskboy999 2 роки тому

    Finally found a solution after the internet told me its impossible... you earned my subscription..

  • @gorhag
    @gorhag 4 роки тому +1

    Thanks! This was really helpful!

    • @hacked101
      @hacked101  4 роки тому +1

      Glad it was helpful!

  • @brunopalomino2028
    @brunopalomino2028 4 роки тому +1

    Is it useful to create the windows form from an empty project?

  • @kittoeebenezer7067
    @kittoeebenezer7067 3 роки тому +2

    Am new to C++ and I followed the same procedure but am getting an error
    "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. "
    Now am stuck and don't know what else to do. Help please

  • @GokdenizCetin
    @GokdenizCetin 4 роки тому +1

    Thank you!!

  • @AldoResendizRomero
    @AldoResendizRomero 2 роки тому +1

    Thank you so very much for this tutorial! I finally see some light at the end of the tunnel! The only problem is that I had to activate closed caption to understand what you are saying since the sound is very bad.

  • @SimpleY_
    @SimpleY_ 2 роки тому

    Thank you so much, that's exactly what I wanted!

  • @victorhugocontrerasordonez5000
    @victorhugocontrerasordonez5000 3 роки тому

    Thank you man this help me a lot. Now I am now subscribed to your channel.

  • @Bianchi77
    @Bianchi77 4 роки тому +1

    Thanks for the tutorial :)

  • @DayDayS-tn2cy
    @DayDayS-tn2cy 4 роки тому +1

    非常感谢!

  • @silumesiisitwala4238
    @silumesiisitwala4238 4 роки тому

    This helped me a lot. Thanks.

  • @pawelg3800
    @pawelg3800 3 роки тому +1

    Simply, short, usefull. Thanx.

    • @hacked101
      @hacked101  3 роки тому +2

      No doubt, you are welcome

  • @uqzr5760
    @uqzr5760 3 роки тому

    I’m trying to make a ddos panel but it doesn’t show the windows form app.

  • @unanimousutuber9724
    @unanimousutuber9724 2 роки тому +1

    Hello, I have been following this guide step by step but when I try to open the Form1.h file I get an error "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. " and wont show the GUI preview window. I also get an error on the code portion of the file saying that using namespace System is an error statement stating that System is not a namespace and that a namespace should be used.

    • @hacked101
      @hacked101  2 роки тому

      Try and update your visual studio

  • @adibhumam4890
    @adibhumam4890 3 роки тому

    How do I import notepad file value to the graph?

  • @kaon9181
    @kaon9181 4 роки тому +8

    how would i easily make another form instead of just 1? ive managed it but it was a bit difficult and i had to edit the vcxproj file which i dont really want to do for every new form i make. ty

  • @itsmakar2412
    @itsmakar2412 2 роки тому

    how can I add a form to my project if it is not a clr but a dynamic library?

  • @uapit4866
    @uapit4866 3 роки тому +1

    Thank you very cool !!

  • @ballerstv3
    @ballerstv3 4 роки тому

    Very useful tutorial

  • @tedlyngmo9180
    @tedlyngmo9180 3 роки тому +1

    Is there a template for making Windows forms applications in actual C++ too? I'm not interested in C++/CLI.

  • @mitsuedanobuhiro898
    @mitsuedanobuhiro898 3 роки тому

    Thank you. Thank you very much for helping me.

  • @trippeddude3212
    @trippeddude3212 2 роки тому

    I like how he says instead of installed he says instuolled I personally agreed with your statement..

  • @BunillaCircus
    @BunillaCircus 3 роки тому

    Hi, the word "System" in "using namespace System;" in the original code when I first opened it is considered an error. I didn't touch anything else. please help

    • @hacked101
      @hacked101  3 роки тому

      Just wait for all dependencies to load

  • @aminelsayed3887
    @aminelsayed3887 3 роки тому +1

    thx my bro

  • @iskandar149
    @iskandar149 2 роки тому

    thank you a lot for this toturial

  • @uwu-pq1om
    @uwu-pq1om 2 роки тому

    Im getting error while putting an icon, any ideas? System.Resources.MissingManifestResourceException: no suitable resources were found for the specified culture or for the neutral culture. Check if "CppCLRWinformsProjekt.Form1.resources" has been properly embedded or bound in assembly "test8" at compile time or that all required satellite assemblies can be loaded and are fully signed. '

  • @alexissuarezalvarez5622
    @alexissuarezalvarez5622 3 роки тому

    Hello, do you have a guide on how to implement Crystal report in visual studio 2017 or 2019? I need help on that.

    • @hacked101
      @hacked101  3 роки тому

      I will look into that and make a video shortly

  • @farajabbas7459
    @farajabbas7459 3 роки тому +1

    you the great ✌🏾

  • @user-wc8cj7dc3n
    @user-wc8cj7dc3n 2 роки тому

    Thank You a Lot, Man.

  • @jimenaruiz9194
    @jimenaruiz9194 3 роки тому

    Thank you!

  • @Bianchi77
    @Bianchi77 3 роки тому +1

    nice info, thanks

    • @hacked101
      @hacked101  3 роки тому +1

      Glad it was helpful!

  •  3 роки тому

    this helped so much +rep thnx dad

  • @stevejones9717
    @stevejones9717 Рік тому

    does this require .NET? i wanna make a c++ windows form app with no .net

  • @arshadm1993
    @arshadm1993 2 роки тому

    very helpfull...thank you

  • @brilliantbrain6887
    @brilliantbrain6887 2 роки тому

    Please, i followed your tutorial and had this error message "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. " how do i solve this problem?

    • @hacked101
      @hacked101  2 роки тому

      Build the project, and make sure that all references are updated

  • @joshuaaubreytshepomartin9455
    @joshuaaubreytshepomartin9455 3 роки тому

    how do you change the language?

  • @mohammadzulkiflighapal4627
    @mohammadzulkiflighapal4627 3 роки тому

    Thanks for the video. After setting I am facing this error. Pls advice. Thanks
    error : Designtime build failed for project 'C:\Users\zulkifli\source
    epos\CppCLR_WinformsProjekt1\CppCLR_WinformsProjekt1\CppCLR_WinformsProjekt1.vcxproj' configuration 'Debug|Win32'. IntelliSense might be unavailable.
    Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

    • @hacked101
      @hacked101  3 роки тому

      Try and restart visual studio with admin privileges

  • @akshayaapandiyan2529
    @akshayaapandiyan2529 3 роки тому

    Hello, I am an absolute beginner and trying to create a simple win form using C++. I followed the video but I keep getting the error: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.
    Do you have any suggestions to resolve this?

    • @hacked101
      @hacked101  3 роки тому

      Make sure you have the latest visual studio update, restart the visual studio as an admin

    • @juanmd01
      @juanmd01 3 роки тому

      @@hacked101 I got the same error and I'm also a complete beginner. I just download Visual Studio so I suppose that I got the last update and I've restart the visual studio as an admin and nothing changed. What can I do? Thank you very much!

    • @wv838
      @wv838 3 роки тому

      Same issue here. :(

  • @seanmcghee2373
    @seanmcghee2373 Рік тому

    removing the forms option for C++ was a ridiculous thing to do. I can't believe it cost them anything to leave it in there and I had a ton of forms apps I created and maintained in VS 2010 and it was annoying to find it missing. I can deal with the German just fine and am grateful it's back 🙂

  • @mioszjedrzejczyk1617
    @mioszjedrzejczyk1617 Рік тому

    Thx for help!!!

  • @hassanwhiteside4452
    @hassanwhiteside4452 3 роки тому

    How can I make another form? Can somebody help ?

  • @abdannour26
    @abdannour26 3 роки тому +3

    You have an awesome content, can you make a video on How to use SQLite Database using WinForms in C++? I will be really appreciated :)

    • @hacked101
      @hacked101  3 роки тому +3

      Will look into shortly thanks

  • @BilalAhmad-ps7gj
    @BilalAhmad-ps7gj 3 роки тому

    I followed your instruction but still I am unable to see the cpp/clr winform option there would you like to guide

    • @hacked101
      @hacked101  3 роки тому

      Make sure you install c++ from the visual studio installer

  • @collengura
    @collengura 2 роки тому +1

    Good video, but quite difficult to hear because of low volume.

    • @hacked101
      @hacked101  2 роки тому

      Sorry about that, I have made some improvement on my latest videos, thanks

  • @a-brand585
    @a-brand585 2 роки тому

    Hi, after following your procedures, the toolbox is empty. Do you know how to correct this issue?

    • @hacked101
      @hacked101  2 роки тому

      Select the element and the toolbox

  • @tailogs5825
    @tailogs5825 3 роки тому

    Thanks!

  • @svalencia014
    @svalencia014 2 роки тому +1

    Is there any update for visual studio 2022?

    • @hacked101
      @hacked101  2 роки тому

      Gonna look into that shortly thanks

  • @gabrielurruelavargas2147
    @gabrielurruelavargas2147 3 роки тому

    My visul studio wont display the "Server explorer" and "Toolbox" buttons anywhere. Does anyone know how to fix that?

    • @hacked101
      @hacked101  3 роки тому

      On top left after the edit button, click on the view and you should find the server explorer, also down the same link, there is other windows, expand that for more windows

    • @gabrielurruelavargas2147
      @gabrielurruelavargas2147 3 роки тому

      @@hacked101 Thank you!

  • @sydguitar99
    @sydguitar99 3 роки тому

    so where would my code go for taking user input for example

    • @hacked101
      @hacked101  3 роки тому

      Will make a video on that shortly thanks

  • @evcheats
    @evcheats 3 роки тому

    You are a legend

  • @WHWrooolz
    @WHWrooolz 3 роки тому

    can you recommend a playlist for C++ Winforms?

  • @syedahmedali8588
    @syedahmedali8588 3 роки тому

    when I click on the form file. it shows designer error? why it is so?

    • @hacked101
      @hacked101  3 роки тому

      Try and update visual studio or reinstall it again with the latest updates

  • @farkas1121
    @farkas1121 4 роки тому +1

    To prevent possible data loss before loading the designer, the following errors must be resolved:
    The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.
    P.s i've just installed it

    • @hacked101
      @hacked101  4 роки тому

      Try and build the project

    • @vapervop
      @vapervop 3 роки тому

      To fix this issue you need C++/CLI support. To install it open visual studio 2019, go on "Tools">"Get Tools and Features"; it will open the V.S. installer. Click on single components and search for C++/CLI and check ✔ the last version and install it. Rboot V.S. and now it should work.

    • @alpachino2shae
      @alpachino2shae 3 роки тому +1

      @@vapervop Was really hoping this would solve the error but it still persists for me.

    • @NguyenMinhuc-ss2cs
      @NguyenMinhuc-ss2cs Рік тому

      @@vapervop thank you

  • @nighthawkgaming1962
    @nighthawkgaming1962 3 роки тому

    i got the exstention but im not seeing the windows form when i search for it

    • @hacked101
      @hacked101  3 роки тому

      You have to download and install .net desktop development environment from the visual studio installer

  • @TheTimeProphet
    @TheTimeProphet 3 роки тому

    I have got this working, but trying to get sqlite to work with it, but I am having problems

    • @hacked101
      @hacked101  3 роки тому

      Will make a video shortly on that

    • @TheTimeProphet
      @TheTimeProphet 3 роки тому

      @@hacked101 Cool that would be great

  • @TheJing2__
    @TheJing2__ 3 роки тому

    Implement RTSP Client and display received video in WinForms using C++ & FFmpeg. Do you think it's an properly idea? I've never seen any tutorials for this combination. Most of them are using C# for RSTP Client on Windows. I'd like to see your advice. Thank you.

  • @demiray8286
    @demiray8286 3 роки тому

    Danke.

  • @fuelthefission9173
    @fuelthefission9173 3 роки тому

    How do I use a console at the same time??

    • @hacked101
      @hacked101  3 роки тому

      You mean console project?

  • @dinithwijeratne4969
    @dinithwijeratne4969 4 роки тому

    To prevent possible data loss before loading the designer, the following errors must be resolved:
    why do I get this

    • @hacked101
      @hacked101  4 роки тому

      Update the the visual studio for the current version

    • @dinithwijeratne4969
      @dinithwijeratne4969 4 роки тому

      @@hacked101 nah that was not it
      I found just opening and closing visual worked for me

    • @dinithwijeratne4969
      @dinithwijeratne4969 4 роки тому

      thanks for the help tho

  • @davidmalinowski6331
    @davidmalinowski6331 2 роки тому

    is this VSCode or VScommunity? Thanks

    • @hacked101
      @hacked101  2 роки тому

      Please check the title

    • @davidmalinowski6331
      @davidmalinowski6331 2 роки тому

      @@hacked101 Thanks.
      I realized that there are three flavors to my problem right before you replied.

  • @wegi9621
    @wegi9621 2 роки тому

    I can't understand why they stop supporting VCL controls library with windows API. They was the best! dotnet looks a like poor brother.

  • @user-gh5wb8bt1s
    @user-gh5wb8bt1s 2 роки тому

    good

  • @J69385
    @J69385 3 роки тому

    An email is possible to send a query about this video ??

    • @hacked101
      @hacked101  3 роки тому

      Send me message on twitter via the channel about page

    • @J69385
      @J69385 3 роки тому

      @@hacked101 Twiter sended but not responded

  • @dannyboy_66
    @dannyboy_66 3 роки тому

    tnx m8

  • @johnashton6056
    @johnashton6056 3 роки тому

    For hire

  • @MattWOrton
    @MattWOrton 3 роки тому

    very annoying that the volume is so soft, then when an ad comes on (and so many adds for a 10 minute video) that the offices all around me can hear the ad. Fix the Volume.

    • @hacked101
      @hacked101  3 роки тому

      Sure, will remake it shortly, thanks

  • @moondidel
    @moondidel 3 роки тому

    thank you for this video
    1 hour waste time in visual studio installer

  • @mabiogfilms8832
    @mabiogfilms8832 3 роки тому

    Hello, how to dowmload that?

    • @hacked101
      @hacked101  3 роки тому

      Download what? Please be more specific

  • @killyourself1301
    @killyourself1301 4 роки тому

    To prevent possible data loss before loading the designer, the following errors must be resolved:

    • @hacked101
      @hacked101  4 роки тому

      Update your visual studio for the current version

  • @pictrance
    @pictrance 4 роки тому

    :)

  • @TheTimeProphet
    @TheTimeProphet 3 роки тому

    When I search it doesn't find anything

    • @hacked101
      @hacked101  3 роки тому

      Search what?

    • @TheTimeProphet
      @TheTimeProphet 3 роки тому

      @@hacked101 Ignore me. I had to re-install visual studio with the right stuff, and then I was able to get it working

  • @itzmarni7696
    @itzmarni7696 3 роки тому

    Doest work the windows at the beggining doest even exist

    • @hacked101
      @hacked101  3 роки тому

      Update the visual studio 2019 for the latest version

  • @Kurasz666
    @Kurasz666 3 роки тому

    How to add new Form

    • @hacked101
      @hacked101  3 роки тому +1

      Right click the folder you want to add the new form, select add, then add new item, you should find windows form

    • @Kurasz666
      @Kurasz666 3 роки тому

      @@hacked101 thanks but my problem occured because i hadn't c++/CLR feature downloaded, so i just missed that option. I don't know it's something about in video but i guess should be exactly mentioned. For newbie it's not that obvious

  • @aminmoradi8109
    @aminmoradi8109 3 роки тому

    thanks, but Qt C++ is better. learning visual C++ windows form application is just wasting time. with Qt you have complete package

  • @Wan_Destroyer
    @Wan_Destroyer 2 роки тому

    There is no cppcrl

    • @hacked101
      @hacked101  2 роки тому

      You have to install the extension with visual studio installer

  • @mosesaligi4593
    @mosesaligi4593 2 роки тому

    hello, am yet to experience!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @anarchist6204
    @anarchist6204 3 роки тому

    it's .NET lol

  • @sekretariatietu3259
    @sekretariatietu3259 3 роки тому

    Why in German?

  • @celinejilu
    @celinejilu 3 роки тому +1

    speak loud

  • @paulo0651
    @paulo0651 3 роки тому

    Good tutorial, but I'll be honest: guys, just learn C#; if you know C++, you're going to learn easily C#.

    • @hacked101
      @hacked101  3 роки тому +1

      sure

    • @Arti2895
      @Arti2895 3 роки тому +2

      Not everything work on c# and sometimes you need to use c++ ;)

  • @matteoverardo8005
    @matteoverardo8005 2 роки тому

    Hi, how can I contact you via email? Thanks

    • @hacked101
      @hacked101  2 роки тому

      Contact on twitter via the channel page thanks

  • @KobraLink
    @KobraLink 2 роки тому

    Thank you!