C++ WinForms in Visual Studio 2019 | Getting Started

  Рет қаралды 166,000

Hacked

Hacked

Күн бұрын

Пікірлер: 180
@alexsagi3937
@alexsagi3937 4 жыл бұрын
Finally a good explanation on what is required to develop C++ GUI App, thank you
@hacked101
@hacked101 4 жыл бұрын
Glad it was helpful!
@kittoeebenezer7067
@kittoeebenezer7067 3 жыл бұрын
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
@ranqi2301
@ranqi2301 4 жыл бұрын
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. 😁😁
@Sultaneous
@Sultaneous 4 жыл бұрын
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.
@hacked101
@hacked101 4 жыл бұрын
Noted
@AldoResendizRomero
@AldoResendizRomero 2 жыл бұрын
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.
@hacked101
@hacked101 2 жыл бұрын
No doubt
@riskboy999
@riskboy999 2 жыл бұрын
Finally found a solution after the internet told me its impossible... you earned my subscription..
@hacked101
@hacked101 2 жыл бұрын
No doubt
@unanimousutuber9724
@unanimousutuber9724 3 жыл бұрын
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 3 жыл бұрын
Try and update your visual studio
@svalencia014
@svalencia014 3 жыл бұрын
Is there any update for visual studio 2022?
@hacked101
@hacked101 3 жыл бұрын
Gonna look into that shortly thanks
@itsmakar2412
@itsmakar2412 2 жыл бұрын
how can I add a form to my project if it is not a clr but a dynamic library?
@tedlyngmo9180
@tedlyngmo9180 3 жыл бұрын
Is there a template for making Windows forms applications in actual C++ too? I'm not interested in C++/CLI.
@hacked101
@hacked101 3 жыл бұрын
not yet
@stevejones9717
@stevejones9717 2 жыл бұрын
does this require .NET? i wanna make a c++ windows form app with no .net
@hiddenhidden6340
@hiddenhidden6340 4 жыл бұрын
I thought C++ is difficult. But using your plugin its now easier for any dotnet folk. Thanks alot
@hacked101
@hacked101 4 жыл бұрын
Glad it helped!
@kaon9181
@kaon9181 4 жыл бұрын
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
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@proudyy
@proudyy 3 жыл бұрын
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
@immanueldavielgarcia
@immanueldavielgarcia 10 ай бұрын
You saved me in my course's final project. Thank you so much!
@hacked101
@hacked101 10 ай бұрын
You are welcome. You can support the channel by becoming a member or purchasing a super thanks just for a dollar thanks
@brunopalomino2028
@brunopalomino2028 4 жыл бұрын
Is it useful to create the windows form from an empty project?
@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
@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
@WHWrooolz
@WHWrooolz 3 жыл бұрын
can you recommend a playlist for C++ Winforms?
@hacked101
@hacked101 3 жыл бұрын
Not sure about that
@davidmalinowski6331
@davidmalinowski6331 3 жыл бұрын
is this VSCode or VScommunity? Thanks
@hacked101
@hacked101 3 жыл бұрын
Please check the title
@davidmalinowski6331
@davidmalinowski6331 3 жыл бұрын
@@hacked101 Thanks. I realized that there are three flavors to my problem right before you replied.
@uwu-pq1om
@uwu-pq1om 3 жыл бұрын
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. '
@idontusehuzuni9091
@idontusehuzuni9091 2 жыл бұрын
same problem, you fixed it ?
@uqzr5760
@uqzr5760 4 жыл бұрын
I’m trying to make a ddos panel but it doesn’t show the windows form app.
@adibhumam4890
@adibhumam4890 3 жыл бұрын
How do I import notepad file value to the graph?
@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
@a-brand585
@a-brand585 3 жыл бұрын
Hi, after following your procedures, the toolbox is empty. Do you know how to correct this issue?
@hacked101
@hacked101 3 жыл бұрын
Select the element and the toolbox
@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
@joshuaaubreytshepomartin9455
@joshuaaubreytshepomartin9455 4 жыл бұрын
how do you change the language?
@hassanwhiteside4452
@hassanwhiteside4452 3 жыл бұрын
How can I make another form? Can somebody help ?
@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
@alexissuarezalvarez5622
@alexissuarezalvarez5622 4 жыл бұрын
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 4 жыл бұрын
I will look into that and make a video shortly
@DncmFamily
@DncmFamily 4 жыл бұрын
Thank You. Just what I needed to get jump started using WinForms for C++.
@hacked101
@hacked101 4 жыл бұрын
Glad it helped!
@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
@BilalAhmad-ps7gj
@BilalAhmad-ps7gj 4 жыл бұрын
I followed your instruction but still I am unable to see the cpp/clr winform option there would you like to guide
@hacked101
@hacked101 4 жыл бұрын
Make sure you install c++ from the visual studio installer
@akshayaapandiyan2529
@akshayaapandiyan2529 4 жыл бұрын
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 4 жыл бұрын
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. :(
@gabrielurruelavargas2147
@gabrielurruelavargas2147 4 жыл бұрын
My visul studio wont display the "Server explorer" and "Toolbox" buttons anywhere. Does anyone know how to fix that?
@hacked101
@hacked101 4 жыл бұрын
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 4 жыл бұрын
@@hacked101 Thank you!
@syedahmedali8588
@syedahmedali8588 4 жыл бұрын
when I click on the form file. it shows designer error? why it is so?
@hacked101
@hacked101 4 жыл бұрын
Try and update visual studio or reinstall it again with the latest updates
@collengura
@collengura 3 жыл бұрын
Good video, but quite difficult to hear because of low volume.
@hacked101
@hacked101 3 жыл бұрын
Sorry about that, I have made some improvement on my latest videos, thanks
@fuelthefission9173
@fuelthefission9173 3 жыл бұрын
How do I use a console at the same time??
@hacked101
@hacked101 3 жыл бұрын
You mean console project?
@victorhugocontrerasordonez5000
@victorhugocontrerasordonez5000 3 жыл бұрын
Thank you man this help me a lot. Now I am now subscribed to your channel.
@hacked101
@hacked101 3 жыл бұрын
You are welcome bud
@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.
@TheTimeProphet
@TheTimeProphet 4 жыл бұрын
I have got this working, but trying to get sqlite to work with it, but I am having problems
@hacked101
@hacked101 4 жыл бұрын
Will make a video shortly on that
@TheTimeProphet
@TheTimeProphet 4 жыл бұрын
@@hacked101 Cool that would be great
@pawelg3800
@pawelg3800 3 жыл бұрын
Simply, short, usefull. Thanx.
@hacked101
@hacked101 3 жыл бұрын
No doubt, you are welcome
@seanmcghee2373
@seanmcghee2373 2 жыл бұрын
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 🙂
@hacked101
@hacked101 2 жыл бұрын
👍
@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
@trippeddude3212
@trippeddude3212 2 жыл бұрын
I like how he says instead of installed he says instuolled I personally agreed with your statement..
@hacked101
@hacked101 2 жыл бұрын
🤔
@trippeddude3212
@trippeddude3212 2 жыл бұрын
@@hacked101 Yes, my g...
@mabiogfilms8832
@mabiogfilms8832 3 жыл бұрын
Hello, how to dowmload that?
@hacked101
@hacked101 3 жыл бұрын
Download what? Please be more specific
@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
@TheTimeProphet
@TheTimeProphet 4 жыл бұрын
When I search it doesn't find anything
@hacked101
@hacked101 4 жыл бұрын
Search what?
@TheTimeProphet
@TheTimeProphet 4 жыл бұрын
@@hacked101 Ignore me. I had to re-install visual studio with the right stuff, and then I was able to get it working
@Kurasz666
@Kurasz666 4 жыл бұрын
How to add new Form
@hacked101
@hacked101 4 жыл бұрын
Right click the folder you want to add the new form, select add, then add new item, you should find windows form
@Kurasz666
@Kurasz666 4 жыл бұрын
@@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
@farkas1121
@farkas1121 4 жыл бұрын
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 4 жыл бұрын
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 жыл бұрын
@@vapervop Was really hoping this would solve the error but it still persists for me.
@NguyenMinhuc-ss2cs
@NguyenMinhuc-ss2cs 2 жыл бұрын
@@vapervop thank you
@SimpleY_
@SimpleY_ 3 жыл бұрын
Thank you so much, that's exactly what I wanted!
@hacked101
@hacked101 3 жыл бұрын
No doubt
@uapit4866
@uapit4866 4 жыл бұрын
Thank you very cool !!
@hacked101
@hacked101 4 жыл бұрын
You are welcome
@iskandar149
@iskandar149 3 жыл бұрын
thank you a lot for this toturial
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@gorgar007
@gorgar007 4 жыл бұрын
Thanks! This was really helpful!
@hacked101
@hacked101 4 жыл бұрын
Glad it was helpful!
@eduardogodoy2780
@eduardogodoy2780 4 жыл бұрын
Nice, very good job!
@itzmarni7696
@itzmarni7696 4 жыл бұрын
Doest work the windows at the beggining doest even exist
@hacked101
@hacked101 4 жыл бұрын
Update the visual studio 2019 for the latest version
@arshadm1993
@arshadm1993 2 жыл бұрын
very helpfull...thank you
@hacked101
@hacked101 2 жыл бұрын
You are welcome
@farajabbas7459
@farajabbas7459 4 жыл бұрын
you the great ✌🏾
@hacked101
@hacked101 4 жыл бұрын
Glad it helped
@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.
@hacked101
@hacked101 2 жыл бұрын
🤔
@DayDayS-tn2cy
@DayDayS-tn2cy 4 жыл бұрын
非常感谢!
@silumesiisitwala4238
@silumesiisitwala4238 4 жыл бұрын
This helped me a lot. Thanks.
@hacked101
@hacked101 4 жыл бұрын
you are welcome
@hotabichnk
@hotabichnk 3 жыл бұрын
Thank You a Lot, Man.
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@mitsuedanobuhiro898
@mitsuedanobuhiro898 3 жыл бұрын
Thank you. Thank you very much for helping me.
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@GokdenizCetin
@GokdenizCetin 4 жыл бұрын
Thank you!!
@mioszjedrzejczyk1617
@mioszjedrzejczyk1617 Жыл бұрын
Thx for help!!!
@hacked101
@hacked101 Жыл бұрын
You are welcome
@abdannour26
@abdannour26 4 жыл бұрын
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 4 жыл бұрын
Will look into shortly thanks
@RixtronixLAB
@RixtronixLAB 4 жыл бұрын
Thanks for the tutorial :)
@hacked101
@hacked101 4 жыл бұрын
You bet!
@Wan_Destroyer
@Wan_Destroyer 2 жыл бұрын
There is no cppcrl
@hacked101
@hacked101 2 жыл бұрын
You have to install the extension with visual studio installer
@sekretariatietu3259
@sekretariatietu3259 3 жыл бұрын
Why in German?
@hacked101
@hacked101 3 жыл бұрын
✔️
@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
3 жыл бұрын
this helped so much +rep thnx dad
@hacked101
@hacked101 3 жыл бұрын
No doubt
@d3viously
@d3viously 3 жыл бұрын
You are a legend
@hacked101
@hacked101 3 жыл бұрын
👽
@aminelsayed3887
@aminelsayed3887 3 жыл бұрын
thx my bro
@hacked101
@hacked101 3 жыл бұрын
You're welcome!
@tailogs5825
@tailogs5825 3 жыл бұрын
Thanks!
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@RixtronixLAB
@RixtronixLAB 4 жыл бұрын
nice info, thanks
@hacked101
@hacked101 4 жыл бұрын
Glad it was helpful!
@jimenaruiz9194
@jimenaruiz9194 4 жыл бұрын
Thank you!
@hacked101
@hacked101 4 жыл бұрын
You are welcome
@presserman
@presserman 4 жыл бұрын
Very useful tutorial
@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
@johnashton6056
@johnashton6056 3 жыл бұрын
For hire
@hacked101
@hacked101 3 жыл бұрын
Don't get you though
@demiray8286
@demiray8286 4 жыл бұрын
Danke.
@hacked101
@hacked101 4 жыл бұрын
You are welcome
@chanel1-r9v3g
@chanel1-r9v3g 3 жыл бұрын
good
@hacked101
@hacked101 3 жыл бұрын
No doubt
@moondidel
@moondidel 3 жыл бұрын
thank you for this video 1 hour waste time in visual studio installer
@hacked101
@hacked101 3 жыл бұрын
No doubt
@dannyboy_66
@dannyboy_66 3 жыл бұрын
tnx m8
@hacked101
@hacked101 3 жыл бұрын
You are welcome
@mosesaligi4593
@mosesaligi4593 2 жыл бұрын
hello, am yet to experience!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@hacked101
@hacked101 2 жыл бұрын
Sure
@celinejilu
@celinejilu 3 жыл бұрын
speak loud
@hacked101
@hacked101 3 жыл бұрын
Sure
@pictrance
@pictrance 4 жыл бұрын
:)
@anarchist6204
@anarchist6204 4 жыл бұрын
it's .NET lol
@paulo0651
@paulo0651 4 жыл бұрын
Good tutorial, but I'll be honest: guys, just learn C#; if you know C++, you're going to learn easily C#.
@hacked101
@hacked101 4 жыл бұрын
sure
@Arti2895
@Arti2895 3 жыл бұрын
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 3 жыл бұрын
Thank you!
@hacked101
@hacked101 3 жыл бұрын
You are welcome
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 874 М.
C# How to Auto Size Windows Forms & Controls
16:21
EETechStuff
Рет қаралды 15 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,8 МЛН
Create Your First C# Windows Forms Application using Visual Studio
11:35
ProgrammingKnowledge2
Рет қаралды 359 М.
How to Create a Calculator in C++ using Visual Studio 2019
23:00
Paul Oamen
Рет қаралды 160 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 944 М.
IPC: To Share Memory Or To Send Messages
14:15
Core Dumped
Рет қаралды 99 М.
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 362 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН