473,395 Members | 1,386 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.

VB.net beginner


--
hello

1) I have only played around with VB.net a little but I know VB6 pretty well.
I just want to know does VB.net use basic controls with the same coding as
VB6 eg textbox, command, label,options....combo,list boxes use additem
with a '.'
2) where do the similarities end....I know graphics are set up a bit
different.

3) the heading code for each control is different to VB6 eg sub private..end
sub
VB.net has more API call look about it and it looks more complicated to use
than VB6. Is it more complicated to use compared to VB6 or it is much
better,faster?
Nov 21 '05 #1
8 1357
"=?Utf-8?B?am9obiBhbmRyZXc=?=" <jo********@discussions.microsoft.com>
wrote in news:8E**********************************@microsof t.com:
hello

1) I have only played around with VB.net a little but I know VB6
pretty well. I just want to know does VB.net use basic controls with
the same coding as VB6 eg textbox, command,
label,options....combo,list boxes use additem with a '.'
No, not really... the syntax has changed somewhat. So if you paste old
VB6 code into VB.NET, you'll have to make some changes. Most changes are
trival, but some may take more work.
2) where do the similarities end....I know graphics are set up a bit
different.
The whole premise of VB.NET is different. VB.NET is object oriented,
multi-threaded, and runs in a .NET environment (the code is non-
compiled, very similar to Java+JRE).

Check here for more information:

http://msdn.microsoft.com/library/de...l=/library/en-
us/dnvb600/html/vb6tovbdotnet.asp

http://msdn.microsoft.com/vbasic/usi...g/default.aspx
3) the heading code for each control is different to VB6 eg sub
private..end sub
VB.net has more API call look about it and it looks more complicated
to use than VB6. Is it more complicated to use compared to VB6 or it
is much better,faster?


I would say VB.NET is much better only because it's object oriented.
Then again, you lose the ability to compile native code in VB.NET which
maybe an issue for you

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #2


"Lucas Tam" wrote:
"=?Utf-8?B?am9obiBhbmRyZXc=?=" <jo********@discussions.microsoft.com>
wrote in news:8E**********************************@microsof t.com:
hello

1) I have only played around with VB.net a little but I know VB6
pretty well. I just want to know does VB.net use basic controls with
the same coding as VB6 eg textbox, command,
label,options....combo,list boxes use additem with a '.'


No, not really... the syntax has changed somewhat. So if you paste old
VB6 code into VB.NET, you'll have to make some changes. Most changes are
trival, but some may take more work.
2) where do the similarities end....I know graphics are set up a bit
different.


The whole premise of VB.NET is different. VB.NET is object oriented,
multi-threaded, and runs in a .NET environment (the code is non-
compiled, very similar to Java+JRE).

Check here for more information:

http://msdn.microsoft.com/library/de...l=/library/en-
us/dnvb600/html/vb6tovbdotnet.asp

http://msdn.microsoft.com/vbasic/usi...g/default.aspx
3) the heading code for each control is different to VB6 eg sub
private..end sub
VB.net has more API call look about it and it looks more complicated
to use than VB6. Is it more complicated to use compared to VB6 or it
is much better,faster?


I would say VB.NET is much better only because it's object oriented.
Then again, you lose the ability to compile native code in VB.NET which
maybe an issue for you

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

I dont really care if VB is OO or not. What I want is to do tasks eg
database, graphics , games. With VB6 you could do this but improvements could
be made.
From a novice point of view it is harder to learn than VB6. I need some more
experience but it really didnt impress me first off and it didnt impress the
large university I was at either as they refused to teach it.

I will keep at it though as I have experience with other programming.

Nov 21 '05 #3
"john andrew" <jo********@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
I dont really care if VB is OO or not. What I want is to do tasks eg
database, graphics , games. With VB6 you could do this but improvements
could
be made.
From a novice point of view it is harder to learn than VB6. I need some
more
experience but it really didnt impress me first off and it didnt impress
the
large university I was at either as they refused to teach it.


I don't think it is harder overall, although certain things are harder. I've
written introductory books aimed at novices, both for VB 6 and for VB.NET.
It was an interesting experience since I had to explain each task as simply
as possible with a short piece of sample code. In general, the VB.NET code
was no more complex than the VB 6 code; in fact, overall I would say it is a
little easier to learn. When it comes to more advanced applications, VB.NET
is well ahead. You also have the advantage of learning standard
object-oriented techniques, as opposed to the COM-based object orientation
in VB 6.

There was one point in the book where I found obscure code unavoidable. This
was to add a search feature to the Data Form generated by the Data Form
wizard. I found it necessary to use things like CurrencyManager and
BindingContext - not very intuitive for beginners. I believe this is easier
in Visual Basic .NET 2005.

Tim
..NET pros and cons
http://www.itwriting.com/phorum/list.php?f=6
Nov 21 '05 #4
John,

One little addition to Lucas text

You can use VBNet with late and early binding (Option Strict On).

The first is more VB6 what leads that you can compare

VBNet with early binding (Option Strict On) same performance as C#
VBNet with late binding same performance as VB6

The first is a fact the second is something to give an idea.

The way of coding has in my opinion as well a lot of those simulars.

I hope this gives as well some ideas?

Cor
Nov 21 '05 #5
> it didnt impress the
large university I was at either as they refused to teach it.


Yikes, what university is that?

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers - be part of it!
Nov 21 '05 #6
"Brian Schwartz" <br***@fishnetcomponents.com.no.spam> wrote in news:
#R**************@TK2MSFTNGP10.phx.gbl:
it didnt impress the
large university I was at either as they refused to teach it.


Yikes, what university is that?


Most universities don't bother teaching specific languages - it's upto the
students prerogative to learn the language. Rather universities teach
concepts. Concepts can be applied to all languages.

You can often see the difference between a university trained computer
programmer vs. a community college trained one. The university trained
computer programmer will first design the application (or at least think it
through) then program it in a logical manner. Often times programmers from
community colleges just sit down and start programming frantically. While
in the end both applications work, the application written by the community
college programmer is often a spaghetti code.

It would be beneficial if community colleges provided a bit more theory in
their teaching and universities a bit more practical knowledge.

Nov 21 '05 #7
<snip>
It would be beneficial if community colleges provided a bit more
theory in their teaching and universities a bit more practical
knowledge.


Interesting. I skipped both and have never regretted it. Real-life
experience has been a far better teacher than a classroom could ever be, I
think.

--

Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers - Be part of it!


Nov 21 '05 #8
"Brian Schwartz" <br***@fishnetcomponents.com.no.spam> wrote in
news:eA**************@TK2MSFTNGP15.phx.gbl:
<snip>
It would be beneficial if community colleges provided a bit more
theory in their teaching and universities a bit more practical
knowledge.


Interesting. I skipped both and have never regretted it. Real-life
experience has been a far better teacher than a classroom could ever
be, I think.


Real-life experience is only part of the whole equation. But good practices
and theory does help a lot.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #9

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

Similar topics

5
by: Richard B. Kreckel | last post by:
Hi! I was recently asked what book to recommend for a beginner in C++. I am convinced that you needn't study C in depth before learning C++ (though it helps), but cannot find any beginner's...
8
by: Grrrbau | last post by:
I'm a beginner. I'm looking for a good C++ book. Someone told me about Lafore's "Object-Oriented Programming in C++". What do you think? Grrrbau
7
by: Rensjuh | last post by:
Hello, does someone have / know a good C++ tutorial for beginnners? I would prefer Dutch, but English is also fine. Hoi, heeft / kent iemand nog een goede C++ tutorial voor beginners? Het liefste...
27
by: MHoffman | last post by:
I am just learning to program, and hoping someone can help me with the following: for a simple calculator, a string is entered into a text box ... how do I prevent the user from entering a text...
18
by: mitchellpal | last post by:
Hi guys, am learning c as a beginner language and am finding it rough especially with pointers and data files. What do you think, am i being too pessimistic or thats how it happens for a beginner?...
20
by: weight gain 2000 | last post by:
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks!
5
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
10
by: Roman Zeilinger | last post by:
Hi I have a beginner question concerning fscanf. First I had a text file which just contained some hex numbers: 0C100012 0C100012 ....
10
by: hamza612 | last post by:
I want to start learning how to program. But I dont know where to start. From what I've heard so far c++ is not a good lang. to learn as a beginner because its very complicated compared to others...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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...
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.