Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / VB

VB

VB

Great Reads

by Stefano Castelli
The article will illustrate how to create a Code39 barcode in VB.NET and C#
by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
by Chai_Pot
How to use MySQL as database in VB.NET applications.
by Mr.PoorEnglish
Compute "SnapValues" with minimum of fractional digits, useful in autoscaling Chart-control

Latest Articles

by Stefano Castelli
The article will illustrate how to create a Code39 barcode in VB.NET and C#
by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
by Chai_Pot
How to use MySQL as database in VB.NET applications.
by Mr.PoorEnglish
Compute "SnapValues" with minimum of fractional digits, useful in autoscaling Chart-control

All Articles

Sort by Score

VB 

by MBigglesworth79
Dapper.NET is an Open-Source, lightweight ORM that is simple to use, and is compatible with any database which implements a provider for .NET.
by WebBiscuit
From the header declaration, this macro opens up the .cpp file and creates the skeleton so you can begin to add the implementation. This makes adding functions a breeze, so now there really is no excuse for having horribly unfactored code.
by WebBiscuit
A macro to flip between the source and header file (and back again)
by MBigglesworth79
A wrapper for log4net which allows logging operations to be accomplished with a single line of code.
by MBigglesworth79
Access session information via a dynamic object where we use a dynamic property to specify the name of the session item
by MBigglesworth79
Using the UrlHelper class to query the routing engine and generate the correct URLs for us
by Adam Zuckerman
Sometimes you have a need to modify file or directory permissions (e.g., limiting issues with UAC).
by matt warren
How to add a verb to the dotnet CLI tooling
by Buaziz
An easy way to add social buttons to your MVC site
by ledtech3
How to get Windows XP OS bit version in VB.NET.
by Dinesh K Mandal
ASP.NET 4.0 new features
by Buaziz
Enable email notifications on errors, and create custom pages for handling errors in MVC
by Mohammad Elsheimy
A .NET reflection sample written in VB.NET
by Raymund Macaalay
Automating Tasks in Visual Studio
by Chris Boss
More about BASIC and what can be accomplished with the language
by santosh.yadav198613
Hello Everyone in this blog we will learn how to utilize the functionalities provided by Angular CLI to create a new Angular 5 App. And we will see different commands available in Angular CLI to increase our productivity.
by Taiseer Joudeh
Boost UI rendering with client side templating.
by Sebastian Krysmanski
Table of Contents [hide] 1 Introduction 2 Handles 3 CLR types 3.1 Native and managed types on stack and heap 3.2 Handles and Value Types (.Net Structs and Enums) 3.3 Casting Handles 3.4 Passing handles 3.5 Mixing native and managed types 3.6 Type Of 4 Modifiers: visibility 5 Modifiers: abstract
by Morris Bahrami
How to call Web Services from JavaScript
by Anton Angelov
How to change .config file at runtime (C# VB.NET code)
by Buaziz
a detailed article on how to change the location of the Shared folder, also applies to the Views folder.
by Chris Boss
After years of learning how Windows works under the “hood”, as a WIN32 API programmer, I can look back at classic Visual Basic from a different perspective and see how it could have been designed better right from the start. As a long time BASIC programmer, I appreciated how easy it was
by Chris Boss
The key to future versions of BASIC is to first view them as a professional language.
by Sharjeel_Ahmad
ComboBox DataSource Binding in Visual Basic
by Daniel Vaughan
Prompted by a recent comment on the T4 Metadata Generation template article, which I released some weeks ago, I have implemented a new mechanism for concatenating property paths. This allows compile time validation of properties that exist on composite or nested members.
by Passion4Code
How to compress and zip files using DotNetZip
by Anton Angelov
Code examples how to connect to TFS Team Project using C# and VB .NET. The post - Connect to TFS Team Project C# Code appeared first on Automate The Planet.
by SonuKSingh
Types of constructors available in C#
by Minh Danh Nguyen (ToughDev)
How to convert OFT to .NET Windows Form in VS
by Cyborgx37
Converting Excel Column Numbers
by ledtech3
How to convert VB Script to VB.NET
by Martin Hinshelwood
I am always pulling out the Unity assemblies. Maybe it is just because I am lazy, but I really can’t be bothered rolling my own dependency injection and mapping framework!
by Mohammad Elsheimy
VB.NET and C# + twitto; a simple desktop Twitter
by Karl Stoney
A .NET programming article including code showing how to create a compliant RSS 2.0 feed using .NET Syndication Namespaces
by MBigglesworth79
The DynamicDataReader provides a means of retrieving data from a database in a way that involves less code and increases code readability.
by MBigglesworth79
How to create a dynamic version of another staple component of the ADO.NET framework, namely the DataSet.
by Md. Rashim Uddin
How to define your own dialog box
by MBigglesworth79
What is a Delegate?
by MBigglesworth79
How to use anonymous methods and lambdas to make our code more terse by reducing the amount of code we need to write.
by MBigglesworth79
Event Handling
by Martin Hinshelwood
Even though this sounds like a really simple thing, what if you do not know the name of the controls, and you do not want to have to add a bit of code that you, or another may developer may forget to every piece of code with a timer in it.
by VIBlend
How to display the WinForms GridView in a Popup control
by Martin Hinshelwood
From time to time your website structure may change. When this happens you do not want to have to start from scratch with your Google rankings, so you need to map all of your Old URLs to new ones.
by Morris Bahrami
How to include zip/unzip functionality in your .NET applications.
by byapparov
Evaluator for multiple VB expressions based on Eval3 library
by Duncan Edwards Jones
How to extend the event streaming architecture using the concept of classifiers and instance groups to add business meaningful groups
by Pragmateek
Interfacing VBA and .NET is a relatively straightforward process.
by Chris Boss
Visual Basic 6.0 just doesn’t want to disappear. Why ? Likely many have written vital applications using VB 6.0 and Visual Basic dot.net is so different that it is not a viable option.
by Stacy Vicknair
Extending the behavior of MVC AuthorizeAttribute for activity-based authorization
by Nicolas Brassard
Fake ISAPI Handler to Serve Static Files with Extensions that are Rewritten by URL Rewriter
by Buaziz
In this article, we will define our implementation to handle Captcha images.
by User 6619207
The article describes how you can implement the chain of responsility pattern with a generic chain builder method in .net
by ozkary
Get File name from URL Path - ASP Classic
by Morris Bahrami
How to get hardware and software details of the computers in your domain
by Cyborgx37
LINQ is syntactical sugar for extension methods and lamda expressions. To understand LINQ, it is important to first grapple with these concepts.To begin, let's look at a simple and somewhat common scenario.
by evry1falls
How to implement Google.Apis.Drive.v3 in a WinForms Project using VB 2015 and .NET 4.5
by Buaziz
creating an MVC HTML Helper for Google Maps
by MBigglesworth79
Using Named Parameters with Oracle ODP.NET
by Abhishek Sur
Make your class library COM visible using few simple steps
by merlin981
A simple example to show you how to GroupBy Multiple Values using LINQ
by Rion Williams
How to handle casing issues through extension methods in C# and Visual Basic
by ledtech3
Converting a fraction to a decimal
by Sharjeel_Ahmad
How to create Visual Basic Context Menu Strip
by Adam Zuckerman
Here's how to display a control's hierarchy as a string
by Adam Zuckerman
Here's a post on how to find all child controls from a starting control or form
by mrt_doulaty
You may want to import your existing contacts from your old Nokia (or in general VCard format) to your new iPhone. You need to follow some simple steps...
by Nicolas Brassard
How to get a random subset of data from a DataTable
by jeffery c
This article will focus on network settings that can be changed using VB.NET and sometimes relies on command line programs included with Windows.
by Minh Danh Nguyen (ToughDev)
How to identify used and unused resources in VS Project Resources.resx file
by Duncan Edwards Jones
Interfaces to add semantic meaning
by Mohammad Elsheimy
A brief discussion of RSS. Incorporating RSS into a simple RSS bar control written in VB.NET.
by S. Senthil Kumar
JustAttach – a macro that finds out the output file path of the startup project of your solution and automatically attaches to it.
by Mr. xieguigang 谢桂纲
Recently, I was working on a tools for finding the imperfect palindrome sequence site in the bacterial genome, a palindrome sequence is a kind of structure which can form the hairpin struct on its transcript RNA molecule sequence or just some restriction enzyme cutting site which theirs structu
by Pragmateek
Introduction Following my previous article on a similar subject, Extend your VBA code with C#, VB.Net or C++/CLI, I’ve received an interesting feedback from a VBA developer who wanted to leverage the advanced support of the .Net framework for regular … Continue reading →
by Adam Zuckerman
Pulling XML data into your objects
by Stacy Vicknair
Liskov Substitution Principle (LSP) is a principle of object oriented programming that many might be familiar with from the SOLID principles mnemonic from Uncle Bob Martin.
by Martin Hinshelwood
I am not sure if this is a good idea, but I was bored one day and decided to add a TFS Error Log provider for Elmah. There are 2 ways you can do this.
by Anton Angelov
Manage TFS Test Suites in Microsoft Test Manager C# VB.NET code
by Rion Williams
How to merge smarter with Semantic Merge.
by Dave Kerr
mongo-monitor - A Simple CLI to Monitor Your MongoDB Cluster
by Cyborgx37
How to have mutliline string literals in VB.NET.
by User 271009
New Options for Visual Studio 2010 Beta2 WPF and Silverlight Projects
by Brady Kelly
No default IDs here. Move along.
by Kristofer Kallsbo
A quick script that loopes through all folders and checks if there is a user account in the domain; if not it will move the directory to the __unconnected__ folder.
by MBigglesworth79
Oh No! Not Another Way to Write a CSV File?
by MBigglesworth79
Yet another way to write a CSV file
by MBigglesworth79
This article is a follow-up to Andy West's blog post about performing a conditional validation when using .NET data annotations on a model in MVC.
by Paulo Morgado
Getting Interface Property Implementations
by Morris Bahrami
How to workaround the problem with GO statements in SQL scripts.
by Mohammad Elsheimy
Programmatically Enumerating, Attaching, and Detaching SQL Server Databases via SQL statements and stored procedures
by Minh Danh Nguyen (ToughDev)
Revisiting Mario Game Written in Pascal
by Kristofer Kallsbo
Still not sure what the final script will do but I have to detect how the script is started and act accordingly.
by Kristofer Kallsbo
PSC: Move share
by MBigglesworth79
An introduction to Reflection in .NET as well as some examples of how it can be used.
by MBigglesworth79
How to resize an Image On-The-Fly using .NET
by MBigglesworth79
Rounding Floating-Point Numbers Up or Down in .NET
by User 6619207
To execute command line (console applications) in the shell or via command prompt (cmd) from a .NET application can be done easily. But when it should be more than fire and forget, it becomes more complicated.
by Raymund Macaalay
Running Applications on a Higher Priority
by Mohammad Elsheimy
Learn how to send mail messages from your C# application via SMTP.
by MBigglesworth79
A good primer for getting into serialization
by MBigglesworth79
XML Serialization
by ledtech3
This is a program that converts SIDs with 1 – 5 sub authorities from an array of bytes to string format.
by Alejandro Gaio
Here is a simple class for code profiling
by Martin Hinshelwood
SEO permanent redirects for old URLs
by Nitesh Kejriwal
A solution for ExecuteNonQuery() always returning -1 when calling a Stored Procedure
by Steven Leonard Powell
Sorting worksheets in Excel using VBA
by Ivan Krivyakov
Deploying reports
by Sebastian Solnica
This article explains how to use the Reference Paths project property to debug open-source libraries referenced by the project.
by Martin Hinshelwood
Team Foundation Server 2010 Event Handling with Subscribers
by Martin Hinshelwood
Team Foundation Server 2010 Event Handling with Subscribers
by Martin Hinshelwood
TFS 2010 Work Item Seed: TFS Work Item system.id at a predefined number
by Martin Hinshelwood
TFS Work Item system.id at a predefined number
by Chris Boss
The challenges of building a Visual Designer
by Bryan O'Connell
Keep an eye on your team's software code metrics
by MBigglesworth79
This article is primarily for those of you who are new to unit testing and is intended as a basic introduction to unit testing and test-driven development; as well as how to write basic tests using the NUnit framework.
by Martin Hinshelwood
Staring from the original Command Line Parser v1.0 code, I wanted to be able to add multiple commands, or even nest commands. The result is a nice simple commanding architecture conducive to creating multiple commands.
by Martin Hinshelwood
Updating the Command Line Parser
by Steve L. Powell
Using Forms with Queries in Access
by Dinesh K Mandal
Using Statement and Dispose Method in C# and VB.NET
by ledtech3
How to use the service controller in VB.NET
by Steve Naidamast
Using the Xceed “Busy Indicator” control
by James Treworgy
How to use your favorite Visual Studio 2010 add-ins/extensions in VS2012
by RobNO
How to utilize VB.NET in C# project
by Patrick Cunningham
Socket communications works in HyperTerminal, won’t work in .NET
by Sharjeel_Ahmad
Visual Basic Drop Down Menu
by Sharjeel_Ahmad
Visual Basic NotifyIcon for Taskbar Notification
by Sharjeel_Ahmad
Visual Basic Progress Bar control
by User 271009
A long time feature request has been added to Visual Basic 10 that ships with Visual Studio 2010; decorating an Event as NonSerialized.
by John Atten
Use conditional compilation to control runtime settings for different deployment scenarios.
by RizviHasan
In this post I am going to discus about the delegate uses in C# and VB.NET.
by User 6619207
About SQL Server Management Objects
by Shivprasad koirala
In this article, we will discuss what is the difference between "==" vs ".Equals in C#".
by Timmy Kokke
What is new in Blend for Visual Studio 2013
by Adam Zuckerman
This code compares object types instead of the name for the object type.
by Chris Boss
The latest news about Windows 10 Lean version of Windows sounds exciting, but it is not enough.
by hjgode
How to catch F1 and F2 in WEH.
by Arik Poznanski
Windows Ribbon for WinForms v2.5 Released – New Events Mechanism
by VIBlend
WinForms Button
by VIBlend
In this post, we will show you how to use the cells merge functionality of VIBlend DataGridView for WinForms.
by Martin Hinshelwood
WPF Ninject Dojo: The Data Provider