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 - Наука та технологія
Finally a good explanation on what is required to develop C++ GUI App, thank you
Glad it was helpful!
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.
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. 😁😁
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. 😁
Noted, you are welcome
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.
Noted
I thought C++ is difficult. But using your plugin its now easier for any dotnet folk. Thanks alot
Glad it helped!
You saved me in my course's final project. Thank you so much!
You are welcome. You can support the channel by becoming a member or purchasing a super thanks just for a dollar thanks
Thank You. Just what I needed to get jump started using WinForms for C++.
Glad it helped!
Nice, very good job!
Finally found a solution after the internet told me its impossible... you earned my subscription..
No doubt
Thanks! This was really helpful!
Glad it was helpful!
Is it useful to create the windows form from an empty project?
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
Thank you!!
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.
No doubt
Thank you so much, that's exactly what I wanted!
No doubt
Thank you man this help me a lot. Now I am now subscribed to your channel.
You are welcome bud
Thanks for the tutorial :)
You bet!
非常感谢!
This helped me a lot. Thanks.
you are welcome
Simply, short, usefull. Thanx.
No doubt, you are welcome
I’m trying to make a ddos panel but it doesn’t show the windows form app.
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.
Try and update your visual studio
How do I import notepad file value to the graph?
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
You are welcome
how can I add a form to my project if it is not a clr but a dynamic library?
Thank you very cool !!
You are welcome
Very useful tutorial
Is there a template for making Windows forms applications in actual C++ too? I'm not interested in C++/CLI.
not yet
Thank you. Thank you very much for helping me.
You are welcome
I like how he says instead of installed he says instuolled I personally agreed with your statement..
🤔
@@hacked101 Yes, my g...
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
Just wait for all dependencies to load
thx my bro
You're welcome!
thank you a lot for this toturial
You are welcome
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. '
same problem, you fixed it ?
Hello, do you have a guide on how to implement Crystal report in visual studio 2017 or 2019? I need help on that.
I will look into that and make a video shortly
you the great ✌🏾
Glad it helped
Thank You a Lot, Man.
You are welcome
Thank you!
You are welcome
nice info, thanks
Glad it was helpful!
this helped so much +rep thnx dad
No doubt
does this require .NET? i wanna make a c++ windows form app with no .net
very helpfull...thank you
You are welcome
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?
Build the project, and make sure that all references are updated
how do you change the language?
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.
Try and restart visual studio with admin privileges
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?
Make sure you have the latest visual studio update, restart the visual studio as an admin
@@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!
Same issue here. :(
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 🙂
👍
Thx for help!!!
You are welcome
How can I make another form? Can somebody help ?
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 :)
Will look into shortly thanks
I followed your instruction but still I am unable to see the cpp/clr winform option there would you like to guide
Make sure you install c++ from the visual studio installer
Good video, but quite difficult to hear because of low volume.
Sorry about that, I have made some improvement on my latest videos, thanks
Hi, after following your procedures, the toolbox is empty. Do you know how to correct this issue?
Select the element and the toolbox
Thanks!
You are welcome
Is there any update for visual studio 2022?
Gonna look into that shortly thanks
My visul studio wont display the "Server explorer" and "Toolbox" buttons anywhere. Does anyone know how to fix that?
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
@@hacked101 Thank you!
so where would my code go for taking user input for example
Will make a video on that shortly thanks
You are a legend
👽
can you recommend a playlist for C++ Winforms?
Not sure about that
when I click on the form file. it shows designer error? why it is so?
Try and update visual studio or reinstall it again with the latest updates
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
Try and build the project
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.
@@vapervop Was really hoping this would solve the error but it still persists for me.
@@vapervop thank you
i got the exstention but im not seeing the windows form when i search for it
You have to download and install .net desktop development environment from the visual studio installer
I have got this working, but trying to get sqlite to work with it, but I am having problems
Will make a video shortly on that
@@hacked101 Cool that would be great
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.
Danke.
You are welcome
How do I use a console at the same time??
You mean console project?
To prevent possible data loss before loading the designer, the following errors must be resolved:
why do I get this
Update the the visual studio for the current version
@@hacked101 nah that was not it
I found just opening and closing visual worked for me
thanks for the help tho
is this VSCode or VScommunity? Thanks
Please check the title
@@hacked101 Thanks.
I realized that there are three flavors to my problem right before you replied.
I can't understand why they stop supporting VCL controls library with windows API. They was the best! dotnet looks a like poor brother.
🤔
good
No doubt
An email is possible to send a query about this video ??
Send me message on twitter via the channel about page
@@hacked101 Twiter sended but not responded
tnx m8
You are welcome
For hire
Don't get you though
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.
Sure, will remake it shortly, thanks
thank you for this video
1 hour waste time in visual studio installer
No doubt
Hello, how to dowmload that?
Download what? Please be more specific
To prevent possible data loss before loading the designer, the following errors must be resolved:
Update your visual studio for the current version
:)
When I search it doesn't find anything
Search what?
@@hacked101 Ignore me. I had to re-install visual studio with the right stuff, and then I was able to get it working
Doest work the windows at the beggining doest even exist
Update the visual studio 2019 for the latest version
How to add new Form
Right click the folder you want to add the new form, select add, then add new item, you should find windows form
@@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
thanks, but Qt C++ is better. learning visual C++ windows form application is just wasting time. with Qt you have complete package
There is no cppcrl
You have to install the extension with visual studio installer
hello, am yet to experience!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sure
it's .NET lol
Why in German?
✔️
speak loud
Sure
Good tutorial, but I'll be honest: guys, just learn C#; if you know C++, you're going to learn easily C#.
sure
Not everything work on c# and sometimes you need to use c++ ;)
Hi, how can I contact you via email? Thanks
Contact on twitter via the channel page thanks
Thank you!
You are welcome