No new comments.
View All Comments
No new messages.
View All Messages
No new notifications.
View All Notifications
Request a new Category
No tag found
Refine by Author
John Charles Olamendy(3)
G Gnana Arun Ganesh(2)
Shashi Jeevan M P(1)
Jorge L Fernandez(1)
Edmund H Smith(1)
Rehan Ahmad Abbasi(1)
rajesh p v(1)
No resource found
Get IP Address of a Host
Dec 03, 2000.
The .Net DNS class can be used to get a host name or an IP of a given host name. To use DNS class in your project, you need to include System.Net
Get a database table properties
Jan 22, 2001.
Get a table properties such as column names, types etc using DataColumn and DataTable.
Creating a Windows Service in C#
Jan 23, 2001.
Windows Services is a new name for NT Services in .NET. This tutorial steps you through creating a Windows Service and how to install and start it.
Using the ref Parameter
Mar 06, 2001.
The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
Using the out Parameter
Mar 07, 2001.
Did you ever need your method return more than one value? The out keyword can be used to do the same.
Naming Guidelines in .NET
Apr 20, 2001.
Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
Jun 11, 2001.
This Program will generate all the colors that are supported in C# according to the Name.
The out and ref Paramerter in C#
Jun 12, 2001.
The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
Using ref and out Parameter
Jun 20, 2001.
When we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.
What's in Mobile Internet Tool?
Jul 05, 2001.
The New Name For .NET Mobile Web Is Mobile Internet Toolkit.
A Simple C# Utility to Help You Invent Names
Jul 10, 2001.
I wrote this simple console utility to help me think of a new name for a project I was launching.
Resurrection and the .NET Garbage collector
Jul 13, 2001.
This article will explain and demonstrate a phenomenon that is unusual in the .NET implementation of the garbage collector. The phenomenon is known as resurrection. As the name suggests, an object is marked for destruction and in the last possible moment it is resurrected from the ‘dead’ and reactivated.
Passing Const Parameter to Functions in C#/C++/VB Compared
Aug 30, 2001.
Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
GUI Based Opinion Poll
Sep 26, 2001.
This is a article on how to create a opinion poll in C#. It creates a Text file on your c drive storing the voting parameters in it.
Method Parameters in C#
Oct 15, 2001.
This article describes different method parameters such as value parameters, reference parameters, output parameters, and parameter arrays.
Enumerators in C#
Oct 25, 2001.
An enumeration (enum) is a special form of value type, which inherits from System.Enum and supplies alternate names for the values of an underlying primitive type.
Redirecting Standard Input/Output using the Process Class
Dec 18, 2001.
When a program starts, a new process (a program in execution) is created by the operating system,and this process is identified by its process Id and also a name.
Using MS Agent in C#-Part-I(Text To Speech)
Jan 15, 2002.
This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
N-Tier Development with Microsoft .NET : Part I
Feb 15, 2002.
The purpose of this article is to examine a proof of concept on an architecture that follows the DNA pattern on concept only.
Creational Pattern - Builder
Feb 19, 2002.
The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the objects construction.
.NET COM Interoperability - Part 2: Using .NET Component from COM
Apr 02, 2002.
When a COM client calls a DotNet object, the DotNet framework will create a COM callable wrapper (CCW). COM clients use the CCW as a proxy for the managed object.
Tracking Time in a Window Application
Apr 15, 2002.
The program reads from an XML file to get the data about names and birth dates, so it is easy to add or remove names without changing the code in case my son decides the program should include his pet dog or turtle.
A Database Component: Inserting Serializable Objects
Apr 23, 2002.
The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0.
Assembly Browser: Browsing a .NET Assembly
May 17, 2002.
This program lets you browse an assembly and lists the methods and the parameter name and parameter type for each assembly.
DataGrid Customization: Part-1
Jun 25, 2002.
In this article, I will discuss some DataGrid customization tips such as how to I get the name and index of the column headers and how do I find out if mouse click right click was on a column.
Create FTP and Web IIS Virtual Directory using C#
Jul 03, 2002.
In this example we will create a Windows Form Project that will create new FTP and Web IIS Virtual Directories from code based on the name and path specified by the user.
A Generic Data Access Component using Factory Pattern
Jul 30, 2002.
the article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.Net data providers use different approaches in labeling of parameters in SQL statement.
Macro to Add Strong Names to VS.NET Projects
Aug 06, 2002.
When writing class libraries in Visual Studio .NET that are going to be placed into the GAC you will need to add strong name to the assembly. This is normally done by dropping out to a dos prompt and running the .NET utility sn.exe and then updating the assembly to reference the newly created .snk file.
DataGrid Customization Part-II: Custom Sorting and DataGrid Column Hiding
Aug 13, 2002.
How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column
Getting System Information
Sep 26, 2002.
The attached source code returns the system information for your machine such as machine name, operating system, current user and logical drives.
Customizing Default Project Setting
Sep 26, 2002.
"How do I change the default exe name of my project?". I received this question in an email.
Low Down on Installing a .NET Assembly into the Global Assembly Cache (GAC)
Jan 02, 2003.
This article will walk you through the process of giving your assembly a strong name, and installing it into the GAC.
Global Assembly Cache(GAC) Hell
Jan 03, 2003.
After having worked on a project involving heavy use of the Global Assembly Cache, I would like to tell you that using the GAC can be very frustrating. We had a solution which had several projects within the solution. Many of these projects referenced 1 project (utility project) which did a lot of the work which we could reuse.
Using Stored Procedures in Conjuction with DataAdapter
Jan 09, 2003.
A stored procedure is a named collection of SQL statements that are stored in the database. To the client a stored procedure acts similar to a function.
Automating the Process of Getting Latest Files from VSS
Jan 22, 2003.
In this article, I will show you how to write an automated process of taking VSS backup. Initially, this application was written with some hard coded settings such as user name, password. and VSS path.
The "ins" and "outs" of Using Stored Procedures in C#
Jan 27, 2003.
This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
SQL Demo Login in C#
Feb 23, 2003.
This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.
BuckyBalls: An Animated DirectX9 Demonstration
Jun 02, 2003.
BuckyBalls is an animated Managed DirectX demonstration. A buckyball, or fullerene, is a complex carbon molecule whose full name is buckminsterfullerene. The molecule contains 60 carbon atoms which form what is called a truncated icosahedron. It is shaped like a soccer ball or a geodesic dome, and is named after Buckminster Fuller, the inventor of the geodesic dome.
C# Methods : Part II
Jul 07, 2003.
This article completes our discussion of methods. In this article, you will learn parameter passing, reference and value type parameters, and method overloading.
Aug 05, 2003.
This article explains hot to define and use methods in C#.
Modal Popup Dialog Window in ASP.NET
Sep 15, 2003.
This sample show you how to create modal popup dialog window in ASP.NET that passes and returns multiple parameters.
Code Generator for Basic Stamp II Microcontroller
Oct 15, 2003.
The Basic II Stamp is programmed by the language its named after, Basic. The language is a combination of Basic syntax and built in key words that control the Basic Stamp II chip.
Directory Picker Pro in C#
Nov 24, 2003.
In my latest project I needed a dialog for picking a directory. I searched through the web, but found nothing that looked nice. First of all I wanted a TreeView for display, and I wanted to view all system drives (with correct names and icons).
Debugging a Compiled Component
Feb 02, 2004.
After an assembly is compiled into a dll in a release mode, it is very difficult to gather information from it such as runtime performance, parameters values, etc.
Configuring Publisher Policy File
Feb 20, 2004.
Versioning in the Microsoft .NET Framework is managed at the assembly level and is only used when locating strong-named assemblies. By default, the common language runtime loads the assembly whose entire version number matches the version number in the calling assembly's metadata.
Populate SQL Servers and Databases dynamically in C#
May 27, 2004.
The attached source code is a class that provides methods to populate an array with the available SQL Server and databases on your network dynamically.
Refactoring in Visual Studio 2005
Jun 11, 2004.
Refactoring allows developers to use the built-in feature of Visual Studio to rename and convert and change the signatures and definitions of a class members. In this article, I will show you how refactoring feature provided by Visual Studio 2005 can be a handy tool when you are reorganizing or optimizing your existing projects.
Line Count Utility
Jun 12, 2004.
Program returns count of code lines and file names in which code lines will be counted.
Crystal Reports - Geterogeneus databases: SQL Server, Oracle, Unidata, Btrieve
Aug 24, 2004.
Crystal Reports is the most flexible tool on the market and it has market recognition. Multiple software vendors offer Crystal Reports as the main reporting tool: Microsoft, Best Software, Oracle to name a few. In this article, you learn some tips on using Crystal Reports versus other options.
Storing Images into a Database
Oct 18, 2004.
In order to provide your application with cool pictures you can employ two techniques (at least). One of them is that you can save the pictures in a folder and store the path to each one in a database or configuration file. The other one is to store the entire file into a database, along with its file name.
Getting Web Statistics for Instant Downloads in ASP.NET
Nov 05, 2004.
One of the most important website activity parameters is the resource access statistic. Such information is necessary for many purposes - optimizing of the website content, marketing campaigns improvements and also for some diagnostic tests.
Public Key Token Generation Algorithm
Jan 31, 2005.
The PublicKeyTokenGenerator class and a small utility that generates Public Key Token from the Public Key using that class.
Will swap work if C# Manipulates Objects by Reference?
Feb 15, 2005.
C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!
Stack in C#
Feb 22, 2005.
Stacks are one of the common data structures used in the software world, which follows the First In Last Out paradigm. Stacks are used in various mathematical functions like Towers of Hanoi, finding Fibonacci Sequence , Factorial of a number to name a few.
Out and Ref Parameters in C#
Feb 27, 2005.
The out and the ref parameters are used to return values in the same variables that you pass an an argument of a method.
Best Approach for Designing Interoperable Web Service
Mar 15, 2005.
This article will clarify and explain in detail the different Web Service Design Methodologies as defined by the Web Services Standardization Groups, clarify the terms, highlight their differences.
Meter Windows Control
May 02, 2005.
This article is a revised version of previous article named Windows Forms Controls in C# and .NET (Analog Meter).
May 13, 2005.
The 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.
How to Maintain a CodeGroup in Security Policy at Runtime?
Jul 05, 2005.
Whenever protected resources are accessed by an assembly, it’s permissions are determined by the code access security system of CLR. Each permission set granted to an assembly is based on the assembly's evidence (such as its URL or publisher certificate, strong name), which in turn is based on configurable security policy.
Creating a Dynamic Configuration Dialog in C# and .NET
Jul 10, 2005.
This article will show you how to create a configuration dialog that builds itself from the existing application configuration name-value pairs contained in the appSettings of the app.config file.
Utilize the Full Functionality of the Whidbey File Management
Nov 15, 2005.
This article is based on a pre-release version of Microsoft Visual Studio 2005, formerly code named "Whidbey". All information contained herein is subject to change.
New Features of Visual Studio 2005 Editor
Nov 16, 2005.
In my previous articles, I discussed various new features introduced in Visual Studio 2005. This article is another addition to the same series. In this article, I discuss some new features of Visual Studio 2005 editor.
Creating Custom Template for Web User Control in Visual Studio.NET 2003
Nov 25, 2005.
This article shows you how to create custom template for web user control in visual studio 2003. The attached sample application will install the custom template for the name given for either VB or C# language and also uninstall the custom template.
How do I Pass the Required Parameters of a Stored Procedure in Crystal Reports?
Dec 30, 2005.
This small tip shows how to pass the required parameters of a Stored Procedure in Crystal Reports.
Types of Variables
Jan 14, 2006.
In this article we'll cover the behaviors of variables to Reference Types.
C# Heap(ing) Vs Stack(ing) in .NET: Part II
Jan 15, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behaviors we need to be aware of when passing parameters to methods.
Convert Long to Short File Names in C#
Mar 17, 2006.
Here in this article is very simple code for short to long and long to short file names conversion.
Passing parameters to C# Windows Services
Oct 06, 2006.
This article explains how to create C# windows service and pass parameters to it.
Tip: How to pass Crystal Report Parameters Programmatically?
Nov 02, 2006.
This tip shows how to pass a Crystal Report parameters and their values programmatically.
Tip related to sub containers and SqlDataSource
Dec 06, 2006.
This article provides some tips when working With Master page or SqlDataSource insert function In VS 2005.
TreeView Control in C#
Apr 16, 2007.
This is an article addressing some of the basics of working with a TreeView control; the article will address dynamically adding TreeNodes to a TreeView control, searching the nodes to find and highlight a single node or a collection of nodes.
Generate SQL Statements With Objects, Attributes and Reflection
Jun 12, 2007.
Create a SQL Command with SQL Statement and Parameters dynamically.
Creation of objects using Late-Binding technique
Sep 10, 2007.
This article will explain how we can create objects in runtime, using late binding technique. Especially for a situation where you will come to know the class name only in runtime.
Working with Delegates: Part I
Oct 04, 2007.
We all are well aware about functions. In conventional way, we create object and we call object.method(). We know that they perform some given task and returns results based on the parameters we passed to them.
Introduction to the Assembly Concept
Jan 17, 2008.
This is a brief introduction to the assembly concept, it shows importants issues for a programmer to know.
Geocoding a physical address using yahoo web services and c#
Jan 17, 2008.
This article tells you about the web service named yahoo geocoding service.
Consuming the Yahoo local Search Service in a C# Win Forms Application
Jan 17, 2008.
This article will demonstrate one approach that may be used to consume yahoo local search service to return a list of business locations through the use of a zip code based search for a business name or product.
Call any stored procedure which take input parameters and return output parameters
Feb 01, 2008.
This one generic function can call any Stored Prodedure which take input parameters and return output parameters with the help of two-dimensions array. This is very helpful specially when you designing n-tier application.
Executing multiple stored procedures within a single transaction context from ADO.Net
Mar 20, 2008.
This article discusses how we can execute multiple stored procedures in ADO.NET with different parameter values in a single Transaction context.
Add and handle connection strings in an application configuration file: Part I
Apr 17, 2008.
There are two ways to save data and parameters. In this case we save application parameters like information entered by the user during the installation process.
Killing Processes From a Windows Form Application in C#
May 01, 2008.
This article provides you a simple example of how to use the System.Diagnostics.Process library to display a list of running processes, and to select and kill processes by their process name and ID.
Passing and retrieving parameters from windows workflow
Jun 09, 2008.
Basically this article gives an idea about how to pass the parameters and getting output parameters from the workflow.
Working with Parameter Fields in Crystal Reports
Jun 24, 2008.
This article is intended to illustrate how to use Parameter Fields in Crystal Reports. Parameter fields enable the creation of reports that could be used in a variety of ways, prompting the user for all kinds of information specifically for record selection and report titles.
How to pass SQL Query Parameters to Crystal Reports using Oracle
Aug 06, 2008.
This article shows how to pass SQL query parameters to Crystal Reports using Oracle.
Connect to MySQL database - via ODBC without using DSN: Part II
Aug 11, 2008.
In order to connect to on MySQL method, I propose this more flexible solution, thus, it enables us to customize the connection parameters in one hand, moreover, it enables us to choose which mode should we use. I mean, ADO connected mode using data reader or disconnected mode using data adapter and data set.
Use CompiledQuery.Compile method to build parameterized DLINQ queries
Aug 29, 2008.
In this article, I will make use of the CompiledQuery.Compile generated method which receives a Lambda expression as parameter, and then it generates a delegate that returns a generic IQueryable object that one can enumerate it through a foreach loop.
Passing parameters to Crystal Reports at runtime with c#
Sep 29, 2008.
This article shows how to pass parameters to a Crystl Reports at runtime in C#.
The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" Error
Nov 26, 2008.
You get the "SplashScreen" parameter is not supported by the "MarkupCompilePass1" error message when create and run WPF applications in Visual Studio 2008 SP1.
Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World Application
Feb 09, 2009.
In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken/written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
Introduction to "Acropolis"
Mar 12, 2009.
This article explains about Microsoft code-named Acropolis for creating windows client applications.
Using a Combobox to Select Colors
Mar 19, 2009.
This is a short article on how to use a combo box control to display and select all the named colors.
Passing startup parameters in a Silverlight 2 application
Mar 22, 2009.
This article describes how to pass startup parameters to a Silverlight application.
Backup utility in .Net
Apr 03, 2009.
This is a article named backup is used to create a backup of your data and can restore your deleted data also.
Parameters for ObjectDataSource in ASP.NET 2.0
Apr 30, 2009.
This article is intended to show how to invoke server-side methods (expecting input parameters) stored in the SQL Server 2005 Management System using the ObjectDataSource components.
Analizing data to best customers using Crystal Reports
May 22, 2009.
In the sales analysis, there is a principle named the Pareto principle also known as the 80-20 rule. The 80-20 rule states that 80% of the effects come from the 20% of the causes and then the remaining 20% effects come from 80% of the causes. Pareto observed that 80% of the land in Italy was owned by 20% of the population. One example in the IT world is that Microsoft has noted that 20% of the most reported bugs are the causes of the 80% of the errors or crashes of the systems. After Pareto observed this principle, a lot of application appeared. One of the most common applications of the Pareto principle is in the sales analysis. Companies perform analysis in their sales orders in order to discover the best customers, that is, the 80% of the sales come from the 20% of the customers. In this article, I will show how to perform a sales analysis using Crystal Reports. For this example, we will use the AdventureWorks database shipped with SQL Server 2005.
Search and selection of data using LINQ
May 27, 2009.
In this article I will explain how you can use LINQ, when we should search and select some data according to parameters, defined by users.
Parameter passing in C#
Jun 01, 2009.
Article to explain how parameter are passed in C#.
C# 4.0: Named Parameters
Jun 15, 2009.
C# 4.0 has introduced a number of interesting features which includes Optional Parameters, Default Values, and Named Parameters.
Passing parameter by param
Jun 30, 2009.
In this article I will explain you how to pass parameter/s using param keyword.
InitParams in Silverlight
Jun 30, 2009.
Using InitParams in Silverlight
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!
CBeyond Cloud Services
TERMS & CONDITIONS
REPORT A BUG
©2016 C# Corner. All contents are copyright of their authors.
Terms & Conditions
©2016 C# Corner. All contents are copyright of their authors.