C# Corner

Resources  
  • ASP.NET Poll Control In VB.NETJul 22, 2016. In this article, you will learn about ASP.NET Poll Server Control in VB.
  • What Is The Future Of VB.NET May 12, 2016. Are you a VB.NET developer? Do you wonder what the future of VB.NET looks like?
  • Create A Versioning Service With Visual Basic .NETApr 19, 2016. In this article we will see how to create a Windows service through Visual Basic .NET.
  • Invoke Method To Update UI From Secondary Threads In VB.NETJan 25, 2016. In this brief article, we'll see how it can be possible, through the Invoke method, which is available to all controls through the System.Windows.Form namespace, to realize such functionality in order to execute a graphic refresh and update through delegates.
  • Connecting Databases Using ADO.NET In VB.NETJan 22, 2016. In this article you will learn how to connect databases using ADO.NET in VB.NET.
  • How To Enable C# 6.0 / VB 14 In Visual StudioJan 07, 2016. In this article we will learn how to enable C# 6 / VB 14 settings in Visual Studio.
  • AutoComplete Brackets In C#.NET/VB .NETDec 21, 2015. In this article you will learn how to create Auto Complete Brackets in C#.NET or VB.Net. Completing { , ( , " , ' , < , [ char.
  • Namespace Aliases In Visual Basic .NETOct 13, 2015. In Visual Basic .NET, it is possible to declare aliases for namespaces, giving the possibility of using more concise declarations, if the developer desires to do so.
  • Calculate Fractions in VB.NETAug 22, 2015. In this brief article, we'll see a simple method to convert the decimal part of a number into its fractional representation, developing a reusable class apt to do it.
  • Store HTML Table Data To Excel Spreadsheet Using VBScriptAug 18, 2015. This article shows how to store HTML table data into a Microsoft Excel sheet using a VBScript.
  • Store HTML Form to Excel Sheet Using VBScriptAug 18, 2015. In this article you will learn how to Store HTML Form to Excel Sheet using VBScript.
  • Create and Use DataSet-independent Reports in VB.NETJul 24, 2015. In this article we will learn how to create dataset independent reports in VB.NET.
  • Populate Excel Files From Data SourceJul 03, 2015. This article shows how to use Visual Basic .NET, together with Excel Interops, to connect to a data source and extract information to be imposed to an existing Excel model. In other words, how is it possible to write a simple Excel reporting software.
  • Create QR Codes With Google Web APIsMay 15, 2015. This article explains a simple method to create a QR Code inside a standard control.
  • 10 Reasons Why ASP.Net is Not Worth UsingMay 15, 2015. Here are the 10 reasons to convince you to drop your plans to choose ASP.NET. It's not worth it.
  • How to Create a Login Form and User Form in VB.NetMay 13, 2015. Login Form and User Form in VB.Net showing how to add, edit, delete and reset a form in a VB.Net 2008.
  • Save and Load a DataGrid's Columns Graphical Properties in WPFMay 12, 2015. We'll see in this article how a user can customize a DataGrid, ordering columns or modifying their width, saving those changes for later use (in other words, when the program will show again a specific grid).
  • Basic Outlines and Examples on MVVM PatternMay 08, 2015. This article explains some basic concepts about the MVVM pattern (Model View ViewModel).
  • Genetic Algorithm to Solve 2D MazesApr 19, 2015. This article shows how to use genetic algorithms to solve problems. The approach uses Genetic Algorithms (GA) in the solutions optimization context.
  • MBTab Control With Custom Visual StylesApr 14, 2015. This article provides an extended Tab Control with custom Visual Styles using VB.NET.
  • TreeView Explorer Control For Windows ApplicationsApr 12, 2015. This article explains the TreeView Explorer User Control using VB.NET.
  • Windows Store Apps Using C#/VB and XAMLJan 14, 2015. In this article we will implement a very first simple example of Windows Store App.
  • How to Use Chart Control in VB.NET 2010Dec 25, 2014. This article shows how to use the Chart control in VB.NET.
  • Understanding Cross Language Interoperability With C# .NETNov 27, 2014. This article explains case sensitivity/insensitivity of cross language interoperability in Microsoft .NET that allows compliant languages to interoperate with each other.
  • How to Use SetPixel Method to Draw a Function in VB.NETNov 25, 2014. This article shows how to use the SetPixel method to draw some mathematical functions.
  • How to Login To Gmail and Facebook With VB FormNov 17, 2014. In this article you will learn how to login into Gmail and Facebook with a VB Form.
  • Convert Date From Solar (Gregorian) to Lunar (Hijri) Using VB.NETAug 19, 2014. This article describes how to convert a date from Solar to Lunar using VB.Net.
  • Simulated 3D Maze Game in VBMay 22, 2014. It's a simulated 3D maze game with an editor to make new levels.
  • Language Choices For Window Store AppsMay 17, 2014. This article explains the four language choices for building Windows Store apps and explains their use depending on your expertise and needs.
  • Call Visual Basic Function In C# PageMar 24, 2014. In this article I show how to access a VB class function in a C# page.
  • Optional Parameter Issue With COM in C#Feb 07, 2014. COM components don't support parameter overloading, so in C#, for each value in a parameter list, we must pass in something.
  • UNIX Machines and Tests Triggered From WindowsSep 17, 2013. In this article we will learn how to run regression tests on UNIX machines and UNIX commands triggered from Windows machines with VBScript or VB.NET code.
  • Glass Style Button With Dropdown MenuList Using VB.NETSep 12, 2013. This article provides a User Control to replace the standard Button with many properties and much versatility.
  • Changing UICulture of Master and Content Pages on Button Click in ASP.NET Using C#, VB.NETMay 25, 2013. This article explains how to change the UICulture of the master and content pages on a button click in ASP.NET.
  • Cross Language Interoperability With C# .NETApr 16, 2013. As you know Microsoft .NET is designed with cross language interoperability. I.e. two .NET compliant languages can interoperate with each other. Which simply means a function in VB .NET can be called by C# and vice-versa.
  • Use of BitBlt Function in VB.NETJan 02, 2013. In this article, we will see how to use BitBlt function in Visual Basic.
  • Using New ComboBox ActiveX With VBNov 19, 2012. This is my attempt to create a resizable ComboBox ActiveX to set its height to the height of a DataGrid cell.
  • UltraGrid control with dynamic column using VB.NetNov 10, 2012. The following article will explain how to add dynamic column and perform calculation in the dataset.
  • Printing Directly to the Printer in VB.NETNov 10, 2012. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems. Additionally I have added code to show how to send PCL codes to the printer.
  • Calling WinINet API from VB.NET Nov 10, 2012. This is an API which connects with the remote server . Inputs are the user name and password which are needed to connect with the server. For demonstration purpose an API called “FtpGetFile” is illustrated. Other API’s for deleting, putting , renaming and moving can be tried out. Please contact the author for any problems.
  • How to Format a String in Proper Case or Title Case in VB.NETNov 10, 2012. This is a basic function used to format a string into it proper case equivalent without the use of the VB6 (visualbasic.dll) namespace.
  • Formatting Currency in VB.NETNov 10, 2012. This article shows us how to format a string provided to the function in standard US currency format following the standards of $1,000.00 without using the Visual Basic Namespace.
  • Exploring Array in VB.NET Nov 10, 2012. There are few differences between VB6 and VB.NET arrays. Let’s find out how VB.NET arrays differ from the VB6 arrays. The main difference between VB.NET and VB6 based arrays are VB.NET arrays always starts from the element zero (Arrays in .NET enabled languages are inherited from the System.Array class).
  • Calling WinINet API from VB.NET : Part 2Nov 10, 2012. This is an API which connects with the remote server . After connecting it brings the files to your local disk without the “Save to Disk” dialogue box . Please contact the author for any problems.
  • Abstract Classes in VB.NET Nov 10, 2012. This is a detailed analysis of abstract classes and methods in VB.NET with some concrete examples.
  • Rotation Sample in GDI+Nov 10, 2012. After reading Mike Gold's article on transforms I thought I would get things moving a bit.
  • ASP.NET, jQuery and Intellisense in VB.NETNov 10, 2012. The article describes what it necessary to get intellisense up and running for jQuery in Visual Studio 2008 (VB or C#) and addresses a minor snag you might encounter when using jQuery intellisense in MVC or ASP.NET development.
  • Drawing Rubber-Band Lines and Shapes in VB.NETNov 10, 2012. I would like to show how we can draw rubber-band lines and shapes in GDI+ with just a few lines of code.
  • Outlook and VB.Net -Outlook Object modelNov 10, 2012. This article shows what the outlook object model and how to use with vb.net.
  • Using MAPI Control to Send Mail in VB.NETNov 10, 2012. This piece of code is in the initial stage. This is a way towards automating the E-Mail client like Outlook Express. The next version will send and receive messages. Hang on friends for my code for sending messages by Winsock.
  • Builder Pattern in VB.NETNov 10, 2012. Builder is an object creational design pattern that codifies the construction process outside of the actual steps that carries out the construction - thus allowing the construction process itself to be reused.
  • Opening and Viewing Images and Text Files in VB.NETNov 10, 2012. We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ drawing, menus and panel control.
  • Command Pattern in VB.NETNov 10, 2012. Command pattern encapsulates a request as an object and gives it a known public interface. Command Pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver. A sender is an object that invokes an operation, and a receiver is an object that receives the request and acts on it.
  • Creating a Pie Chart on Fly with VB.NETNov 10, 2012. Dot net framework provides strong support for creating graphics with GDI+. Developing graphics application was never that much easier in past.
  • Secure WS in VB.NETNov 10, 2012. This code covers the .NET (VB) implementation of the security of web services using the Microsoft “The Favorites Service” security modified schema.
  • Adapter Pattern in VB.NETNov 10, 2012. During object-oriented developments, some times we have to use an unrelated class along with our existing class hierarchy. The simplest solution is to make a wrapper or adaptor around the foreign class, which is acceptable by the existing class hierarchy. This is what known as the ADAPTOR PATTERN or WRAPPER PATTERN.
  • Working with PNGs using GDI+Nov 10, 2012. PNG overcomes the color depth hurdle by providing up to 48Bpp (bits per pixel). Just as importantly, the PNG format is patent-free and available for use by anyone.
  • Embed Word in a Web Page with an Easy VB Custom Control in VB.NETNov 10, 2012. This article describes an approach to displaying word documents within a web page using a simple custom server control.
  • Client Server Multithreading Application in VB.NETNov 10, 2012. This is simple Client/Server (multi-threading) program that transfers data. Server can handle multiple clients.
  • .NET and the .NET FrameworkNov 10, 2012. In this article I will explain about .NET, .NET Framework and other technologies related to .NET.
  • Convert Currency Values with a Custom Control in VB.NETNov 10, 2012. This article describes the details for constructing a custom ASP.NET 2.0 composite control used to convert one form of currency into another. The control consumes a public web service in order to calculate the exchange rate and uses the exchange rate returned from the web service to calculate the value of the exchanged currency.
  • GDI+ Samples - Rectangles, Ellipses, and 3D in VB.NETNov 10, 2012. The sample code in this article shows you how to use GDI+ and VB.NET to draw rectangles, ellipses, and 3D graphics objects.
  • Implement Concrete Factory Design Pattern using Reflection in VB.NETNov 10, 2012. Reflection is used to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. In this example, we implement Concrete Factory Pattern using Reflection to fetch records from MS-Access and MS-SQL Database.
  • Owner Draw Menus in VB.NETNov 10, 2012. This article and attached source code shows you how to build MDI Windows Forms applications in VB.NET.
  • Getting Images From Scanners and Webcams using VB.NETNov 10, 2012. In this article I will show how to acquire pictures from imaging peripherals like scanners, webcams and so on, by calling some API functions, provided by the EZTW32.DLL library, and Visual Basic.
  • Maintain Control State in VB.NETNov 10, 2012. his article describes a simple approach to maintaining control state in an ASP.NET 2.0 custom web control. Control state is a new construct within ASP.NET 2.0 and it is really nothing more than view state however it is view state with a significant advantage; that advantage is that other developers using your control cannot disable control state as they can view state.
  • Configuring Applications in VB.NETNov 10, 2012. The .Net Framework provides a very convenient and flexible way to configure applications at run time. Using Configuration files developers and administrators can modify settings for applications without having to recompile the application, avoiding many of the redistribution /re-deployment hassles.
  • ASP.Net Toolbox (Reporting Controls): Part 9 in VB.NETNov 10, 2012. In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in Reporting Control section. In coming day you will find separate article on each control
  • Reading Assembly attributes in VB.NETNov 10, 2012. This article allows you to read the assembly attributes information using .NET. The information store in AssemblyInfo files like Title, Description, copyright, Trade mark can be read using reflection and assembly namespace.
  • Application to Read Data from a File using ASP.NET and VB.NETNov 10, 2012. I have created a small application by which you can read from a file and display the contents of the file onto the browser.
  • Option Statement in VB.NETNov 10, 2012. This article gives a brief description of the Option Statement available in VB.NET.
  • Web Services - Great Plains Dexterity Programming Secrets in VB.NETNov 10, 2012. This article is for advanced Great Plains Dexterity and VB.Net developers. It describes the technique of direct COM objects/Web Services calling in Dexterity.
  • Lookup Area Codes by Zip Codes with an ASP.NET Custom Control in VB.NETNov 10, 2012. This article describes the construction of a simple custom control used to lookup an area code and a city/state location based upon a selected zip code; the lookup is performed through the use of an available public web service. The article includes the source code for this custom control and well as a demonstration site used to test the control.
  • CDO Object in Web Services using VB.NETNov 10, 2012. This article suggest how to resolve the issue "Could not access'CDO. Message'" while using SMTP to send email on web services.
  • Add and subtract functionalities in DateTime and VB.NETNov 10, 2012.
  • MouseStick Control in VB.NETNov 10, 2012. he attached source code is a MouseStick control written in C# and Windows Forms. The MouseStick control gets its name from the fusion of a joystick with a mouse. Think of the line in the MouseStick as a joystick that is controlled with your computer's mouse.
  • ASP.Net Toolbox (Dynamic Data Controls): Part 8 in VB.NETNov 10, 2012. In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in Dynamic Data Control section
  • XML Web Service Caching Strategies in VB.NETNov 10, 2012. We'll take a look in this article ways for application-level caching with ASP.NET, and will take a look at HTTP caching and its application for XML Web services.
  • Forecast the Weather with a Custom Control in VB.NETNov 10, 2012. This article describes the construction of a custom control used to display a three day weather forecast based upon a designated zip code. The control is driven by a public, free web service that returns the seven forecast for any area in the United States by zip code or location. This demonstration only uses the first three days of the seven day forecast and it implements only the zip code based request for forecast data.
  • Tips : Leveraging VB.Net Base ClassesNov 10, 2012. Multiple language implementation has an inherited powerful advantages. The .Net unify class architecture model allows .Net languages to leverage class libraries implemented in other class libraries. This article shows you how to leverage the power of VB.Net Financial base class library using C#.
  • Great Plains Dexterity customization in VB.NETNov 10, 2012. This article is for intermediate Great Plains Dexterity developer. It describes the directions to phase out Dexterity functionality and replace it with newer technologies.
  • How to use Font Dialog in VB.Net on runtimeNov 10, 2012. This article shows that how to use font dialog in VB.NET.
  • ASP.Net Toolbox (WebParts Control): Part 6 in VB.NETNov 10, 2012. In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in WebParts Control section.
  • RptPreview 1.1 using Crystal Reports Viewer in VB.NETNov 10, 2012. The following small application is designed to allow testing created reports with XML feeds used as data sources. The program checks that fields in report match to the fields in XML and then shows the report with loaded data in the report viewer.
  • Determine Web Visitors Country of Origin in the Drop Down List using VB.NET or C#Nov 10, 2012. During the transaction online, there are times when it is important to preset the web visitor's country of origin, ZIP code, ISP and domain name at the drop down list to prevent fraud and to ease the complexity of registration task. This article shows you how by using .NET Framework, it can be done.
  • A variety of Chart Engines using GDI+ in VB.NETNov 10, 2012. The attached source code library is a Chart engine, which is written using GDI+ and VB.NET.
  • XML News Feeds from Harrison Logic in VB.NETNov 10, 2012. This application provides a compilation of news headlines from many sources, using the MoreOver.com's XML service. It is built on the .NET framework and uses VB.NET as the ASP.NET server side language. The pages we built using Visual Studio .NET.
  • Abstract Factory Pattern in VB.NETNov 10, 2012. The abstract factory pattern comes under the classification of Creational Patterns. The creational patterns deals with the best way to create objects. The Abstract Factory provides an interface to create and return one of several families of related objects.
  • Mathematical functions (math class) in VB.NETNov 10, 2012. This article describe about some mathematical functions of Math class in VB.NET.
  • Dynamic image placement and manipulation in VB.NETNov 10, 2012. This article describes a simple technique for building image tags and dynamically placing them into position.
  • Tic Tac Toe Game in VB.NETNov 10, 2012. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable.
  • Reading XML Files using XmlDocument in VB.NETNov 10, 2012. In this article, I will show you how to read XML files in VB.NET using XmlDocument class and its members.
  • Add a daily Dilbert Comic with a Custom Control in VB.NETNov 10, 2012. This article describes the construction of a custom control used to display a daily Dilbert comic on a site.
  • File Encryption in VB.NETNov 10, 2012. The classes in the .Net Framework cryptography namespace manage many details of cryptography for you. Some are wrappers for the unmanaged Microsoft CryptoAPI, while others are purely managed implementations. Cryptography protects data from being viewed or modified and provides secure channels of communication over otherwise insecure channels.
  • Using IComparable and IComparer to compare objects in VB.NETNov 10, 2012. The .Net framework and especially the System.Collection namespace provides us two built in interfaces witch are IComparable and IComparer interfaces in order to compare two objects.
  • How to Run Crystal Report using Crystal Report Viewer in VS.NETNov 10, 2012. This example is developed using Visual Studio 2005 and shows how to use Crystal Report Viewer in your applications to generate reports.
  • ASP.Net Toolbox (AJAX Extensions Control): Part 7 in VB.NETNov 10, 2012. In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in AJAX Extensions Control section.
  • Generating XML from SQL Database in VB.NETNov 10, 2012. This sample shows how you can obtain a Dataset from (in this case) a SQL Server database, and then write it out to an XML Document. As an "Extra Added Bonus(tm)", it can show you how to write the schema as well.
  • Payment Gateway Integration using VB.NET with Authorized.NETNov 10, 2012. This article shows payment gateway integration using Vb.net and Msxml.XMLHttpRequest object.
  • Use of the HtmlTextWriter Class to Render Custom Controls in VB.NETNov 10, 2012. This article will address the use of the HtmlTextWriter class and the role is plays in the construction of custom server controls. As custom server control development is accomplished without a visual designer, the HtmlTextWriter class provides a mechanism for precisely defining the output of the custom control directly within the code and in absence of the designer.

About VB

VB stand for Visual Basic which is a high level programming language and developed from earlier DOS version called BASIC. BASIC means Beginners' All-purpose Symbolic Instruction Code which is easy programming language to learn. The code looks like English Language. In software development Different software companies produced different versions of BASIC, such as Microsoft QBASIC, QUICKBASIC, GWBASIC ,IBM BASICA and so on. But mostly people are used Microsoft Visual Basic today because it is well developed programming language and supporting resources are available everywhere. In addition Visual Basic 6 is Event-driven because we need to write code in order to perform some tasks in response to certain events. Some of the events are load, click, double click, drag and drop, pressing the keys and more. We will learn more about events in later lessons.
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Unlimited Flat-Free License