473,769 Members | 5,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1244
>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
4051
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 ; Intermediate/Advanced Database designer . Because of the requirements , I must create Web Application . Access Pages is not suitable for that so I think about learning VB Net / ASP Net . I am
1
1375
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 string userName", where I have inputted a user name. I am trying to get at this data from my frmMain to my frmAdd. I thought this is the correct syntex for outputting the info in my textbox (scratching my head), maybe it's not. So please let me know...
5
2410
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 Application.ExitThread in the same thread that it is running.
0
5082
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 trying the UserControl a lot of hours I have the feeling that c# (or .Net) fails. Thus, I have developed a simple program with 3 textBox, 1 Botton and 1 ListBox (for showing results) which fire OnEnter, OnGotFocus,
0
3940
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 - Select from two specific services - Check the status of the server
12
4230
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 System.Windows.Forms.Form Private formForm2 As New Form2
2
2161
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 ----------------------- I have an mdi parent form.
1
2099
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 works. The first set of code I downloaded from internet and when i tried it, it worked fine. But when I changed the second part of the code it started to give me trouble. Before I changed the code they used Datacolumns,Datarows and Datatables and...
0
1179
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. Clicking on any of the menu optins displays a new page in the right hand frame. So far this works ok, however I have tried to add a drop down option to the menu page. Clicking on any of the dropdown options displays the desired page, but in the left hand...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10039
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3955
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3560
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.