VB 6.0 Vs VC++ 6.0

Hi,
I used to program with
1- Borland C++ 3.0 1995 - 1996 (without heating OOP)
2- VB 4.0 1996
3- left the programming business
4- VBA 6.0 2003 - 2004 - 2005
5- VB 6.0 2004-2005

So, i said to my self i should learn about VC++ 6.0 (combine my C++ & VB & VBA background)
I bought SAMS (teach your self in 21 Days)

I find is harder than VB to do simple window application.
What is wrong?
Me
The Book
VC++ 6.0
What should I do? Stay away from VC++ 6.0
Learn How to do OOP ActiveX programming in VB 6.0 instead migrate from VB 6.0 to VC++ 6.0
Is it not worth it to migrate to VC++ 6.0
[656 byte] By [MahmoudElgebali] at [2007-11-19 7:27:37]
# 1 Re: VB 6.0 Vs VC++ 6.0
VC6 was never really made for doing windows apps with the ease of VB. Whether you want ot learn VC6 is completely up to you... and depends on our needs, but now days I (personally) won't bother with it too much.

VB6 works nicely for quickly developing front ends... but they'll be slow.

The whole .NET architecture allows you to program so much more so much quicker. So, as far as development time goes, it just can't be beat. But there is a trade off in speed (another level of abstraction is always slower)... and Computers have to have the .NET framework enabled to run your progam. (I don't think the second problem is too bad, as I'll bet future versions of windows will have the CLR (i.e. .NET framework) embedded... So, in time the problem will pass. And who knows maybe someone will develop a .NET framework for linux... well one can live in hope.)

The C++ (i.e. VC7) included with VS .NET 2003 is far more ANSI C complient than VC6, so from that point of view, it is better too. C++ is always fast (unless you're an idiot when programming) but development time is much longer. Even once your thinking C++ it still takes longer because there is just more code to write and test.

Generally one can say there is a trade-off... I have often quoted this statement:
"You can have it quick OR you can have it quickly."
Pinky98 at 2007-11-9 20:44:31 >
# 2 Re: VB 6.0 Vs VC++ 6.0
So, i said to my self i should learn about VC++ 6.0 (combine my C++ & VB & VBA background)
I bought SAMS (teach your self in 21 Days)

I find is harder than VB to do simple window application.
What is wrong?
Me
The Book
VC++ 6.0
What should I do? Stay away from VC++ 6.0
Learn How to do OOP ActiveX programming in VB 6.0 instead migrate from VB 6.0 to VC++ 6.0
Is it not worth it to migrate to VC++ 6.0

Well in my humble opinion:
Get another book! I have used the very same SAMS book and it did not teach me much. rather look at Practical Visual C++ 6.0 from QUE.

Visual C++ is quite strange, I agree, but it's not too complicated - the only advice I can give you is to go through as many resources as you can, look at the Visual C++ forum here on dev-archive.
Try to write applications, struggle, continue - at the end it's worth it :thumb:
HanneSThEGreaT at 2007-11-9 20:45:38 >
# 3 Re: VB 6.0 Vs VC++ 6.0
Learn How to do OOP ActiveX programming in VB 6.0 instead migrate from VB 6.0 to VC++ 6.0
VB is dying:thumbd:
And learning any kind of C family language can be beneficial.
And who knows maybe someone will develop a .NET framework for linux... well one can live in hope.
Its already done!
Look for "mono" project :D

The whole .NET ....But there is a trade off in speed (another level of abstraction is always slower)Not much - and there are some cases when it is not true!

Visual C++ is quite strange, :confused: - Im loving it:D
Try to write applications, struggle, continue - at the end it's worth it :thumb:
And that's the spirit!
I agree :) .
Krzemo at 2007-11-9 20:46:43 >
# 4 Re: VB 6.0 Vs VC++ 6.0
Most things you can do in C++ you can also do in VB. C++ applications can be faster, but does the high performance have a real value ? For most common tasks the difference in speed is not large enough to be perceptible. Even if it were, you still have a long way to go beofre it becomes an issue.
Suppose application X written in C++ performs task T in 30 milliseconds and application Y written in VB performs the same task in 90 milliseconds the user will not even notice the difference. How slow should it be before the user begins to notice ? Perhaps 1000 milliseconds or more ? How much before s/he begins to care ? Maybe 3000 milliseconds or more. That much variation in performance is never due to the programming language used. Even if it's Java :)
Sahir at 2007-11-9 20:47:43 >
# 5 Re: VB 6.0 Vs VC++ 6.0
but does the high performance have a real value ? Very often - YES!!!!

Suppose application X written in C++ performs task T in 30 milliseconds and application Y written in VB performs the same task in 90 milliseconds the user will not even notice the difference.VB 1 second - and it is a difference that user usually feel and complain about.

Ive done many projects in VB and many times VB was so slow that I have to write C dll or ActiveX to speed things up. And thats the reason to hate it very much.

I also were forced to do some dirty tricks with COM to achieve multithreading in VB. :sick: Brrr...

That much variation in performance is never due to the programming language used. Even if it's Java And why all desktop programs are not written in Java - because Java made user interface is so slow that users get furious when they forced to work with it.

Yes VB is better (when speeking about performance only) than Java, but not very much :thumbd: . In Java U can do almost anything in pure Java (which is not the case for VB) and is multi -platform. So overall if I have to choose ... I will chose Java but since I have wider options I choose C++ and C# :p

Best regards,
Krzemo.
Krzemo at 2007-11-9 20:48:37 >
# 6 Re: VB 6.0 Vs VC++ 6.0
Thanks for all of you
I got an impression
1- I could stay with VB 6.0 for now to 1-2 yrs
2- on the mean time i should look at learning new language

So, my question

For some one like me
Strong experience with C not at all with C++ or VC++ (when it come to OOP and class, .....) .Very reasonable experience with VBA 6.0 and VB 6.0

1- what is the best language to learn? VB.NET / C++ .NET / C#?
2- should i explore C++ to help myself to learn C# or just jump to C# directly
3- Get more VB 6.0 for now then jump to VB.NET

Thanks
MahmoudElgebali at 2007-11-9 20:49:42 >
# 7 Re: VB 6.0 Vs VC++ 6.0
Well, quite frankly, you'll find C# .NET and VB .NET are the same language (just different words). So it doesn't really matter too much... but better to get used to C# rather than VB. Its far more the "industry standard" than VB for .NET programming.

DEFINITELY learn about OOP. How you managed to get along this far with out it I don't know. OOP is not going to go away any time soon, and is definitely the industry standard. Most big systems are written using OOP.

C++ is a pretty much a "must have" in industry. Its fast and its slick... It's probably one of the fastest high-level languages there is. (It is faster than C#. Always!! If it is slower then it is inefficient coding on the users side, not C++ that is slow... it all comes down to abstraction layers. That said... often half the problem with slow programs is inefficient coding and so C# does, to a certain degree, limit this.)

C# is quickly catching up with C# as a "industry standard". The time to market using C# is unbelievable. (This from a guy who spent a good protion of last night hitting his head against wall typing to do basic type conversion... which in C++ is just sooooo easy, but in C# requires a lot of coaxing.)

I see myself getting crucified for this next statement but here goes: With the advent of C#, JAVA will die (YEAH)... as C# basically fulfills what was it's market roll... It (JAVA) will still be used for cross-platform development for a while, but sooner or later it will fall away as C# and the .NET framework becomes more widely accepted. JAVA is just too dang slow.

In a nutshell my opinion of the way things are going is:
Soon the standard way of writing apps will be C++ backends (i.e. do all the work) and C# frontends (GUI). Its pretty much already this anyway.

VB.NET / C++ .NET / C#?
C++ and C#. Don't worry about VB .NET

explore C++ to help myself to learn C# or just jump to C# directly
Learn C++ for the sake of knowing C++. Don't worry about visual side of it though.
Learn C# as well. It really falls into place (mostly) once you know C++ though.

Get more VB 6.0 for now then jump to VB.NET
Na. Make the switch now.
Pinky98 at 2007-11-9 20:50:47 >