VB.NET / C# Sample Code
- Split Function in Visual Basic .Net
- Visual Studio Immediate Window
- Microsoft XP Style Buttons and Controls on Form in...
- Preventing multiple instances of .Net Application
- Opening & Closing Notepad using .Net
- OpenFileDialog in Visual Basic .Net
- Selecting a Folder in VB.Net
- Directory Size using VB.Net
- VB.Net Setting Default & Cancel Buttons
- VB.Net Form Close vs Form Dispose
- Opening & Closing Forms in .Net
- ASP.Net Get User / .Net Get User
- Get Computer Name in .Net
- Create XML Files using .NET / Create XML Files usi...
- Validate Windows Form Controls in Vb.Net
- Visual Studio 2008 Image Library
- Calculating Time taken for an operation using VB.N...
- Create Custom Task Panes for Word using VSTO
- Validate Phone Numbers, Zipcode TextBox entry in V...
- VB.NET Controls - DomainUpDown Example
- Property without a 'ReadOnly' or 'WriteOnly' speci...
- Reference to a non-shared member requires an objec...
- Preventing Office Addin from loading Everytime whe...
- Creating a Serialized Class using VB.NET
- Solution: Class must implement 'Sub OnDeserializat...
- Solution for Error Type 'IDeserializationCallback'...
- Programmatically Change the Caption of Windows For...
- Overload resolution failed because no accessible '...
- Office host applications and their support for add...
- Get Free Disk Space in all drives using VB.Net
- Copying Files using .Net Functions
- .NET 3.5 Enhancements Training Kit Available for D...
- Check Type of Variable in VB.Net
- Nullable Type in Visual Basic.Net
- Using Timer in VB.Net
- Regular Expressions in Dot Net (.NET)
- Function '' doesn't return a value on all code pat...
- Access of shared member through an instance; quali...
- Late bound resolution in .NET
- Implicit conversion from '' to ''
- Use of aliases in .NET (Imports Statement)
- Change the default values of Option Explicit and O...
- Conversions in Dot Net (.Net) - Strict , Widening ...
- Using Vb.Net Function in VBA
- Extract Interface from Custom Class (C#)
- Visual Studio Add-ins vs. Shared Add-ins
- Create XML Files using .NET / Create XML Files usi...
- Write Text Files using C#
- Creating Simple Windows Forms Application using C#...
- Avoiding Temporary Strings in C# / Reduce Unnecess...
- Nullable Variables in C#
- The best overloaded Add method 'name for the colle...
- Argument '1': cannot convert from 'System.Text.Str...
- Use of unassigned local variable 'name'
- Bad array declarator: To declare a managed array t...
- A new expression requires (), [], or {} after type...
- Using Directive in C#, Create an alias in C#
- Adding and Subtracting Days/Months/Years to a give...
- Get No of Days in a month using VB.NET
- Identify LeapYear using VB.NET
- DateSerial Function in VB.NET / Check if the Date ...
- Enabling Smart Tags in Word / Excel
- Get Stored Text from Clipboard using VB.NET
- Get Stored Images from Clipboard using VB.NET
- Clear Clipboard Content using VB.NET
- Unrecognized escape sequence (error CS1009)
- System.IndexOutOfRangeException was unhandled (Mes...
- Creating and Sorting Arrays in C#
- Mathematical Functions in C# / Logarithmic Functio...
- How to create and use Static Constructors in C# (....
- How to create Default Constructors in C#
- C# Get Temporary File / Store Values in Temporary ...
- How to get Temporary Folder using .NET (C#)
- Check if Path is Absolute or Relative Path using C...
- How to retrieve MyDocuments Folder using C# (.NET)...
- How to retrieve Desktop Folder using C# (.NET)
- How to get the full path of cookies folder using C...
- How to retrieve Application Data Folder using C# (...
- How to get the network domain name associated with...
- How to get the number of processors in the machine...
- Retrieve user name using .NET / How to get user na...
- C# Get Computer Name – Name of the Computer using ...
- Default Values Table (C# Reference)
- How to Create Interfaces in .NET / Interfaces in ....
- How to Create Classes in C#
- Download Microsoft C# Language Specification
- Creating DLLs (Dynamic Linked Libaries) using C#
- Static Functions and Instance Members in C#
- How to get the return value from C# program (conso...
- C# Console Application – Pause for User Input / Pa...
- Command Line Arguments in C#
- Convert String to Long using C#
- Creating EventHandlers for WindowsForm Controls us...
- C# add controls to userform dynamically
- C# CSV to XML Conversion, CSV to XML Conversion us...
- Object Arrays in C# using Indexers
- Properties in .NET / Get and Set Methods in .NET
- Insert CSV File to Array using C#
- The type or namespace name 'type/namespace' could ...
- Solution : Semicolon after method or accessor bloc...
- Inconsistent Line Endings Dialog in C#
- The ' ' character, hexadecimal value 0x20, cannot ...
- Solution : The type or namespace name 'Date' could...
- Solution : An object reference is required for the...
- Literal of type double cannot be implicitly conver...
- Convert an XML file to HTML file using C#
- System.Xml.Xsl.XslTransformException was unhandled...
- Method < MethodName > of extension object < NameSp...
- What is an Abstract Class / Abstract Classes in C#...
- Output Parameters in C# (.NET)
- Readonly Fields in C# / Readonly Properties in C#
- How to Get Remainder of a division using C# (.NET)...
- Insert Array to Excel Range using VSTO
- How to call a VSTO Addin Function from VBA
- Property, indexer, or event 'Range' is not support...
- The type or namespace name 'ComVisible' could not ...
- What are assemblies in C#?
- How to Override methods in C#
- Type Inference in C# using var keyword
- Access Modifiers Comparison in Visual Basic .NET (...
- Access Modifiers Comparison in Visual Basic .NET (...
- Destructors in C# (.NET)
- What are the differences between Structs and Class...
- Converting Date to British Date Format using C# (....
- Get Size of a Particular Directory using C# (.NET)...
- Formatted Output using C# (Integer to Hexadecimal)...
- Get all Sub Directories under a folder using C# (....
- List all ReadOnly files in a directory using C# (....
- How to Filter files that are modified in a specifi...
- C# Get Files Greater than Specific Size using Linq...
- C# Get All Files from a Folder
- Move and Overwrite Files in C# (.NET)
- Delete Files using C# / Delete Files using .NET
- Copy Files using C# / Copy files using .NET
- Check if file exists using C# (.NET)
- How to use F8 in C# or VB.NET
- Get Built-in Property of Word Document using C# (....
- Remove DOCTYPE declaration from XML Files using C#...
- How to Get All Elements of an XML using C# (.NET)
- Beep in C# Console Application
- How to use Reserved Words in .NET (C#)
- How to get Built-in Property of a Word Document us...
- How to Set Built-In Properties of Word Document us...
- How to sign an Assembly in Visual Studio 2008
- How to get the Built-in Properties of a Word Docum...
- How to get the Custom Properties of a Word Documen...
- Operator '&' cannot be applied to operands of type...
- Specify initial values of the array in .NET (C#)
- Array – X is a 'variable' but is used like a 'meth...
- Automatic initialization of arrays in .NET (C#)
- Auto-implemented properties in .NET (C#)
- Abstract Methods in .NET (C#)
- Base Class Constructors in C#
- · What is rank of an arrayCheck Multiple Instances of an Application using C...
- Where are the .NET DLLs available in the system
- Cannot implicitly convert type 'System.Diagnostics...
- Cannot declare instance members in a static class
- The type or namespace name 'Process' could not be ...
- How to check user input in C# (.NET) / VB.NET
- Binding Text Boxes to Data source in C#/VB.NET in ...
- You must explicitly enable access to the Microsoft...
- Is it necessary to have PIA installed on client-co...
- How to Check if a Character is a WhiteSpace using ...
- Customize Twitter with .NET (C#/VB) using Visual S...
- What are the Project Types in .NET 4.0 (Visual Stu...
- How to send mail using Gmail in C#
- System.IO.FileNotFoundException was unhandled
- Program '..Sample.exe' has more than one entry poi...
- The type or namespace name 'SoapFormatter' could n...
- Accessors and mutators in C#
- System.StackOverflowException was unhandled - Set ...
- Your step-into request resulted in an automatic st...
- How to effectively use #region in Visual Studio
- Invalid expression term '>'
- Semicolon after method or accessor block is not va...
- Enumeration in C#
- Partial Classes in C# (.NET)
- A namespace does not directly contain members such...
- A using clause must precede all other elements def...
- How to pass Database Field Name to SQLDataReader G...
- Parametrized Query in C# / .NET
- SQLDataReader - Invalid attempt to read when no da...
- How to Add Generic List Items to ListBox in C# / V...
- How to assign an ArrayList to ListBox in .NET (C#)...
- Items collection cannot be modified when the DataS...
- How to iterate MultiSelect ListBox using C# (.NET)...
- How to Create MultiSelect Listbox in .NET (C#)
- How to get the selected value of listbox using C# ...
- How to Bind DataSet to ListBox using C#
- How to retrieve specific connection string from Ap...
- How to validate password using C# (.NET)
- How to Raise Exceptions in C# / .NET
- How to Add an Array to List using C# /.NET
- How to Add and Sort Items in a list using C#
- Private Constructors in C# / VB.NET
- How to Download File from Website using C# (.NET)
- How to Bind a Lisbox to Database in C# (.NET)
- Switching Application Types using Visual Studio
- Debug.Print and Debug.Assert in C#
- How to format Currency (Pound/Dollar/Euro etc) usi...
- en-UK is an invalid culture identifier - VB.NET/C#...
- How to pass an argument by reference in Csharp/C#/...
- Input string was not in a correct format. - Csharp...