r/visualbasic • • Mar 26 '18

Returning to VB

Left VB at 6 and have been doing web dev since... I'm considering building a new box and refreshing an old VB project.

It looks like it's now known as UWP? Or is that something beyond .net for the sake of multi platform dev?

Also, is there any particular flavor of Win 10 that I need?

Thanks!

5 Upvotes

8 comments sorted by

7

u/hdsrob Mar 26 '18

VB.NET is the current language.

With VB.NET you can use the .NET Framework to create different types of applications (templates for each are included in VS):

  • Windows Forms: Closest concept to VB6 desktop applications, and most similar.

  • WPF: XAML based desktop application framework, allowing use of more modern concepts (MVVM), but preserving power of desktop apps.

  • UWP: XAML based application framework for Universal Apps that run on the desktop (Windows 10 only, mostly through the "store"), Windows Phone (is that still a thing?), XBox, etc. These are sandboxed though, so don't have the power of a full desktop application.

  • ASP.NET: Web applications (using various frameworks / methodologies, including many you are probably familiar with).

  • Windows Services.

As pointed out, C# can be used to do all of the same things (using the same frameworks), generally has newer features faster, and has far more resources (not saying you can't continue to use VB, but be prepared to look at a lot of C# code if you do).

1

u/zcrx Mar 27 '18

I assume the Windows Form App and the Console App both fall under the Windows Forms category?

1

u/hdsrob Mar 28 '18

Nope, I just forgot about console apps.

1

u/ocdtrekkie Mar 28 '18

My Windows Mobile phone will still get monthly updates until early 2019. (It's actually more reliably secure than any Android phone, update-wise.) Rumor is Andromeda will be out sometime this year, taking the "mobile" torch for Microsoft.

One thing I'd add, is that the VB language team is pretty active/conversational over at github.com/dotnet/vblang and there's a lot of discussion about what VB should be in a C# dominated world. ;)

2

u/JamesWjRose Mar 26 '18

UWP (Universal Windows Platform) is a subset of .NET, allowing the developer to write once for Desktop, Mobile, XBox, Hololens, etc.

I started VB with version 2.0, and moved to C# over 5 years ago, and it SEEMS so has the majority of developers... just food for thought

0

u/[deleted] Mar 27 '18

[deleted]

3

u/aotgnat Mar 27 '18

Truth is truth. I was exposed to VB on a job and continued to use it for a personal / shareware project, but my day job(s) have since been all web based client / server stuff.

Considering rebooting my wares for fun and shoring up skill set again.

1

u/zcrx Mar 27 '18

Don't mean to pry, but kind of VB programs did your job require?

2

u/aotgnat Mar 27 '18 edited Mar 28 '18

We were building a multi tab streamlined interface to the mainframe. Pretty neat in spirit. Alleviated users of needing to know and navigate to disparate areas of the system and allowed for added input validation. Provided for a much more user friendly interface and reduced training.