C# Corner

Resources  
  • 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?
  • How to Use Chart Control in VB.NET 2010Dec 25, 2014. This article shows how to use the Chart control in VB.NET.
  • An HTTP Mail Client in VB.NET Nov 10, 2012. The great thing about the POP mail protocol is that it is a well-documented open standard, making writing a mail client to collect mail from a POP box a relatively painless process.
  • Cryptography in VB.NET Part 1Nov 10, 2012. For any Distributed Framework or Infrastructure to be successful today it has to have an extensive support for developing secured solutions. Microsoft .NET is developed from bottom up with security in mind. It has an eclectic security infrastructure.
  • Exploring VB.NET ArraysNov 10, 2012. There are few differences between VB6 and VB.NET arrays. This article explains how VB.NET arrays differ from the VB6 arrays.
  • COM Interoperability in VB.NET Part 3Nov 10, 2012. In this article I cover the area how to use a COM server in a .NET client. Existing COM components are precious resources to your managed applications. So now let us observe how you can build a .NET Client that uses a COM Server.
  • 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.
  • How to build Multi-Language Web Sites with ASP.NET 2.0 and VB.NET 2005Nov 10, 2012. In this article, we will explore the necessary details for working with resources in ASP.NET applications.
  • Convert VB6 Form to VB.NET Win FormNov 10, 2012. VB .NET has changed the way developer used to program in VB6, GUI of VB6 used to hide most of the internals working from the developer but with VB.NET every aspect of programming is open GUI controls and all. The language it self got changed with VB.NET.
  • 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#.
  • 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.
  • 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.
  • Outlook and VB.Net -Outlook Object modelNov 10, 2012. This article shows what the outlook object model and how to use with vb.net.
  • COM Interoperability in VB.NET Part 2Nov 10, 2012. This article elucidates how to build and install-managed code that will be used from COM applications. A classic COM server is activated using the Service Control Manager (SCM). It looks up numerous information such as CLSIDs, IIDs, ProgIDs etc.
  • How to use Font Dialog in VB.Net on runtimeNov 10, 2012. This article shows that how to use font dialog in VB.NET.
  • 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.
  • 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).
  • Image Viewer in VB.NET in VB.NETNov 10, 2012. This program allows you to open and view image files including JPEG, GIF, WMF and other images. Program also provides options to stretch and shrink them, rotate at different angles through all axes and save them in different formats
  • Payment Gateway Integration using VB.NET with Authorized.NETNov 10, 2012. This article shows payment gateway integration using Vb.net and Msxml.XMLHttpRequest object.
  • How to change desktop background in vb.net Nov 09, 2012. In this article we will discuss how to use User32 windows api for set the background of desktop or desktop wallpaper.
  • Image Editing Tool in VB.Net (Part5- Rotations of Image)Nov 09, 2012. This article describes how to rotate an image, This is the next article of the "Image Editing Tool in VB.Net" article series.
  • Tic Tac Toe Game in VB.NET Nov 08, 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.
  • Document Properties of Word Document in vb.net - Inbuilt PropertiesNov 08, 2012. In this article we will discuss read and rewrite or update document properties of any word document in vb.net.
  • How to use VB.Net to print InvoiceNov 08, 2012. In this article I will demonstrate how to use VB.Net to print Invoice.
  • Send Mail Using Gmail, Yahoo Account in VB.Net and C#.NetOct 19, 2012. In this article I am going to show how to send mail from Gmail or Yahoo using vb.net & C#.NET without login your Gmail account.
  • What is VB.NET Namespace Sep 14, 2012. This article describe namespaces in VB.Net.
  • SQL Server backup utility using VB.Net and SQL-DMOFeb 05, 2008. This article allows you to take backup of any SQL Server database using SQL-DMO library. It allows you to take backup of selected tables, views or stored procedure.
  • Message window using VB.NET in ajaxDec 03, 2007. This article is used to show message window in vb.net using ajax. The problem comes when you use vb.net using ajax enables website.
  • C# to VB.NET Code Conversion Web ServiceMar 20, 2002. ConvertCSharp2VB is a Web Service that converts a C# code block into VB.Net. It exposes the Service Description and WSDL for the Web Service, so you can implement this functionality in your applications.
  • ASP.NET and VB.NET Error HandlingAug 24, 2001. ASP.NET and VB.NET both are providing excellent error handling options when compared with ASP and VB6. In VB.NET we can make use of the structured way of error handling with the Try & Catch statement.
  • C# or VB.NET - World War IIIAug 23, 2001. In this article I'm going to go under the hood and show you what really happens to the in C# and VB.NET.
  • ASP.NET Poll Control In VB.NETJul 22, 2016. In this article, you will learn about ASP.NET Poll Server Control in VB.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • External Program Text Read Using VB.NetJul 09, 2014. This article shows how to create a simple program to read and edit external program(Another Application) text, without modifying the external program(Another Application or Another Program) source 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.
  • Use of BitBlt Function in VB.NETJan 02, 2013. In this article, we will see how to use BitBlt function in Visual Basic.
  • Why we use VB.NETNov 10, 2012. This article shows you how to leverage the power of VB.Net Financial base class library using C#.
  • Using Find Control (alternative of Master Page Properties Exposing) in VB.NetNov 10, 2012.
  • XML TreeView in VB.NETNov 10, 2012. The application shown here was my first adventure into Xml in the .Net platform. My goal was to be able to reflect any Xml file into the Windows Forms TreeView control. I found various examples online, but none I found were suited for opening all Xml files, rather they were suited to one schema or another.
  • Themes in ASP.NET 2.0 using VB.NETNov 10, 2012. In this article we will try to cover one great feature of ASP.NET 2.0, i.e. Themes. Themes are the great way to customize user-experience in the web application. Themes are used to define the look and feel of the web application, similar to the use of Cascading Style Sheets (CSS). Unlike CSS, themes can specify the look of the server-side control like a tree-view control, how they will appear when they are rendered by the browser.
  • Password Hacking in VB.NETNov 10, 2012. This code when run gets the password from a password window of any application. To try it out use the following procedure to get the password.
  • Factory Pattern in VB.NetNov 10, 2012. A Simple Factory Pattern returns an instance of one of the several classes depending upon the parameters passed to the shared/non-shared factory method.
  • Viewing Assembly Permissions in VB.NETNov 10, 2012. In this article I will show you how you can view the Code Groups that an assembly belongs to and what permissions belong to the assembly. I will demonstrate the Caspol utility supplied with the .NET SDK.
  • Using Map in Pocket PC Application in VB.NETNov 10, 2012. GPS enabled applications are a good example of using a Pocket PC to locate a Pocket PC user. This attached application is a location based Pocket PC application developed using .NET compact framework.
  • Object Serialization in VB.NETNov 10, 2012. This application is simple Console application which demonstrate Object Serialization in VB.NET by use of System.Runtime.Serialization namespace.
  • Beyond DataBinder in ASP.NET Using VB.NETNov 10, 2012. The DataBinder.Eval method is a very handy way to achieve data binding in Web Forms applications.
  • Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC in VB.NETNov 10, 2012. In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
  • Charting in GDI+ in VB.NETNov 10, 2012. This article shows an example of creating simple charts using GDI+ commands in C#.
  • Accessing data using DataReader in VB.NETNov 10, 2012. In this article you can see how to access the data using DataReader from the data source.DataReader is a readonly, forward only and connected recordset from the database.
  • 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.
  • Understanding How Assert Effects Security in VB.NETNov 10, 2012. This article expalins about how asserts effect security in VB.NET. How you restrict access to your library modules and resources requires that you understand the pros and cons in the security process used.
  • Internationalizing Your Application in ASP.Net 2.0 using VB.NETNov 10, 2012. The Web has had worldwide reach since its inception. Users have different cultural expectations and speak different languages. In this Quickstart you will learn how powerful new ASP.NET v2.0 features make it easier to adapt your Web application to different countries, regions, and markets.
  • ASP.Net Toolbox (Navigation Control): Part 4 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 Navigation Control section.
  • Understanding and using Namespaces in VB.NETNov 10, 2012. In this article, you will learn about namespaces in VB.NET. Here you will learn how to create and use namespaces.
  • 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.
  • MS Office Style Color Picker in VB.NETNov 10, 2012. I decided to make a color picker dialog of my own. I used the one found at Microsoft Office (for choosing the font color) as a souce of inspiration (in fact, I shamelessly copied it) - I used exactly the same palette of 40 colors and the same "look and feel" - only the size and distance of the little color panels is a little different in my version.
  • 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.
  • Accessing ASP Cookie in ASP.Net using VB.NETNov 10, 2012. This article shows how to access ASP Cookie in ASP.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.
  • 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.
  • Unit Conversion Tool for Pocket PC with Compact Framework in VB.NETNov 10, 2012. This article explains about the unit conversion tool for Pocket PC. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • Create and Use Namespaces in VB.NETNov 10, 2012. We all know namespaces are the basic building block for the .NET framework. In this article, I'm going to show how to create and use namespaces with VB.NET and C#.
  • 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.
  • Messaging Between Threads using Message Loop in VB.NETNov 10, 2012. MessageLoopLib is a stripped down version of a complete, threading communication subsystem I’ve written. This implementation is a single thread created in the GUI constructor. I’ve dropped all thread management and have had to change some of the message code to accommodate this.
  • Custom Dial Control in VB.NETNov 10, 2012. This article shows how to create and use custom dial control.
  • Boxing and Unboxing in VB.NETNov 10, 2012. Boxing and unboxing is a essential concept in VB.NET’s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object.
  • 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.
  • 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
  • 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.
  • Guage Custom Control in VB.NETNov 10, 2012. This article describes about Guage custom control in VB.NET
  • Scramble For Pocket PC in VB.NETNov 10, 2012. This article shows you how to write Scramble for Pocket PC.
  • ASP.NET Page Life Cycle in VB.NETNov 10, 2012. In this article, we will see the stages of execution of the ASP.NET Page.
  • Custom Image Button Control for ASP.NET 2.0 in VB.NETNov 10, 2012. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application.
  • NetMassDownloader in VB.NETNov 10, 2012. With this tool you can download whole .Net Framework Source Code at once, and enjoy offline browsing With it , you can have whole the source code without any Visual Studio Product Installed.
  • 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.
  • 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
  • Automate Send & Receive in Outlook using VB.NETNov 10, 2012. In this article we will take the privilege of outlook and make it to send & receive the mail automatically using VB.Net.
  • 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.
  • Building Assemblies using VB.NETNov 10, 2012. This article discusses how to build assemblies and secure them from being tampered.
  • ActiveX Controls in VB.NETNov 10, 2012. VB.NET language provides us a way to call this COM server in a program. When we compile a VB.NET program an Intermediate Language is generated and it is called as Managed Code. This article shows how to create a simple server by using Visual Basic 6.0 and implementing it in a VB.NET client program.
  • Getting NASDAQ Quotes with a Pocket PC in VB.NETNov 10, 2012. This article describes about getting the NASDAQ Quotes with a Pocket PC. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may.
  • Extending the ASP.NET ImageButton Control in Vb.NETNov 10, 2012. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • Mimic the Appearance of Outlook’s Sidebar with the Multi-view Control in VB.NETNov 10, 2012. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application.
  • Simple XML Parser in VB.NETNov 10, 2012. This article shows how to create a very simple XML parser.
  • Synchronization in Multi-threaded Applications in VB.NETNov 10, 2012. This article demonstrates the important concept in multithreading, synchronization. In this article and attached source code, you will learn how to write multi-threaded synchronized applications.
  • Mobile Stock Quote Tracker in VB.NETNov 10, 2012. We will create a mobile stock quote tracker program in this article. The program retrieves the real time quotes of symbols specified by the user and displays the results in a user friendly format. The user can also specify the high and low thresholds for setting alerts. The View Stock Alerts screen displays the stocks that have crossed above the high threshold and stocks that have values below the low threshold.
  • Number to Words Web Service in VB.NETNov 10, 2012. This sample code describes a Web service through which a client can get the equivalent of a number in words.
  • Creating a Task of Outlook in VB.NETNov 10, 2012. This article helps us to create a new task in Microsoft Outlook and send it through a mail.
  • Set Text Case with a Custom Control in VB.NETNov 10, 2012. This article shall describe the construction of three custom controls; each is used to format its text content to be either all upper case, all lower case, title case, or normal (as typed) case regardless of the format of the input.
  • Add and subtract functionalities in DateTime and VB.NETNov 10, 2012.
  • Weather Update on your Mobile in VB.NETNov 10, 2012. In this article, I would show you how you can get weather update on your mobile through .NET mobilding services.
  • 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.
  • 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.

About VB.NET

vb.net
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!