473,793 Members | 2,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does VB 2005 have full access to the framework?

I've read that the framework is completely accessible to c#.

Is that true for VB? If not, what parts of the framework are not accessible
to VB?
Dec 19 '05 #1
14 1392
"clarence_rolli ns" <so*****@micros oft.com> schrieb:
I've read that the framework is completely accessible to c#.

Is that true for VB? If not, what parts of the framework are not
accessible
to VB?


It's completely accessible to VB 2005 too, as it has been since VB.NET 2002.

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

Dec 19 '05 #2
I asked the question (which I should have included with my original post)
because I am moving from VB6 to either c# or VB. Some of the reasons I've
heard for moving to c# instead of VB are: more income, better employment
opportunities, complete access to the framework, elegant syntax and
professional respect.

For me, the first three reasons are compelling enough to study c# instead of
VB.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:u9******** ******@tk2msftn gp13.phx.gbl...
"clarence_rolli ns" <so*****@micros oft.com> schrieb:
I've read that the framework is completely accessible to c#.

Is that true for VB? If not, what parts of the framework are not
accessible
to VB?
It's completely accessible to VB 2005 too, as it has been since VB.NET

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

Dec 19 '05 #3
clarence_rollin s wrote:
I asked the question (which I should have included with my original post)
because I am moving from VB6 to either c# or VB. Some of the reasons I've
heard for moving to c# instead of VB are: more income, better employment
opportunities, complete access to the framework, elegant syntax and
professional respect.

For me, the first three reasons are compelling enough to study c# instead of
VB.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:u9******** ******@tk2msftn gp13.phx.gbl...
"clarence_rol lins" <so*****@micros oft.com> schrieb:
I've read that the framework is completely accessible to c#.

Is that true for VB? If not, what parts of the framework are not
accessible
to VB?


It's completely accessible to VB 2005 too, as it has been since VB.NET


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



-elegant syntax?
That is completely a matter of opinion and in mine, it's incorrect.

-more income, better employmentoppor tunities
Just look at the job boards, there isn't a difference.

-complete access to the framework
False

-professional respect
False, They do they exact same thing, it's just what syntax you know.
Dec 19 '05 #4
CMM
As a long time VB programmer (10 years) and a C/C++ programmer before that,
I do believe the "C" syntax is sometimes more concise than VB (for instance
I like the intuitive way you cast variables in "C" as oppossed to VB.NET's
CType(...) or DirectCast(...) methods). However, this is not a FUNCTIONAL
difference. In fact, in terms of really functional stuff VB is in a lot of
ways better than C#. One need only look at the sort of declarative way you
can do Event Handling in forms (using Handles keyword) as oppossed to C#'s
awkward overuse of delegates and such (which indeed are also available to
you in VB as well if you want to use them).

But, in the end, really it's a matter of taste I think. If you're a good
disciplined VB coder then you'll love VB.NET. If you still consider yourself
a sort of a lightweight VB programmer and need a little structure imposed on
you then you might want to look at C#.
"clarence_rolli ns" <so*****@micros oft.com> wrote in message
news:%2******** *********@TK2MS FTNGP11.phx.gbl ...
I asked the question (which I should have included with my original post)
because I am moving from VB6 to either c# or VB. Some of the reasons I've
heard for moving to c# instead of VB are: more income, better employment
opportunities, complete access to the framework, elegant syntax and
professional respect.

For me, the first three reasons are compelling enough to study c# instead
of
VB.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:u9******** ******@tk2msftn gp13.phx.gbl...
"clarence_rolli ns" <so*****@micros oft.com> schrieb:
> I've read that the framework is completely accessible to c#.
>
> Is that true for VB? If not, what parts of the framework are not
> accessible
> to VB?


It's completely accessible to VB 2005 too, as it has been since VB.NET

2002.

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


Dec 19 '05 #5
CMM
I would also add the multitude of methods available in the VisualBasic
namespace, which duplicate all the classic long standing BASIC statements-
some of which have been around since 1977. For instance, the C# (and indeed
generic .NET) way to retrieve a substring is to use String.Subtring (start,
length) function. However, this is an "Exception-Happy" function... which
throws exceptions for all sorts of things like if the string is smaller than
the length being asked for or hasn't been initialized or whatever.

The classic Left/Mid/Right statements (now in the VisualBasic namespace) on
the other hand are graceful and elegant. Left("smallstr" , 30) returns
"smallstr" and doesn't complain that the string is less than 30 characters
long... which is often exactly how you need String.Substrin g to work.

It's little things like that that C# folks don't miss because they don't
know them. (though even C# users can use the VisualBasic namespace if they
wished or knew about it! ;-) )

"CMM" <cm*@nospam.com > wrote in message
news:uE******** ******@TK2MSFTN GP10.phx.gbl...
As a long time VB programmer (10 years) and a C/C++ programmer before
that, I do believe the "C" syntax is sometimes more concise than VB (for
instance I like the intuitive way you cast variables in "C" as oppossed to
VB.NET's CType(...) or DirectCast(...) methods). However, this is not a
FUNCTIONAL difference. In fact, in terms of really functional stuff VB is
in a lot of ways better than C#. One need only look at the sort of
declarative way you can do Event Handling in forms (using Handles keyword)
as oppossed to C#'s awkward overuse of delegates and such (which indeed
are also available to you in VB as well if you want to use them).

But, in the end, really it's a matter of taste I think. If you're a good
disciplined VB coder then you'll love VB.NET. If you still consider
yourself a sort of a lightweight VB programmer and need a little structure
imposed on you then you might want to look at C#.
"clarence_rolli ns" <so*****@micros oft.com> wrote in message
news:%2******** *********@TK2MS FTNGP11.phx.gbl ...
I asked the question (which I should have included with my original post)
because I am moving from VB6 to either c# or VB. Some of the reasons
I've
heard for moving to c# instead of VB are: more income, better employment
opportunities, complete access to the framework, elegant syntax and
professional respect.

For me, the first three reasons are compelling enough to study c# instead
of
VB.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:u9******** ******@tk2msftn gp13.phx.gbl...
"clarence_rolli ns" <so*****@micros oft.com> schrieb:
> I've read that the framework is completely accessible to c#.
>
> Is that true for VB? If not, what parts of the framework are not
> accessible
> to VB?

It's completely accessible to VB 2005 too, as it has been since VB.NET

2002.

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



Dec 20 '05 #6

CMM
However, this is an "Exception-Happy" function...


Nice short description. I'll try to remember it me.

(Although I don't like the MID because my confusion forever between the zero
and one indexer).

I like more things as the IsDate function as sample for that, it creates a
try{
datetime.parse. ...........}
catch{
return error...}
end try

And is much easier to handle than.

:-)

Cor
Dec 20 '05 #7
"CMM" <cm*@nospam.com > schrieb:
I would also add the multitude of methods available in the VisualBasic
namespace, which duplicate all the classic long standing BASIC statements-
some of which have been around since 1977. For instance, the C# (and indeed
generic .NET) way to retrieve a substring is to use String.Subtring (start,
length) function. However, this is an "Exception-Happy" function... which
throws exceptions for all sorts of things like if the string is smaller
than the length being asked for or hasn't been initialized or whatever.

The classic Left/Mid/Right statements (now in the VisualBasic namespace)
on the other hand are graceful and elegant. Left("smallstr" , 30) returns
"smallstr" and doesn't complain that the string is less than 30 characters
long... which is often exactly how you need String.Substrin g to work.

It's little things like that that C# folks don't miss because they don't
know them. (though even C# users can use the VisualBasic namespace if they
wished or knew about it! ;-) )


Exactly. Some C# developers seem to be proud that they do not have a RAD
function library as VB and VFP have. It seems to me that they have never
used VB or VFP...

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

Dec 20 '05 #8
Herfried,
Exactly. Some C# developers seem to be proud that they do not have a RAD
function library as VB and VFP have. It seems to me that they have never
used VB or VFP...

I know one, who (as far as I remember me) told me once that you are an
amateur if you use the designer part to create a form layout.

(You know him as well).

However C# is of course full of RAD tools, maybe that there are more in
VB.Net however not in the major parts.

Let us not start a C#, VB.Net discussion because some C# or VB.Net
developpers have their own special opinions.

:-)

Cor
Dec 20 '05 #9
"Cor Ligthert [MVP]" <no************ @planet.nl> schrieb:
Exactly. Some C# developers seem to be proud that they do not have a
RAD
function library as VB and VFP have. It seems to me that they have never
used VB or VFP...
I know one, who (as far as I remember me) told me once that you are an
amateur if you use the designer part to create a form layout.


Well, in general I do not comment on such statements, but I believe that's
completely wrong. Typically the UI design should be completely separated
from the code and professional designers should create the forms instead of
developers. By creating forms directly in the code this separation is lost.
However C# is of course full of RAD tools, maybe that there are more in
VB.Net however not in the major parts.


I believe there are more in VB. Otherwise I'd use C#.

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

Dec 20 '05 #10

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

Similar topics

21
1808
by: Jim | last post by:
Hi I am a newbie to asp and i built this test program: <HTML> <HEAD><TITLE>Test</TITLE></HEAD> <BODY> the time is <% = Time %> </BODY> </HTML>
1
2873
by: Robert Halford | last post by:
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
8
1552
by: Peter Oliphant | last post by:
I have been using VS C++.NET 2005 Express as our company waits for the MSDN full version to arrive. It is a pretty amazing free tool! My question is I'd like to also do some VS C#.NET stuff too. So I'd like to download VS C#.NET 2005 Express while we are waiting as well. Problem is, although I've never tried, it says I have to uninstall all versions of 2005 before I can download C#.NET 2005 Express. So do I have to uninstall VS C++.NET...
6
2732
by: | last post by:
Hi all, is there a better way to stream binary data stored in a table in sql 2005 to a browser in .net 2.0? Or is the code same as in .net 1.1? We noticed that in certain heavy load scenarios, every now and then the client would timeout and have to re-initiate the request... TIA!
0
3355
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the Microsoft Visual Studio 2005 Software Development Kit. By providing a full help authoring environment within the Visual Studio 2005 SDK, Innovasys is providing developers building components and products that integrate with Visual Studio 2005 a...
0
1819
by: innovasys | last post by:
TORQUAY, DEVON, UK - Innovasys announced the release of Document! X 5, the fifth version of the documentation solution of choice for developers using Microsoft Visual Studio or the .NET Framework. Document! X 5 automatically produces professional quality technical documentation and on-line help for Microsoft .NET Framework assemblies (.NET Framework 1.0, 1.1 and 2.0 are all supported), COM components and controls, Visual Basic source code,...
4
1499
by: marsze | last post by:
Hi I succesfully finished a simple form program in VC express 2005. I tested the program in another machine, after installing the runtime libraries and .NET framework 2, and is working fine. Now' i'd like to make the program available from the network server drive to other users (after they install the runtime and .net framework in their machines).
25
2480
by: Marco | last post by:
Hi everyone. I've been trying to move some small applications written in vb.net 2003 to vb.net 2005 express just for testing purposes. I have noticed so far that the applications seem to run much slower in the 2005 version. Especially when it comes to nested loops. I haven't done much testing so it might just be this one computer but I was curious to know if anyone else has experienced these kind of problems when moving to the 2005...
1
7209
by: jabbari | last post by:
Hello, Please Help us...! I have a big problem ,so i searched on google and other search engine ,then I realized that so many other people have the same problem and they, all, have'nt been able to solve it. My problem is: I want to import a dll in asp.net, and I have a major problem First i want to say that this dll works fine in a windows application written in C#, and It works fine when I use the ASP.NET development server (Local...
0
9670
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
9518
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
10430
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
10211
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...
0
10000
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...
0
9033
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...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
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

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.