Tag Archives: Visual Basic

Video: What’s New in Visual Basic 14

Visual Basic – If Statement

Description How to use if statement’s conditions (True/false) Design


Visual Basic – Case Else

Description How to use a variable to indicate several actions Design


Visual Studio 2015 launches, with Android, iOS, and even Apple Watch support

via Visual Studio 2015 launches, with Android, iOS, and even Apple Watch support | Ars Technica.

A few days ahead of the Windows 10 launch, Microsoft has released the latest version of its development environment. Over the last few years, Microsoft has been making Visual Studio into a tool for cross-platform development, with a mix of both first- and third-party components, and Visual Studio 2015 takes this to the next level.

Out of the box, a full install of Visual 2015 Enterprise includes support for C#, C++, Visual Basic, Java, F#, Python, JavaScript, PowerShell, Microsoft’s JavaScript-based TypeScript, and SQL. It can target Windows and Android—during installation there’s an option to fetch and install the Android SDK—and with the included Xamarin libraries it also supports iPhones, iPads, and Apple Watches.

This makes for a hefty package; with all the options and all the third-party components, Visual Studio 2015 weighs in at 23GB. Add local documentation and another few gigabytes are eaten up.

Oddly, there’s one platform not supported: Microsoft’s Windows 10 Universal App Platform. Although the Windows 8.1 Universal platform is supported, its Windows 10 iteration, which is more universal and will one day support both HoloLens and Xbox in addition to Windows 10 on PCs, tablets, and phones, isn’t supported yet. The SDK for Windows 10 isn’t being released until July 29, the same day that Windows 10 will have its retail release. In the meantime, developers wanting to build for Windows 10 have to stick with the Visual Studio 2015 Release Candidate.

The development environment itself has seen some love. The C# and Visual Basic code editors now use the open source Roslyn compiler framework behind the scenes. This is an extensible framework that enables teams to create their own warnings and refactorings to meet their needs. Refactoring support in Visual Basic is a new addition to the IDE. The use of Roslyn allows much more complex rules to be incorporated into the text editor. Roslyn, as a compiler, gives extensions an accurate view of which classes are being used, which methods are being called, the types (and occasionally values) of the arguments being passed to methods, and so on. This enables some features that previously only worked at compile time—the FxCop style and correctness rules, for example—to be “brought forward” and implemented live in the text editor. Instead of being told about improper method usages when compiling, the Roslyn-powered system can warn of problems as soon as they’re typed.

Polyglot Apps for iOS, Android and Beyond

Click to Read

It’s well known by now that you can use C# to write apps for iOS and Android by leveraging Xamarin tools, especially if you’ve been following this column. It’s also well documented that you can take a lot of that C# over to other platforms such as Windows Phone and Windows Store, but did you know you can use F#, Visual Basic, Razor, HTML, and JavaScript in your apps, as well?

One of the great things about the Microsoft .NET Framework platform is the variety of languages at your disposal, but you don’t need to leave that flexibility behind when writing mobile apps. In this article, I’ll show how you can combine each of these languages within a single native iOS app, starting with a standard Xamarin.iOS project written in C# as the base, and then bring in each of the other languages to add functionality.

The C# and Visual Basic Code-Focused IDE Experience

The new C# and Visual Basic code-focused IDE experience in the Visual Studio 2015 Preview is significantly improved over the experience in Visual Studio 2013 and I’m excited to share some highlights with you. We’ll look at a few key areas:

  1. Refreshed Core IDE Experiences – your existing coding experience just got better
  2. Code Fixes and Refactorings – improve your code with live code analysis and refactorings
  3. Inline Rename – increase your productivity with a brand new Rename experience

Many of the new and refreshed features that I describe below come to us by way of the .NET Compiler Platform (formerly codenamed “Roslyn”), our rebuild of the C# and Visual Basic compilers and IDE experiences. Read more>>

Video: Visual Basic .NET Tutorial 53 -How to import excel file to datagridview in VB.NET

Video: Visual Basic .NET Tutorial 53 -How to import excel file to datagridview in VB.NET

Importing Any Excel Spreadsheet into a DataGridView – C# 
VB.NET – Importing Excel File to dataGridView
import Excel File to VB.NET.net DataGridView
Import Excel To DatagridView
Import Data from Excel to DataGridView in VB.NET
import from excel to datagridview
VB.NET DataGridView Loading data from Excel
importing excel file into datagridview How to get data from excel sheet to datagridview in VB.NET importing RowName and ColumnName from an excelfile posts
Import Excel file to DataGridView‎ VB.NET
Saving DataGrid View to Excel and opening Excel to 
How to import data from Excel to Datagrid‎ 
How to Export Datagridview contents to Excel – VB.NET