1

I need to make a windows app. Should I use VB or VB.net? What is the real difference actually? I downloaded visual studio for vb and right now I have "microsoft visual basic 2010 express". I'm assuming if I want to use VB.net it'll say "microsoft visual basic.net 2010 express". Where do I get that from though?

Jean-François Corbett
  • 37,420
  • 30
  • 139
  • 188
user2788405
  • 195
  • 2
  • 5
  • 16

2 Answers2

2

COM-based VB (i.e., "VB6") is obsolete and no longer sold.

VBA is only part of another app or product (such as Excel, Word, etc.) that hosts it and is not appropiate for a stand-alone app.

VB.Net is current, available for purchase (as part of Visual Studio), and supported.

So use VB.Net.

Ry-
  • 218,210
  • 55
  • 464
  • 476
RBarryYoung
  • 55,398
  • 14
  • 96
  • 137
  • 1
    available for purchase? VB.NET is a programming language which is [free](http://en.wikipedia.org/wiki/Visual_Basic_.NET). The IDE to develop using VB.NET is available for purchase but there are Express editions of Visual Studio which allow you to develop for free. –  Sep 19 '13 at 15:36
  • Appreciate the help guys! – user2788405 Sep 19 '13 at 15:47
  • @mehow That at various times in it's history it has been possible to get it for free is off-point. The point is that, unlike VB6 it is still available as (part of) a product that MS actively sells and markets, which means that they also fix problems and add new features. – RBarryYoung Sep 19 '13 at 15:58
  • 2
    I am really sorry @RBarryYoung but I just disagree with your statement. I think VB.NET is free. –  Sep 19 '13 at 16:09
  • @mehow It is ***also*** available for purchase. That's the point. – RBarryYoung Sep 19 '13 at 16:17
  • VBA is also free and comes with Windows. VBA is going to be more "system friendly" than vb.net. Declaring objects at run-time (VBA) keeps you out of the "missing reference" error hole. – user652411 Sep 19 '13 at 19:24
  • 1
    @user652411 No, *VBScript* comes with windows. VBA only comes within a product or application that hosts it (such as excel). – RBarryYoung Sep 19 '13 at 19:34
  • True VBScript comes with Windows. There isn't much difference in VBA and VBScript outside of not being able to assign a type to a variable in VBScript. – user652411 Sep 19 '13 at 19:55
  • 1
    @user652411 No, they are exceptionally different, as different as Javascript and Java. For one thing VBA is compiled and VBScript is interpreted. Also, they operate in completely different contexts, and they share no development tools that I know of. They just have a (somewhat) similar syntax, that's about it. – RBarryYoung Sep 19 '13 at 20:04
1

Visual Basic 2010 Express is the IDE to write VB.NET code. You already have the correct program.

As you're starting now - why not use the newest Visual Studio Express 2012?

Stefan M
  • 868
  • 6
  • 17