How to learn Visual Studio
-
Hi All, I've been programming embedded processors and doing real time for quite a while and now I want to learn about Windows and how to use Visual Studio [2010] to do C++, put up windows and dialog boxes, etc. I thought I'd go to msdn, find the getting started stuff and get started. I cut and pasted the first example, regestering and putting up a window and it errored out on the window regestration. So now I come to the source of all knowledge, The Code Project, and would like to know how to get started using visual studio. If there are articals in CP to help me, that would be great! I've always found good stuff here in CP land. Thanks
Joe V My Blog on Testing Me, Myself, and I SGP Robotics team and FIRST Robotics
-
Hi All, I've been programming embedded processors and doing real time for quite a while and now I want to learn about Windows and how to use Visual Studio [2010] to do C++, put up windows and dialog boxes, etc. I thought I'd go to msdn, find the getting started stuff and get started. I cut and pasted the first example, regestering and putting up a window and it errored out on the window regestration. So now I come to the source of all knowledge, The Code Project, and would like to know how to get started using visual studio. If there are articals in CP to help me, that would be great! I've always found good stuff here in CP land. Thanks
Joe V My Blog on Testing Me, Myself, and I SGP Robotics team and FIRST Robotics
Joe Q wrote:
I want to learn about Windows and how to use Visual Studio [2010] to do C++, put up windows and dialog boxes
Windows programming can be done in plain C. I hope you already know this. But because you mention C++, the easiest choice would be the most often used library MFC. Since there is immense amount of knowledge sharing wrt MFC, using that will definitely help. As for Visual Studio itself, any decent book on MFC is going to have a few introductory pages on using Visual Studio environment. Try Jeff Prosise or Mike Blaszczak written books. HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
...byte till it megahertz...
-
Hi All, I've been programming embedded processors and doing real time for quite a while and now I want to learn about Windows and how to use Visual Studio [2010] to do C++, put up windows and dialog boxes, etc. I thought I'd go to msdn, find the getting started stuff and get started. I cut and pasted the first example, regestering and putting up a window and it errored out on the window regestration. So now I come to the source of all knowledge, The Code Project, and would like to know how to get started using visual studio. If there are articals in CP to help me, that would be great! I've always found good stuff here in CP land. Thanks
Joe V My Blog on Testing Me, Myself, and I SGP Robotics team and FIRST Robotics
I expect your problem is more one of Windows programming than using Visual Studio. Maybe MSDN hosts some videos you'll find useful. Maybe start here[^]. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I expect your problem is more one of Windows programming than using Visual Studio. Maybe MSDN hosts some videos you'll find useful. Maybe start here[^]. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
It is more of a Windows problem rather than a VS problem. Thanks for the link.
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
-
Joe Q wrote:
I want to learn about Windows and how to use Visual Studio [2010] to do C++, put up windows and dialog boxes
Windows programming can be done in plain C. I hope you already know this. But because you mention C++, the easiest choice would be the most often used library MFC. Since there is immense amount of knowledge sharing wrt MFC, using that will definitely help. As for Visual Studio itself, any decent book on MFC is going to have a few introductory pages on using Visual Studio environment. Try Jeff Prosise or Mike Blaszczak written books. HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
...byte till it megahertz...
I'm not worried about whether I'm using C or C++. I'm just trying build up some windows and dialog boxes so the user doesn't have to use the command line. (I'm a command line kind of guy but my bosses say it's too antiquated) I didn't realize MFC was still around. In any case I just want to be able to put up some windows for user input.
bleedingfingers wrote:
HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
I thought that .NET were libraries to help the user with the interface, system, etc. and were usable from C++ or whatever VS. Can .NET be used from C++? I'd rather not use C#, I work with 2 guys who became C# experts and now choose to never use it again. They have a whole list of reasons why but when they get on their anti-C# soap boxes I usually excuse myself becasue I know they'll be at it for a while.
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
-
I'm not worried about whether I'm using C or C++. I'm just trying build up some windows and dialog boxes so the user doesn't have to use the command line. (I'm a command line kind of guy but my bosses say it's too antiquated) I didn't realize MFC was still around. In any case I just want to be able to put up some windows for user input.
bleedingfingers wrote:
HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
I thought that .NET were libraries to help the user with the interface, system, etc. and were usable from C++ or whatever VS. Can .NET be used from C++? I'd rather not use C#, I work with 2 guys who became C# experts and now choose to never use it again. They have a whole list of reasons why but when they get on their anti-C# soap boxes I usually excuse myself becasue I know they'll be at it for a while.
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
-
Then MFC is your best bet. I would recommend Jeff Prosise's Programming Windows with MFC, and/or Mike Blaczszak's, Professional MFC with Visual C++.
...byte till it megahertz...
Thanks, I'll look those books up!
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
-
I'm not worried about whether I'm using C or C++. I'm just trying build up some windows and dialog boxes so the user doesn't have to use the command line. (I'm a command line kind of guy but my bosses say it's too antiquated) I didn't realize MFC was still around. In any case I just want to be able to put up some windows for user input.
bleedingfingers wrote:
HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
I thought that .NET were libraries to help the user with the interface, system, etc. and were usable from C++ or whatever VS. Can .NET be used from C++? I'd rather not use C#, I work with 2 guys who became C# experts and now choose to never use it again. They have a whole list of reasons why but when they get on their anti-C# soap boxes I usually excuse myself becasue I know they'll be at it for a while.
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
Joe Q wrote:
I work with 2 guys who became C# experts and now choose to never use it again
Joe Q wrote:
when they get on their anti-C# soap boxes...
You may have to choose your experts more carefully, and not take advice from soapbox characters. For Windows GUI programming, C# is what I use. Always. :-D
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
Joe Q wrote:
I work with 2 guys who became C# experts and now choose to never use it again
Joe Q wrote:
when they get on their anti-C# soap boxes...
You may have to choose your experts more carefully, and not take advice from soapbox characters. For Windows GUI programming, C# is what I use. Always. :-D
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I'm not worried about whether I'm using C or C++. I'm just trying build up some windows and dialog boxes so the user doesn't have to use the command line. (I'm a command line kind of guy but my bosses say it's too antiquated) I didn't realize MFC was still around. In any case I just want to be able to put up some windows for user input.
bleedingfingers wrote:
HOWEVER, these days, .NET and C# are gaining rapid grounds for Windows' development. I don't know from your question if you NEED to develop in C++ or to develop Windows' application. Either way considering .NET might be helpful (note: I myself am sticking to C++ and haven't yet moved to .NET).
I thought that .NET were libraries to help the user with the interface, system, etc. and were usable from C++ or whatever VS. Can .NET be used from C++? I'd rather not use C#, I work with 2 guys who became C# experts and now choose to never use it again. They have a whole list of reasons why but when they get on their anti-C# soap boxes I usually excuse myself becasue I know they'll be at it for a while.
Joe V FIRST Robotics Team 704 Blog Me, Myself, and I SGP Robotics team and FIRST Robotics
Joe Q wrote:
I'd rather not use C#, I work with 2 guys who became C# experts and now choose to never use it again. They have a whole list of reasons why but when they get on their anti-C# soap boxes I usually excuse myself becasue I know they'll be at it for a while.
Really? From my experience, and of the team on the last big project I was on (30+ programmers), C# is definitely a lot more productive easier to use than using C++, either managed or unmanged. And WinForms are a huge leap forward from MFC. Take a serious look at it, rather than listening to other people's opinions, and I think you might be pleasantly surprised...
Days spent at sea are not deducted from one's alloted span - Phoenician proverb