Тёмный

Create Your First C++ Windows Form using Microsoft Visual Studio 2022 

BoostMyTool
Подписаться 55 тыс.
Просмотров 300 тыс.
50% 1

How to create CLR C++ project using Microsoft Visual Studio 2022. Create C++ User Interface (GUI) using the .NET Framework.
How to Install Microsoft Visual Studio 2022: • How to Install Microso...
************************
Free Document Proofreading : grammarly.go2c...
Source code of the main method in the first comment .
***********************************
🔥 Complete Udemy Courses :
ASP.NET MVC Course : www.udemy.com/...
ASP.NET Course : www.udemy.com/...
ASP.NET Core Web API : www.udemy.com/...
React JS : www.udemy.com/...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2c...

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 184   
@BoostMyTool
@BoostMyTool 2 года назад
#include "MainForm.h" using namespace System; using namespace System::Windows::Forms; void main(array^ args) { Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); FirstCppProject::MainForm form; Application::Run(% form); }
@adansalman6917
@adansalman6917 2 года назад
I have done each and everything you said but it is giving my linking error can you help?
@Iamfoxbrown
@Iamfoxbrown 2 года назад
I was forgetting this important detail and the msg it was "unresolved external symbol" but after Added these lines worked perfectly. Thank you !!!!
@andycobra49aor
@andycobra49aor 2 года назад
Mr. BoostMyTool; Please, Please if I need you help can you please help me, I am good but need help, once I get the hand of it I will do it myself. Believe me, you are a great instructor, it is very hard to find someone with that great talent like yourself that can even respond fast, not like some folk out there that it takes for ever. I would it do the same for you in the near future. If you have an specific channel in RU-vid, let me know, I will enroll with your channel to get better. the problem is that I was in the military long time ago, deployed 3 times and my brain is not the same. I have too much anxiety, and depression and difficult to focus sometimes. I was a great coder in C and C++, I have lost interest in things. Hope you understand. That's why I am always looking for someone like yourself that it takes time to message and help other, thanks for everything you DO, is so important to people like myself, thanks. Respectfully; Andy Disable Vet Texas
@fleimi
@fleimi 2 года назад
@@adansalman6917 Remember to change the line FirstCppProject::MainForm form; FirstCppProject have to be changed as your project name is.
@lapisbrainprint9607
@lapisbrainprint9607 2 года назад
For some reason it throws me an unhandled exception error code System.InvalidOperationException after Application::Run(% form);
@rscgln
@rscgln Год назад
The ONLY place where I found clear, right and up-to-date guidelines to start with this tricky development system. Thanks!!! Sad to think at the old and glorious VB5 times, where in seconds you could write a working application!
@maxmaurer2989
@maxmaurer2989 2 года назад
This was EXACTLY what I needed. I'm an experienced programmer coming from a different IDE. This showed me EXACTLY how to set up the Visual Studios IDE for windows programming. I would NEVER have figured out how to do that by myself. Because of skyrocketing prices, extremely restrictive support, and continued extremely buggy operation of my previous IDE, I VERY MUCH wanted to get off of it BADLY. I ACHED to get onto Visual Studio. The one thing stopping me was: I couldn't figure out HOW to get windows in VS. The detailed instructions here fixed that. I am now back to "regular programming" with my current project. It took some time but it was WELL WORTH IT! THANK-YOU (a THOUSAND TIMES!!!!)😎🖕🙏🙏🙏
@coldblackice
@coldblackice 2 года назад
What was your previous IDE?
@WyMustIGo
@WyMustIGo Год назад
@@coldblackice Probably Open Sores (SIC)
@LayTheNess
@LayTheNess Год назад
why would you give him a f*ck-emoji tho ^^'
@DeadManRising36
@DeadManRising36 Год назад
@@LayTheNess I think its a typo ;)
@mynameisname6162
@mynameisname6162 Год назад
@@coldblackice vim
@oladunk4293
@oladunk4293 Год назад
In my opinion the best tutorial for a newbie like me. Thank you!
@averagetomas5755
@averagetomas5755 Год назад
This was great, for someone who hasn't used visual studio very much this was coherent and easy to understand.
@amalboumen9622
@amalboumen9622 Год назад
omg that was soo clear and helpful , we need more tutorials like thiis you're amazing
@mohamadmaleki3026
@mohamadmaleki3026 2 года назад
I've done all the way you explained and it worked for me very well. Thanks.
@wakeelfurqanahmed2940
@wakeelfurqanahmed2940 3 месяца назад
was looking for the workload, thankfully this video has
@anchorsites4158
@anchorsites4158 4 месяца назад
explained each and everything in an excellent way
@billwilson6670
@billwilson6670 2 года назад
Just learning c++ and this is the best video I have found on this topic.
@sousra5080
@sousra5080 Год назад
I am speechless, it's too good to be for real. Big thanks
@ralphgehteha9924
@ralphgehteha9924 Год назад
THX! Essential video. I really don't know why MS makes it so longwinded and complicated to kick off a project as easily as with VB.
@rscgln
@rscgln Год назад
I have an answer to this, but I cannot write it "politely"...
@holden_71
@holden_71 Год назад
What a nice tutorial! Thank you so much! Keep on updating.
@Augustinevlog
@Augustinevlog 2 года назад
Damn, you're a good teacher 👏 🙌 ❤
@beatifulkoala3406
@beatifulkoala3406 2 года назад
This is the best explaind video about WinForm! Thank you!
@BoostMyTool
@BoostMyTool 2 года назад
You're welcome
@AlbertDongler
@AlbertDongler 9 месяцев назад
Superbly useful. Thank you !!!!! 🙂
@ЖаннаБелецкая-ж7э
@ЖаннаБелецкая-ж7э 5 месяцев назад
Thank you! the video is very helpful
@adityarajamani93
@adityarajamani93 2 года назад
it says i have an error in line 1 i.e the #include "MainForm.h"
@flakesnow492
@flakesnow492 3 месяца назад
成功了老哥感謝
@SuvobrotoPal
@SuvobrotoPal 11 месяцев назад
Thank you very much for such a nice video , From Kolkata City, India 🙏🙏
@the_simone
@the_simone 2 года назад
This helped me a lot. Thank you!
@salehahmed3687
@salehahmed3687 2 года назад
thank you man, I have search for one hour to find like this video
@DemonDNF
@DemonDNF Год назад
Excellent! I had 3 mistakes, but I found them after tearing my hair out for 20 minutes. :) The suggested variable names offerred by VS is a great way to make sure we're using the proper spelling (DARN CASE ERRORS).
@DemonDNF
@DemonDNF Год назад
Couldn't figure out why I kept getting a link error for "main". An hour later, might as well read the comments and there you are; I had typed it as Main in linker. :D Thanks!
@g51661
@g51661 Год назад
I am getting build error and internal compiler error . Can u help in this?
@STEAMChannelOfficial
@STEAMChannelOfficial 7 месяцев назад
Good video! in the later version (in 2024) you dont need to restart to view designer.👍
@juanpalacios6251
@juanpalacios6251 2 года назад
OMG bro, thanks, you save me from a teacher from my U, he uses an old version
@mohamadmaleki3026
@mohamadmaleki3026 2 года назад
I'm waiting eagerly for your next video on subjects similar to this one. Visual Studio C++ Window Form / thanks a lot
@BoostMyTool
@BoostMyTool 2 года назад
next video will be on login/registration forms and is expected for 25 december
@BoostMyTool
@BoostMyTool 2 года назад
This is a new video on login form: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N1DarSDMVWo.html
@giro2504
@giro2504 Год назад
Very much appreciated. Thank you in advance!
@animazmishvili2960
@animazmishvili2960 2 года назад
My 🦸‍♂️ hero! Thanks 🙏🏻👌🏻👍🏻
@leonardofreedy9551
@leonardofreedy9551 2 года назад
Help me pls? MSIL module encountered; incremental linking is disabled for MSIL; performing full link fatal error LNK1306: DLL entry point "void __clrcall main(cli::array^)
@Themandalorian2030
@Themandalorian2030 2 года назад
I adore you BROOOO thank you for the the video
@alishafii9141
@alishafii9141 Год назад
thanks a lot.continue this way and good luck
@SteveGerard-z5x
@SteveGerard-z5x 7 месяцев назад
fantastico !! Microsoft makes everything sooooo complicated !!
@creativehuman3d383
@creativehuman3d383 2 года назад
thanks men your video is awesome i learnin much
@brock2k1
@brock2k1 2 года назад
Just what I was looking for. Please keep posting your excellent tutorials.
@malicianewowlala6655
@malicianewowlala6655 Год назад
Very good tutorial. Thanks a lot.
@berrimamouheb9472
@berrimamouheb9472 2 года назад
very good tuto, thank you
@BoostMyTool
@BoostMyTool 2 года назад
You're welcome si berrima
@ВікторЗеленін-д1ч
@ВікторЗеленін-д1ч 7 месяцев назад
cool video)
@stockanalogy8108
@stockanalogy8108 2 года назад
Everything is fine I am unable to connect sqlite database, and there is no sufficient tutorials on this, everyone is showing on cli project only. i think I need to go back to python for the project. I dont have much knowledge of c++
@taddyriveros6444
@taddyriveros6444 2 года назад
me ayudaste arto, gracias desde latinoamerica :)
@tekklov2646
@tekklov2646 Год назад
Thanks this helps me
@Wan_Destroyer
@Wan_Destroyer 2 года назад
It work thankkkkkksssss my First c++ project
@chunchunmaru6832
@chunchunmaru6832 2 года назад
I'm still confused, what are the documentation that I can refer to for this type of project? is it C#? is it CLR? is it C++ or is it .NET programming language? What if I just want to create a simple if..else function that looks for the string "Rambo" in the First Name, it will pop different messagebox. I'm confused 🤔
@chunchunmaru6832
@chunchunmaru6832 2 года назад
@abl3 I use Embarcadero with C and C++ now. But thank you for the suggestion
@learnethicalhacking8492
@learnethicalhacking8492 2 года назад
@@chunchunmaru6832 who is abl3 ?
@sugonmadyik6222
@sugonmadyik6222 2 года назад
thanks for the tutorial
@festuskoech6125
@festuskoech6125 2 года назад
Thank you so much. Amazing and understandable.
@Noet-bm2vg
@Noet-bm2vg 4 месяца назад
Why I can't add anything from the toolbox to the form? Please help me!
@smaugcow
@smaugcow 2 года назад
Thanks very much!!!
@morriscianfriglia1204
@morriscianfriglia1204 Год назад
Great job Bro 💪💪💪🤙😀
@xkiller786
@xkiller786 Год назад
hello sir. what u did in video after time 10:46. how u get a script
@S4IM_110
@S4IM_110 Год назад
Yeah, I’m stuck here too
@billnorton5043
@billnorton5043 Год назад
I think he cut and pasted it from somewhere like Notepad. I just carefully typed it in and it worked.
@andycobra49aor
@andycobra49aor 2 года назад
Mr. BoostMytool How are you? I have download the compiler and installed. It works great so far but I have not ran the program yet, I will do it today, If I have some problems I hope you can help me out PLEASE. I was looking for a software like this one, similar to the Visual Studio Express 2013, and I found it because your great job in posting it in RU-vid. Again Thanks for the great job, if I need some help, please I really appreciated. I do enjoy coding and make applications that connect in the internet. Anyways, thanks Respectfully; Andy Disable Vet Texas
@mujgankanal9848
@mujgankanal9848 2 года назад
I am trying to make a quiz but I can’t… can you upload a video about making a quiz in visual studio with c++ ? That’s my final project and I can not find any video about it🙏🙏🙏
@achiltsompanos447
@achiltsompanos447 Год назад
Oh man…, it looks like it’s easier to achieve lift off with the space shuttle!
@bopthing1
@bopthing1 2 года назад
when i launch the program, there is nothing on my window. is there any way to fix this?
@camaro24pl
@camaro24pl 2 года назад
Thank you very much ! ;)
@leonardj.sparks9348
@leonardj.sparks9348 Год назад
my toolbox on VS contains only a couple of tools. Someone can tell me how can i update them? thanks
@adityarajamani93
@adityarajamani93 2 года назад
I am getting an error as "Entry point must be defined" How do i fix tht
@anlpereira
@anlpereira 5 месяцев назад
Hi, every time a click the button to add a new UI the Visual Studio crashes. What could be?
@Scorpio-ed7sj
@Scorpio-ed7sj 2 года назад
i develop a gui application by clr c++, but it is not running on any other pc, i have included all .dll files. some error with code 0xc0000007b
@xurshidqandiyorov92
@xurshidqandiyorov92 2 года назад
thank you very much
@marccastlerock6997
@marccastlerock6997 2 года назад
for me : Error LNK1104 cannot open file 'ucrtd.lib'
@marccastlerock6997
@marccastlerock6997 2 года назад
i add the right folder in library directories that miss. :D
@js3863
@js3863 2 года назад
The code is automatically there you don't type and explain what is that codes for ...
@Vlingn
@Vlingn 9 месяцев назад
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!!!
@millenia2222
@millenia2222 Год назад
Good video, should make one with errors and fixes
@donovanpayne1587
@donovanpayne1587 Год назад
when I try to use #include in my cpp source file I get errors connected to the code in your pinned comment. Very new to this not sure why this is happening
@samkelo_m_
@samkelo_m_ 7 месяцев назад
Danke Bruder🫡
@anojann100
@anojann100 Год назад
Im getting an error "object reference not set to an instance of an object"
@ApoorvSaxena8
@ApoorvSaxena8 2 года назад
very useful video I created my first form. please upload advanced version of this to create more applications.
@BoostMyTool
@BoostMyTool 2 года назад
thanks. I want to create many more videos in the next few weeks. For the moment, you can check this video on login/registration forms : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-huCyyUVYk3g.html
@ApoorvSaxena8
@ApoorvSaxena8 2 года назад
@@BoostMyTool Thanks i am watching
@tonysinclair3265
@tonysinclair3265 2 года назад
Great tutorial, but why does VS give an error and make you restart every time you create a new project?
@BoostMyTool
@BoostMyTool 2 года назад
it is a bug
@AkeemBousquet
@AkeemBousquet 9 месяцев назад
Basics of programming
@wastedkafir9134
@wastedkafir9134 10 месяцев назад
Your thumbnail title is misguiding. I came here to see c++ but this is NOT c++. this is CLR c++
@edwinelowsson9538
@edwinelowsson9538 2 года назад
Hi the first time I tried this I got this error. From the beginning, now it worked. But now I've tried several times again and the same error comes up. LNK2001 unresolved symbol Main FirstCppProject LINK 1 LNK1120 1 unresolved externals
@vahn_legaia
@vahn_legaia 2 года назад
Did you find a fix? I have the same errors. Edit: Inside MainForm.cpp I had to add a bunch of code.. make sure to change the CHANGETHISTOPROJECTNAME part to your project name using namespace System; using namespace System::Windows::Forms; [STAThreadAttribute] void Main(array^args){ Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); //put Project name below CHANGETHISTOPROJECTNAME::MainForm form; Application::Run(% form);
@motasam8122
@motasam8122 Год назад
When I press run Microsoft visual Studio Display this message Unable to start program 'CUsers\ScsDocuments\cpApp\og in form Debug\log in form.exe The system cannot find the file specified Please make video how to solve this problem
@iteeshollow
@iteeshollow Год назад
LOL, ive got an error and cannot find it. I think is missing } someplace, as it complains about that yet when i add one, im not adding it in the correct location. I guess ill start all over, which in real isnt the way to go about finding the error! but i have no idea how to trace it.... i do know its in the header file, the main says string doesnt exist. yeah.
@iteeshollow
@iteeshollow Год назад
Found it. so ☺
@andycobra49aor
@andycobra49aor 2 года назад
Mr. BoostMyTool; How are you sir? I was waiting for long time to find someone like your self that show a video education like this one with C++/C Windows Form Visual Studio 2022. The reason why is that I used to have 2013 C/C++ Visual Express which makes it easy to program because when you select new project, it built its own Form window which the only thing you have to do is to place the object in the window, select them, and write the codes in it. Now, can you please help me to setup or point me in the right direction to install, setup Microsoft Visual 2022 C/C++ the same way that you have it to make it easy to build windows program. Thanks for your help and dedication, I will be waiting in your answer, thanks. Respectfully; Andy Disable Veteran Texas
@BoostMyTool
@BoostMyTool 2 года назад
Hello, you can follow this video for the installation steps of visual studio: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6pjzYcrlhx0.html
@anisurrahaman7165
@anisurrahaman7165 2 года назад
When i create multiple cpp file under source file then my code can't run.. means second code can't run... as well as when i press Ctrl + F5 to run the code then program crash... Please help to fix this problem....
@BoostMyTool
@BoostMyTool 2 года назад
You can create multiple cpp files, but only one file can contain the main method. In this new video, I created 3 cpp files: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N1DarSDMVWo.html
@ayoubfodil9506
@ayoubfodil9506 2 года назад
What about c++ design desktop app how is it?
@marc-andreduval403
@marc-andreduval403 2 года назад
i got the error code c4829 and the application won't start
@jotaefedev
@jotaefedev Год назад
Hi dear, you have worked c++/clr for Http Post Request ??
@carlosotsubo3763
@carlosotsubo3763 8 месяцев назад
i dont have de CLR option please help me, what a should install?
@fluidmind3629
@fluidmind3629 2 месяца назад
do i need to make this on every project ?
@LordDrw
@LordDrw 2 года назад
Thank you, I was looking for this tutorial soooo much. Debugworks great, but If I want to Release, I click build->cleanproject, than build->buildProject, set to release and start.. I have one error: LINK1561 entry point must be defined. Could you plese help with this. I used google to find solution, unfortunately it didn´t help m... :(
@LordDrw
@LordDrw 2 года назад
I solved, Don´t know why, but properities was clear. If next one has same problem. CHECK PROPERITIES
@sabadvali9322
@sabadvali9322 Год назад
how do i get textbox string input from h file
@asadmahmood6724
@asadmahmood6724 2 года назад
Well, your skipped the coding part, Want to know how to code this !
@RR-eq4jr
@RR-eq4jr 9 месяцев назад
Trying this with VS 2019 Community. I had to change void main into int main, otherwise it's not working.
@awesomeasadbro
@awesomeasadbro 3 месяца назад
can u make hostel accomodation system on visual studio GUI
@DavidMillsom
@DavidMillsom 2 года назад
I get link error because of unresolved symbol main
@СергейБелов-э2ш
@СергейБелов-э2ш 2 года назад
Хоть и не по-русски, но наглядно и информативно!)
@thefaisal6471
@thefaisal6471 2 года назад
А пусть русский учит, полезно будет этому индусу, который кроссовки мне шил
@arphaksad01
@arphaksad01 Год назад
Code is not compiling. Never mind. The fix to link errors and such is to add the code that BoostMyTool posted in the MainForm.cpp file.
@KatlegoMmadi
@KatlegoMmadi Год назад
Bro please expand .I'm also having the same problem when running the program
@bimanchatterjee7001
@bimanchatterjee7001 2 года назад
good tutorial
@AnaKwayri
@AnaKwayri 4 месяца назад
I can't find this CLR template?
@Gnostic_Way_of_Life
@Gnostic_Way_of_Life 9 месяцев назад
The toolbox is missing for me, please help!
@ralphgehteha9924
@ralphgehteha9924 Год назад
What is (% form)?
@MrWitcher1
@MrWitcher1 2 года назад
Why microsoft removed c++ windows form application creation from new project section??? this way very complicated
@BoostMyTool
@BoostMyTool 2 года назад
They recommand using C#. The use of C++ is not adviced with .NET
@AliAkbar-kz3mv
@AliAkbar-kz3mv 2 года назад
very nice
@GokdenizCetin
@GokdenizCetin 9 месяцев назад
"#include " gives error
@stanhuang9194
@stanhuang9194 6 месяцев назад
I don't understand why the main program body appears suddenly at 12:05. Can tell me?
@stanhuang9194
@stanhuang9194 6 месяцев назад
The code snippet is at the 1st post of this video from the author.
@adityarajamani93
@adityarajamani93 2 года назад
How do i fix it
@andycobra49aor
@andycobra49aor 2 года назад
Mr. BoostMyTool; How are you again? hope you are doing fine and educating more folk out there. Can you educate me more about the meaning, VOID, PRIVATE, PUBLIC PLEASE? I know I can do it myself but I am sure that a professional, master like you with a lot patience can explain more how that work with examples if not, what videos I can watch that way I can have more understating how it work, the meaning in the C or C++ coding. Thanks for the great dedication, and patience. Respectfully; Andy Disable Vet Texas
@Iamshabna21
@Iamshabna21 Год назад
How to download this website
@jz4tigerblue
@jz4tigerblue 2 года назад
didn't work it kept saying that couldn't find main repository or file
@BoostMyTool
@BoostMyTool 2 года назад
I think you did not configure your project as explained when the new project is created
@traceywahanui1918
@traceywahanui1918 9 месяцев назад
where does the input data go?
Далее
BEST GUI TOOLKITS for C++ | Sciber
16:04
Просмотров 111 тыс.
Learning C++ by making a Game... in 1 Week?!
10:14
Просмотров 476 тыс.
Make Beautiful Desktop Applications in C++
25:51
Просмотров 593 тыс.
Cross Platform Graphical User Interfaces in C++
44:49
Просмотров 868 тыс.
Intro to Windows Forms (WinForms) in .NET 6
1:35:50
Просмотров 226 тыс.
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 916 тыс.
Qt Crash Course for Beginners - Create C++ GUI Apps
30:34