Gang Of Coders
Home
About Us
Contact Us
All vb.net Solutions on Gang of Coders
Total of 219 vb.net Solutions
What exactly is "managed" code?
C#
.Net
vb.net
Managed Code
What is the VB.NET select case statement logic with case OR-ing?
vb.net
Syntax
Switch Statement
In Visual Basic how do you create a block comment
vb.net
When to use ExecuteScalar, ExecuteReader, and ExecuteNonQuery?
C#
vb.net
guid to base64, for URL
C#
.Net
vb.net
Guid
Base64
Response.redirect raises "Thread was being aborted"
vb.net
Iis
How do you bind a CollectionContainer to a collection in a view model?
Wpf
vb.net
Xaml
Data Binding
How do I get my C# program to sleep for 50 msec?
C#
vb.net
HTTP 415 unsupported media type error when calling Web API 2 endpoint
Json
vb.net
asp.net Web-Api
asp.net Web-Api2
Http Status-Code-415
Why is it bad to use an iteration variable in a lambda expression
C#
vb.net
Lambda
Iteration
Warnings
Detecting remote desktop connection
C#
.Net
vb.net
Is there any way to automate windows forms testing?
C#
.Net
vb.net
Winforms
Automated Tests
Visual Basic equivalent of C# type check
C#
vb.net
How to raise an exception in VB.NET
vb.net
Exception
Could not find type 'xxx.xxx.xxx'. Please make sure that the assembly
.Net
vb.net
Visual Studio-2012
Visual Studio-Designer
VB.NET Empty String Array
.Net
Arrays
vb.net
How does the "Using" statement translate from C# to VB?
C#
.Net
vb.net
Visual Studio-2005
.Net 2.0
Update primary key value using entity framework
.Net
Sql Server
vb.net
Entity Framework
How can I read a file even when getting an "in use by another process" exception?
C#
.Net
vb.net
File Io
.NET Integer vs Int16?
C#
.Net
vb.net
Variables
Types
Why are we not allowed to specify a constructor in an interface?
C#
.Net
vb.net
Oop
How to append one DataTable to another DataTable
C#
.Net
vb.net
Datatable
Accessing Office Word object model through asp.net results in "failed due to the following error: 80070005 Access is denied."
C#
asp.net
vb.net
Office Interop
Is "ReferenceEquals(myObject, null)" better practice than "myObject == null"?
C#
.Net
vb.net
unable to evaluate expression whilst debugging
C#
asp.net
vb.net
Visual Studio-2013
Get File Icon used by Shell
C#
.Net
vb.net
Winforms
Shell Icons
Compare compiled .NET assemblies?
C#
.Net
vb.net
Debugging
Reverse Engineering
How to disable region collapsing or expand ALL regions in Visual Studio VB.NET?
vb.net
Visual Studio
Visual Studio-2008
MessageBox with YesNoCancel - No & Cancel triggers same event
vb.net
Button
Messagebox
C#'s equivalent to VB.NET's DirectCast
C#
vb.net
Casting
Directcast
Ctype
Why does C# execute Math.Sqrt() more slowly than VB.NET?
C#
.Net
vb.net
Benchmarking
How can I get the current local hostname using C# or VB.NET?
C#
vb.net
Winforms
Is there a built-in function to repeat a string or char in .NET?
C#
asp.net
vb.net
Date instead of DateTime?
vb.net
Differences Between vbLf, vbCrLf & vbCr Constants
vb.net
Printing
Constants
Msgbox
How do I determine a mapped drive's actual path?
C#
.Net
Windows
vb.net
Binding property to control in Winforms
C#
vb.net
Winforms
Binding
What is the difference between And and AndAlso in VB.NET?
vb.net
Short Circuiting
Is it possible to write to the console in colour in .NET?
C#
.Net
vb.net
Colors
HTML encoding issues - "Â" character showing up instead of " "
Html
vb.net
Encoding
Utf 8
Iso 8859-1
How do I convert Word files to PDF programmatically?
C#
vb.net
Pdf
Ms Word
.Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary -- Speed, memory, and when to use each?
C#
.Net
vb.net
Arrays
Data Structures
Get the generated SQL statement from a SqlCommand object?
C#
vb.net
ado.net
.NET Global exception handler in console application
C#
.Net
vb.net
Exception Handling
Console Application
Best way in asp.net to force https for an entire site?
C#
asp.net
vb.net
Webforms
Https
How to enable assembly bind failure logging (Fusion) in .NET
C#
.Net
vb.net
Binding
Assemblies
Difference between Lookup() and Dictionary(Of list())
C#
.Net
vb.net
Linq
Is there a way to navigate to real implementation of method behind an interface?
C#
.Net
vb.net
Visual Studio
Setting Objects to Null/Nothing after use in .NET
C#
.Net
vb.net
Memory Management
Null
Is there a VB.NET equivalent for C#'s '??' operator?
vb.net
Operators
Null Coalescing-Operator
Which is generally best to use — StringComparison.OrdinalIgnoreCase or StringComparison.InvariantCultureIgnoreCase?
.Net
vb.net
Localization
Check if a string contains an element from a list (of strings)
C#
vb.net
List
Coding Style
Performance
What exceptions should be thrown for invalid or unexpected parameters in .NET?
C#
.Net
vb.net
Exception
What is a predicate in c#?
C#
.Net
vb.net
Predicate
ObservableCollection Doesn't support AddRange method, so I get notified for each item added, besides what about INotifyCollectionChanging?
C#
vb.net
Observablecollection
Addrange
Inotifycollectionchanged
"Items collection must be empty before using ItemsSource."
.Net
Wpf
vb.net
Entity Framework
Binding
Why use String.Format?
C#
String
vb.net
string.format
How to write Unicode characters to the console?
C#
.Net
vb.net
Console Application
How to loop through all the properties of a class?
.Net
vb.net
Class
Reflection
Properties
What is the C# version of VB.net's InputDialog?
C#
vb.net
Classes vs. Modules in VB.NET
vb.net
.NET Configuration (app.config/web.config/settings.settings)
C#
.Net
asp.net
vb.net
Configuration
Is String.Format as efficient as StringBuilder
C#
vb.net
Performance
Stringbuilder
string.format
Linq to Sql: Multiple left outer joins
vb.net
Linq
Linq to-Sql
Tsql
Left Join
Mixing C# & VB In The Same Project
C#
vb.net
How should I cast in VB.NET?
.Net
vb.net
Casting
Multiline strings in VB.NET
String
vb.net
VB.NET equivalent to C# var keyword
C#
vb.net
Linq
Keyword
Var
Why C# fails to compare two object types with each other but VB doesn't?
C#
.Net
vb.net
Comparison
#if Not Debug in c#?
C#
vb.net
The name does not exist in the namespace error in XAML
Wpf
vb.net
Xaml
Visual Studio-2012
Auto column width in EPPlus
C#
.Net
vb.net
Epplus
How to have comments in IntelliSense for function in Visual Studio?
C#
vb.net
Visual Studio
Visual Studio-2008
Xml Comments
Inline list initialization in VB.NET
.Net
vb.net
VB.NET IntelliSense : Disable newline on ENTER autocomplete
vb.net
Visual Studio
Visual Studio-2010
Intellisense
Case insensitive string compare in LINQ-to-SQL
.Net
vb.net
Linq
How to flatten nested objects with linq expression
C#
.Net
vb.net
Linq
VB.NET equivalent of C# property shorthand?
C#
vb.net
Language Features
Measuring code execution time
C#
.Net
vb.net
Datetime
Timespan
How to get ALL child controls of a Windows Forms form of a specific type (Button/Textbox)?
C#
.Net
vb.net
Winforms
Controls
IsNothing versus Is Nothing
vb.net
Nothing
Custom Compiler Warnings
C#
.Net
vb.net
Attributes
Compiler Warnings
Can I publish a private NuGet package?
C#
vb.net
Visual Studio
Nuget
Will Try / Finally (without the Catch) bubble the exception?
C#
.Net
vb.net
Exception Handling
Is VB really case insensitive?
vb.net
Vba
Case Sensitive
Case Insensitive
Breaking/exit nested for in vb.net
vb.net
For Loop
Nested Loops
How does inheritance work for Attributes?
C#
.Net
vb.net
Attributes
How do you get a string from a MemoryStream?
.Net
vb.net
String
Memorystream
Hidden Features of VB.NET?
vb.net
Hidden Features
Write text files without Byte Order Mark (BOM)?
vb.net
Encoding
File Handling
Byte Order-Mark
String.Join method that ignores empty strings?
.Net
vb.net
String
What is the difference between "instantiated" and "initialized"?
vb.net
Variables
Strip double quotes from a string in .NET
C#
.Net
vb.net
Why is there a difference in checking null against a value in VB.NET and C#?
C#
vb.net
.Net 4.0
Null
Reliable timer in a console application
C#
.Net
vb.net
Timer
How to check if an object is a certain type
.Net
vb.net
Object
Drop Down-Menu
Object Type
Difference between DirectCast() and CType() in VB.NET
vb.net
Ctype
Directcast
.NET Core doesn't know about Windows 1252, how to fix?
vb.net
Character Encoding
.Net Core
Windows 1252
Import CSV file to strongly typed data structure in .Net
C#
vb.net
File
Csv
Import
Equivalent VB keyword for 'break'
vb.net
Loops
Vb6
Exit
How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?
Css
asp.net Mvc
vb.net
Html Helper
Set a DateTime database field to "Now"
Sql Server
vb.net
What is an .axd file?
C#
asp.net
vb.net
Event Signature in .NET -- Using a Strong Typed 'Sender'?
C#
.Net
vb.net
Events
How to solve COM Exception Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))?
C#
vb.net
What's the difference between Console.WriteLine() vs Debug.WriteLine()?
.Net
vb.net
How do I find a specific table in my EDMX model quickly?
C#
vb.net
Entity Framework-4
Edmx
Edmx Designer
Is there a VB.NET equivalent of C# out parameters?
vb.net
C# to-vb.net
Out Parameters
Download Excel file via AJAX MVC
C#
Jquery
asp.net Mvc
vb.net
Export to-Excel
Performance difference between IIf() and If
vb.net
If Statement
Iif Function
Or versus OrElse
vb.net
Generating an Excel file in ASP.NET
asp.net
vb.net
Export to-Excel
VB.NET - How to move to next item a For Each Loop?
vb.net
Loops
Practical example where Tuple can be used in .Net 4.0?
C#
.Net
vb.net
.Net 4.0
C# 4.0
Is there a conditional ternary operator in VB.NET?
vb.net
Operators
Conditional Operator
Short Circuiting
How to get status code from webclient?
C#
.Net
vb.net
Webclient
The transaction manager has disabled its support for remote/network transactions
asp.net
vb.net
Transactionscope
How do I create a parameterized SQL query? Why Should I?
Sql
vb.net
Sql Parametrized-Query
How do you declare a Char literal in Visual Basic .NET?
vb.net
Literals
.NET graph library around?
C#
.Net
vb.net
Graph
How Convert VB Project to C# Project
C#
.Net
vb.net
Converter
Sharpdevelop
How to execute an SSIS package from .NET?
C#
.Net
Sql Server
vb.net
Ssis
What is the purpose of Microsoft.Net.Compilers?
C#
asp.net Mvc
vb.net
Marking A Class Static in VB.NET
C#
vb.net
MailMessage, difference between Sender and From properties
.Net
vb.net
Email
system.net.mail
Are nested Try/Catch blocks a bad idea?
.Net
vb.net
Exception Handling
One line if in VB .NET
vb.net
Conditional Operator
What is a NullReferenceException, and how do I fix it?
C#
.Net
vb.net
Null
Nullreferenceexception
Why is there no ForEach extension method on IEnumerable?
C#
.Net
vb.net
Extension Methods
When should I use a List vs a LinkedList
C#
.Net
vb.net
Data Structures
Linked List
Why does a for loop behave differently when migrating VB.NET code to C#?
C#
vb.net
Loops
For Loop
Way to have String.Replace only hit "whole words"
C#
.Net
vb.net
String
How do I create a comma delimited string from an ArrayList?
C#
vb.net
Parsing
What are the benefits of resource(.resx) files?
C#
.Net
vb.net
Resx
Check if all items are the same in a List
C#
vb.net
List
Linq to-Objects
Convert List(of object) to List(of string)
C#
vb.net
Generics
Why can't I check if a 'DateTime' is 'Nothing'?
vb.net
Datetime
Null
Nullable
Nothing
With block equivalent in C#?
C#
.Net
vb.net
When is a custom attribute's constructor run?
C#
.Net
vb.net
Constructor
Attributes
VB.NET equivalent of C# "As"
.Net
vb.net
What is the best workaround for the WCF client `using` block issue?
C#
vb.net
Wcf
Using
Wcf Client
Reading PDF content with itextsharp dll in VB.NET or C#
C#
vb.net
Pdf
Itextsharp
VB.NET equivalent for C# 'dynamic' with Option Strict On
C#
vb.net
Dynamic
Option Strict
handling dbnull data in vb.net
vb.net
Dbnull
Howto? Parameters and LIKE statement SQL
asp.net
Sql
vb.net
VB.NET vs C# integer division
C#
.Net
vb.net
Operators
Division
String.Format - how it works and how to implement custom formatstrings
C#
.Net
vb.net
String
String Formatting
How to write a VB.Net Lambda expression
vb.net
Linq
Lambda
Parse a string to an Enum value in VB.NET
vb.net
Enums
Is there a lock statement in VB.NET?
C#
vb.net
Add keys/values to Dictionary at declaration
vb.net
Visual Studio-2008
Dictionary
Declaration
Single Form Hide on Startup
C#
vb.net
Winforms
Use float or decimal for accounting application dollar amount?
Sql Server
vb.net
Database Design
Currency
Accounting
How to make String.Contains case insensitive?
C#
.Net
vb.net
String
Case Insensitive
return only Digits 0-9 from a String
C#
vb.net
Regex
Vbscript
Code Generation
What is C# 'internal' in VB.net?
C#
vb.net
Syntax
Keyword
Is String a primitive type?
C#
.Net
vb.net
String
Primitive Types
Validating Recaptcha 2 (No CAPTCHA reCAPTCHA) in ASP.NET's server side
C#
asp.net
vb.net
Recaptcha
Redirect Trace output to Console
.Net
vb.net
.Net 2.0
Console
Trace
What is the purpose of Decimal.One, Decimal.Zero, Decimal.MinusOne in .Net
C#
.Net
vb.net
Decimal
Constants
.NET equivalent of the old vb left(string, length) function
C#
.Net
vb.net
VB.NET null coalescing operator?
vb.net
Null Coalescing-Operator
Get the name of the current method
.Net
vb.net
Reflection
How to implement class constructor in Visual Basic?
vb.net
Difference in months between two dates
C#
.Net
vb.net
Date
Winforms: Application.Exit vs Environment.Exit vs Form.Close
C#
.Net
Windows
vb.net
Winforms
How do I kill a process using Vb.NET or C#?
C#
vb.net
Process
Kill
The VB.NET 'With' Statement - embrace or avoid?
vb.net
With Statement
The difference between + and & for joining strings in VB.NET
vb.net
String
VB.Net Properties - Public Get, Private Set
vb.net
Properties
Scope
Count specific character occurrences in a string
vb.net
String
Null check in VB
vb.net
Null
Runtime Error
Is there a way to programmatically minimize a window
C#
.Net
vb.net
Winforms
The State of Linkers for .NET apps (aka "Please Sir, May I have a Linker" 2009 edition)
C#
.Net
vb.net
Mono
Linker
Are C#'s partial classes bad design?
C#
.Net
vb.net
6 digits regular expression
Regex
vb.net
Why is Dictionary preferred over Hashtable in C#?
C#
.Net
vb.net
Data Structures
Visual Studio jump to next error shortcut?
.Net
vb.net
Visual Studio
Ide
I've caught an exception!! Now what?
Sql
vb.net
Exception
Decoding T-SQL CAST in C#/VB.NET
C#
Sql
vb.net
Ascii
Hex
Visual Studio stuck at "build must be stopped before the solution can be closed"
vb.net
Visual Studio
XPath select node with namespace
Xml
vb.net
Xpath
Xml Namespaces
How do I convert from a string to an integer in Visual Basic?
vb.net
Yield in VB.NET
.Net
vb.net
Does End Using close an open SQL Connection
.Net
Sql
Sql Server
vb.net
In VB.NET, can I mark a function as deprecated?
vb.net
Function
Deprecated
Difference between Private Sub, Function and Class
vb.net
Access Modifiers
Random integer in VB.NET
vb.net
Random
'Shadows' vs. 'Overrides' in VB.NET
.Net
vb.net
Oop
Overriding
Shadows
Getting hash of a list of strings regardless of order
C#
.Net
vb.net
String
Hash
VB equivalent for C#'s default(T)
vb.net
Default Value
center MessageBox in parent form
C#
.Net
vb.net
Winforms
Messagebox
Format decimal value to string with leading spaces
C#
.Net
vb.net
String Formatting
The parameterized query expects the parameter which was not supplied
Sql
Sql Server
vb.net
How do I use a common _ViewStart in areas?
asp.net Mvc
vb.net
Razor
Syntax: "Exit Sub" or "Return" in VB.NET subroutines
vb.net
Syntax
Return
Subroutine
VB.NET: how to prevent user input in a ComboBox
.Net
vb.net
Combobox
I wrote a program that allow two classes to "fight". For whatever reason C# always wins. What's wrong with VB.NET?
C#
vb.net
Compiler Construction
Initialization
How to insert values into VB.NET Dictionary on instantiation?
vb.net
Dictionary
C# to-vb.net
How to do a verbatim string literal in VB.NET?
C#
vb.net
String
Escaping
Verbatim String
How do I create a folder in VB if it doesn't exist?
vb.net
Installation
Directory
Why use Finally in Try ... Catch
.Net
vb.net
Exception Handling
Try Catch-Finally
Find the location of my application's executable in WPF (C# or vb.net)?
C#
Wpf
vb.net
Web.config transformation option is greyed out
vb.net
Visual Studio-2010
Visual Studio
Web Config
VB.NET - Interrupt form loop and end form
vb.net
Winforms
User Interface
Sort a List of Object in VB.NET
vb.net
List
Sorting
Object
How do I find out if a column exists in a VB.Net DataRow
.Net
vb.net
ado.net
Dataset
Datarow
How to declare an array inline in VB.NET
Arrays
vb.net
Literals
WPF: How do I set the Owner Window of a Dialog shown by a UserControl?
.Net
Wpf
vb.net
Dialog
User Controls
How do I prevent a form from being resized by the user?
vb.net
Winforms
VB.NET - IIF(,,) - Both "sides" are evaluated. What situations should I watch out for?
vb.net
Are there any OK image recognition libraries for .NET?
C#
.Net
vb.net
Image
Image Recognition
INotifyPropertyChanged and Auto-Properties
C#
.Net
vb.net
What is the purpose of a stack? Why do we need it?
C#
.Net
vb.net
Cil
.Net Assembly
Is the Microsoft.VisualBasic namespace "true .NET" code?
.Net
vb.net
Ampersand vs plus for concatenating strings in VB.NET
vb.net
String Concatenation
How do I get a human-readable file size in bytes abbreviation using .NET?
C#
.Net
vb.net
Filesize
Human Readable
Using statement vs. IDisposable.Dispose()
C#
.Net
vb.net
Using
Idisposable
Controlling Volume Mixer
C#
.Net
vb.net
Winforms