473,395 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

VC = wrong language for windows forms?

I've googled this a bit and suppose I know the answer, but I'd appreciate
any input:

I'd like to write windows forms apps in C++, but it seems almost as if that
is discouraged. As an example, practically all the books, etc. are written
for C# and VB. Even Petzold.

This begs the further question, is C++ the language of choice, or at least
on equal ground, for any form of .NET development? Or is it just passe as
far as MS is concerned?

C# would be fine, but I'm a student and really would rather be using C++
(even managed C++) since it matches my studies more closely.
Nov 17 '05 #1
3 1231
>I'd like to write windows forms apps in C++, but it seems almost as if that
is discouraged. As an example, practically all the books, etc. are written
for C# and VB. Even Petzold.
Possibly because MS didn't have WinForm designer support until VC2003.
:(
This begs the further question, is C++ the language of choice, or at least
on equal ground, for any form of .NET development? Or is it just passe as
far as MS is concerned?
MS seems to have the assumption that C++ is rarely used for UI
developments, therefore their initial emphasis has been elsewhere.
However, given that most of MS's crown jewel products are (I presume)
written in C/C++, they themselves must have a big requirement to get a
good implementation of C++ for the managed world - there are many
improvements in C++/CLI in the next (Whidbey) release. C++ is the only
MS .Net language that can seamlessly bridge the unmanaged and managed
worlds.
C# would be fine, but I'm a student and really would rather be using C++
(even managed C++) since it matches my studies more closely.


If you're looking to get a job afterwards, it may be best to learn to
be effective with both! :(

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2
> >C# would be fine, but I'm a student and really would rather be using C++
(even managed C++) since it matches my studies more closely.


If you're looking to get a job afterwards, it may be best to learn to
be effective with both! :(

I fully agree, try lo learn both of them.
If you are new to .NET then start with C# untill you have grasped the way
..NET is used best.
Then in a second phase try to learn the C++ part and especially mixed
managed/unmanaged.

If you start with C++ managed first then you have a far steeper learning
curve en might make you want to jump off a bridge. ;-)

But this is my point of view. :-)
Nov 17 '05 #3
Scott wrote:
I've googled this a bit and suppose I know the answer, but I'd
appreciate any input:

I'd like to write windows forms apps in C++, but it seems almost as
if that is discouraged. As an example, practically all the books,
etc. are written for C# and VB. Even Petzold.

This begs the further question, is C++ the language of choice, or at
least on equal ground, for any form of .NET development? Or is it
just passe as far as MS is concerned?

C# would be fine, but I'm a student and really would rather be using
C++ (even managed C++) since it matches my studies more closely.


I'll second (or third?) what others have said: Learn Windows Forms using
C#. If you need to tie some existing C++ code into your windows forms
application, use MC++ to do it. If you can wait a while, wait for Whidbey
and then switch to using C++ with Windows Forms.

-cd
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ;...
1
by: MikeY | last post by:
Hiya all, I am developing a windows form application. I am coding in C#. What I have is two forms/Classes, frmMain & frmAdd. In frmMain I have initialize & instantiated my variable as "public...
5
by: Franco, Gustavo | last post by:
Hi, I have a question, and please I need a answer. How can I finalize a thread running with Application.Run (I need the message loop!!!) without call Thread.Abort?. I want to call...
0
by: Miquel | last post by:
Hi all. I felt frustrated when developing an 'UserControl' derivated from textBox, because sequence event (and Validate event) seems to fail. I Always thought my code was wrong. But after...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
12
by: vvenk | last post by:
Hello: I have two forms, Form1 and Form2. Form1 has a command button that will open Form2. There can only be one Form2 open at any time. Here's my code: Public Class Form1 Inherits...
2
by: Lenster | last post by:
Environment --------------- Visual Studio.NET 2003 Version 7.1.3088 ..NET Framework 1.1 Version 1.1.4322 SP1 XP Professional 5.1.2600 SP2 Build 2600 Problem Description...
1
by: fiaolle | last post by:
Hi The first set of source code is the class for a combobox in a grid, hopefully. In the second set of code we try to use the combobox class, but the grid is empty. I don't understand how this...
0
by: Ian Johnson | last post by:
I am quite new to web development and am struggling with something that seems like it should be fairly simple. I have a page that uses frames. In the left hand frame a menu page is displayed....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.