474,037 Members | 43,894 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To VB or not to VB?

A co-worker where I work is proposing all future code devopment be done
in Visual C#. Here is his assessment of VB:

VB.NET is hack as far as the CLR(Common Language Runtime) goes. It was
retrofited into the .Net framework for those people who simply don't,
and do not care to, understand object oriented programming. Quite a
few of it's (features) were forced into the language through very ugly
means to make it easier for the VB guys to bring in their code. Things
like "static" veriables and functions are called "shared" in VB.NET,
because the keyword static was already used in VB6. VB.NET is loaded
with these kinds of little idiocies.

Any comment?

Jan 5 '06
62 5277
"Ken Halter" <Ken_Halter@Use _Sparingly_Hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..

Another great feature would be one that replaces a predefined set of VB6
classes with dotNet classes that do exactly the same thing. For example, I


The more I think about this one, the more I like the idea. Since we're
focusing on code re-use (Right?!!!), I think it would be an excellent
feature. Sounds extremely simple too.

First Pass...
Scan project for known classes
If any are found, simply swap them with the matching dotNet class
and
mark that part of the project "done" to the wizard. No need for the
Wizard to rescan this part of the project.
Second Pass...
Run the wizard in "normal" mode, checking for classes replaced by the
first pass, so they can be skipped.

Done. Far fewer reported errors and warnings, true code reusability,
everyone wins. End of story <g>

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Jan 21 '06 #41
"Ken Halter" <Ke********@Hot mail.com> wrote in message
news:Oh******** *******@tk2msft ngp13.phx.gbl.. .
feature. Sounds extremely simple too.


Just as I thought <sigh>... Posting suggestions for dotNet from an "Actual
VB6 developer" is like talking into a vacuum. HUGE waste of time because the
direction dotNet's taking has already been set in stone so, as a VB6
developer, our "suggestion s" are nothing more than something for the dotNet
product team to print out and use as toilet tissue.

The sudden drive to get VB6 devs to use B# is purely a marketting ploy to
get people to buy dotNet. What they do with it once they've shelled out the
money, is their problem. Code re-use.... HA! Wizard..... HA!

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Jan 23 '06 #42
Ken,

Just as I thought <sigh>... Posting suggestions for dotNet from an "Actual
VB6 developer" is like talking into a vacuum. HUGE waste of time because
the direction dotNet's taking has already been set in stone so, as a VB6
developer, our "suggestion s" are nothing more than something for the
dotNet product team to print out and use as toilet tissue.


I disagree this completely with you. In my opinion is there now to much in
VB.Net what would not be there if there was not that big VB6 advocacy, which
seems for me extremely stronger than the Linux one.

At least I am not very lucky with some of the so called improvements in
version 2005 which becomes because of this advocacy, which have helped to
improve VBNet with the at least not always logical behaviour of VB6, without
that they knew anything from VB.Net.

Every developer knows in advance what it the result of these kind of
improvements. However the VB6 avocacy is strong.

Just my opinion.

Cor
Jan 23 '06 #43
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:OG******** ******@TK2MSFTN GP11.phx.gbl...
Ken,

Just as I thought <sigh>... Posting suggestions for dotNet from an
"Actual VB6 developer" is like talking into a vacuum. HUGE waste of time
because the direction dotNet's taking has already been set in stone so,
as a VB6 developer, our "suggestion s" are nothing more than something for
the dotNet product team to print out and use as toilet tissue.


I disagree this completely with you. In my opinion is there now to much in
VB.Net what would not be there if there was not that big VB6 advocacy,
which seems for me extremely stronger than the Linux one.

At least I am not very lucky with some of the so called improvements in
version 2005 which becomes because of this advocacy, which have helped to
improve VBNet with the at least not always logical behaviour of VB6,
without that they knew anything from VB.Net.

Every developer knows in advance what it the result of these kind of
improvements. However the VB6 avocacy is strong.

Just my opinion.

Cor


Well... I can't count the number of times I've seen an MS employee say "post
your ideas" and, when we do, they're completely ignored. The problem with
most of the "improvemen ts" as far as VB6 migration goes, since VB6 has
always been "just a toy" to MS and no one there used it for any reasonable
amount of time, they're implementing features they "assume" VB6 developers
want (can't seem to provide a decent immediate window or single procedure
view though).

So, what you're saying is, B# is getting worse as a result of these
"improvemen ts" eh? That doesn't surprise me at all. VB6 compatibility isn't
just some band-aid you can simply paste on top of a framework to please VB6
developers. Personally, I have 10s of thousands of lines of code that are
instantly broken by dotNet. Since most of my projects include several
classes that perform the exact same thing, no matter what project they're
in, I thought it would be a good idea to feed those through the "wizard" and
never have to deal with them again. If that "wizard" found one of those
"pre-converted" classes, it could simply swap one file for another, instead
of parsing the class and reporting tons of errors every single freaking time
it comes across one of these exact same classes in a project.

Since B# is a completely new language, it should never have been called "VB"
in the first place. If only they'd have been honest, we wouldn't be having
these issues today, at all. VB6 support in B# could've been completely
dropped.

NET Software Legend Juval Lowy agrees with that too, saying the only thing
VB6 has in common with VB.Net is the letters "V" and "B" in their names. You
can hear that in the following podcast....

VB6 Glass Ceiling
http://blogs.duncanmackenzie.net/dun...0/28/3148.aspx

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Jan 23 '06 #44
Cor,

"Cor Ligthert [MVP]" <no************ @planet.nl> schrieb:
Just as I thought <sigh>... Posting suggestions for dotNet from an
"Actual VB6 developer" is like talking into a vacuum. HUGE waste of time
because the direction dotNet's taking has already been set in stone so,
as a VB6 developer, our "suggestion s" are nothing more than something for
the dotNet product team to print out and use as toilet tissue.


I disagree this completely with you. In my opinion is there now to much in
VB.Net what would not be there if there was not that big VB6 advocacy,
which seems for me extremely stronger than the Linux one.

At least I am not very lucky with some of the so called improvements in
version 2005 which becomes because of this advocacy, which have helped to
improve VBNet with the at least not always logical behaviour of VB6,
without that they knew anything from VB.Net.


Unfortunately that's not what people were asking for. There are only very
few (mainly in the VB.NET team) who think that faking VB6 in VB.NET by
introducing some phantom features is a good idea. Personally I think that
VB6 must have a future -- managed or not -- and VB.NET should not be
crippled by introducing features known from VB6 such as referring to default
instances using a form's class name. The latter won't solve the migration
problem. It's a bait for former VB6 developers and managers who are made
think that VB 2005 is the new VB6. Even dropping the ".NET" from the
programming language's name perfectly fits into this schema.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 23 '06 #45
Hi John,

I'd be grateful if you could respond to my last reply to Matt Getz in this
thread, and carry on with the questions he felt unable to answer.

--
Regards
Jonathan West

Jan 23 '06 #46
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eQ******** *****@TK2MSFTNG P12.phx.gbl...

Unfortunately that's not what people were asking for. There are only very
few (mainly in the VB.NET team) who think that faking VB6 in VB.NET by
introducing some phantom features is a good idea. Personally I think that
VB6 must have a future -- managed or not -- and VB.NET should not be
crippled by introducing features known from VB6 such as referring to
default instances using a form's class name. The latter won't solve the
migration problem. It's a bait for former VB6 developers and managers who
are made think that VB 2005 is the new VB6. Even dropping the ".NET" from
the programming language's name perfectly fits into this schema.
I agree 100%. B# could've just taken off in it's own direction if it were
called anything other than "VB". It would've been better for everyone
involved. MS could still sell dotNet with its "super duper version of
'basic'" and VB6 users could be running VB6 with bug fixes in place.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Jan 23 '06 #47
Ken,

You have often written in this newsgroup VB.Net is not VB6.

Although I don't agree that completely with you, have I always agreed in the
context as you wrote this and given no comments.

Let I try an analogy.

English is a complex of languages that inherits most from North Sea
languages. Therefore it is a Germanic language. However it has implemented a
lot from other languages but mostly French. Other members of those North
Sea languages are Danish, Dutch and Fries, however you probably cannot speak
one of those languages.

In my idea is VB.Net is an apart member from the family of VB languages.

However just my idea.

Cor
Jan 23 '06 #48
Herfried,

"Cor Ligthert [MVP]" <no************ @planet.nl> schrieb:
Just as I thought <sigh>... Posting suggestions for dotNet from an
"Actual VB6 developer" is like talking into a vacuum. HUGE waste of time
because the direction dotNet's taking has already been set in stone so,
as a VB6 developer, our "suggestion s" are nothing more than something
for the dotNet product team to print out and use as toilet tissue.


I disagree this completely with you. In my opinion is there now to much
in VB.Net what would not be there if there was not that big VB6 advocacy,
which seems for me extremely stronger than the Linux one.

At least I am not very lucky with some of the so called improvements in
version 2005 which becomes because of this advocacy, which have helped to
improve VBNet with the at least not always logical behaviour of VB6,
without that they knew anything from VB.Net.


Unfortunately that's not what people were asking for. There are only very
few (mainly in the VB.NET team) who think that faking VB6 in VB.NET by
introducing some phantom features is a good idea. Personally I think that
VB6 must have a future -- managed or not -- and VB.NET should not be
crippled by introducing features known from VB6 such as referring to
default instances using a form's class name. The latter won't solve the
migration problem. It's a bait for former VB6 developers and managers who
are made think that VB 2005 is the new VB6. Even dropping the ".NET" from
the programming language's name perfectly fits into this schema.


We agree for 100% in this.

Cor
Jan 23 '06 #49
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Ken,

You have often written in this newsgroup VB.Net is not VB6.

Although I don't agree that completely with you, have I always agreed in
the context as you wrote this and given no comments.

Let I try an analogy.

English is a complex of languages that inherits most from North Sea
languages. Therefore it is a Germanic language. However it has implemented
a lot from other languages but mostly French. Other members of those
North Sea languages are Danish, Dutch and Fries, however you probably
cannot speak one of those languages.

In my idea is VB.Net is an apart member from the family of VB languages.

However just my idea.

Cor


You're 100% right about the fact that I can't speak any of those languages.
Thing is, no one's trying to sell Dutch as an upgrade to the English
language ;-) Since Dutch (and the rest) are completely different (including
their names), I'd expect completely different rules to apply. Wouldn't want
English to suddenly become "no longer supported"

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Jan 23 '06 #50

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

Similar topics

3
11293
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL) on the server because of that. Our site will have an SSL certificate next week, so I would like to use AIM instead of SIM, however, I don't know how to send data via POST over https and recieve data from the Authorize.net server over an https...
2
5893
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues to execute the code until the browser send his reply to the header instruction. So an exit(); after each redirection won't hurt at all
3
23087
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which field is completed.
0
8538
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. 354 roberto@ausone:Build/php-4.3.2> ldd /opt/php4/bin/php libsablot.so.0 => /usr/local/lib/libsablot.so.0 libstdc++.so.5 => /usr/local/lib/libstdc++.so.5 libm.so.1 => /usr/lib/libm.so.1
1
8648
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the column below. The viewer can select states from the drop down lists above the other two columns as well. If the viewer selects only one, only one column fills. If the viewer selects two states, two columns fill. Etc. I could, if appropriate, have...
4
18355
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the user comes back to a page where he had a submitted POST data the browser keeps telling that the data has expired and asks if repost. How to avoid that? I tried registering all POST and GET vars as SESSION vars but
1
6927
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url http://www.mis.gla.ac.uk/biquery/training/ but each of the courses held have maximum of 8 people that could be
2
31500
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value to :parameter I dont like the idea of making the SQL statement on the fly without binding parameters as I dont want a highly polluted SQL cache.
3
23639
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the results of the picture half the size. The PHP I have installed support 1.62 or higher. And all I would like to do is take and image and make it fit a 3x3. Any suggestions to where I should read or look would be appreciated.
0
10532
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10328
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
12120
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...
1
11978
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
11128
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8685
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...
0
7856
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6812
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4933
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.