This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
An easy-to-use, zero configuration solution to .NET communication across application boundaries. A simple library to use as an alternative to .NET Remoting based on low-level Windows Messaging.
The source code / article published here is to provide features of MS Script control (Functions like AddObject) and some features of VSA/Visual Studio editor like intellisence, code completion etc
“Yukon” is a proposed new 32 - bit version of Microsoft SQL Server aka, MS SQL 2000, which is not yet released from Microsoft, which may expect to be release in the year 2004. It contains a lot of additional tools which improves a rich scale of performance, reliability and ease of use for the infor
The Win API cannot access inifile in UNICODE, sometimes, we may want to add some wide characters into INI file, so I wrote a class to access INI file in UNICODE
The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.
Looking for a way to draw 2D line graphs with C#? Here's yet another charting class library with a high degree of configurability, that is also easy to use.
In this article, we introduce a framework in C# for fingerprint verification, we briefly explain how to perform fingerprint verification experiments and how to integrate your algorithms to the framework.
There are many tools out there for reports, varing by price, capabilities and learning curves. I wanted an ASAP tool (As Simple As Possible :-)) to produce HTML outputs and view them with emphasis, on dynamic creation capability. I started out with making a reporter for ADO DataSets.
Here is a very simplified method for selling relatively secure unlock keys to your customers. The unlock key you provide will only unlock that specific customer's download instance for a specific feature set or product.
A C# implementation of the TextFieldParser class submitted by Tony Selkes that includes the ability to put the schema in an XML file and load the data directly into a DataTable.
The objective of this article (Part 2) is to introduce you to using of VB / Microsoft .NET library, Function, Methods as well in your Microsoft Windows PowerShell script.
Using configuration classes and simple implementation, this library allows your applications a flexible method of reporting errors that happen. Included is a Windows XP-like WinForms UI that allows users the ability of opting for error reporting in WinForms applications.
This control will eliminate the need to ensure that updates are thread-safe from your main program. Everything is handled automatically the way it should have been in the first place.
The framework, from what I have seen, does not include a function to play sound. So, after looking around and gathering information on how to do such, I ended up making a class. I like to use this for error messages. I simply imported the DLL file winmm.dll and used the PlaySound function from it.
This is a tiny utility to send or to bring files among your computer and your provider. See it in action: http://www.industriavirtual.com.br/codedemo/easyftp/index.htm If you find it useful, please vote!
A Simple Multi-Threaded Server Client Instant Messenger Application that uses TCP Listener and TCP Client. Allows Personal message and Conference communication between Clients and with the Server
The NotifyIcon Component will display an icon in the status bar notification area, which you can use as notiification purpose to alert users that an action or event has occured.
This is a simple news scroller that makes use of 2 tags and a few lines of code to give that scrolling effect. Since tag is used to hold the content, you may place images, links etc. within the inner tag called "news".
This script allows you to email the contents of an HTML form to one or more specified addresses. It supports HTML emails, plain text emails, and preformatted email templates.
In this article, I will show you how to access a Web page with JavaScript code in Microsoft Dynamics CRM. You can process CRM entities or different actions in that page
Automatically create recent menu items, it's very easy and useful. You just need to define file to save, and menu button (class will automatically create all items).
Internet Explorer does not always show the full contents of dropdown lists and list boxes. This means if the data in the list box is bigger thatn the control's witdth, the user will not be able to fully see it. We can show a tooltip of each content to solve the problem.
Allows to maintain and backup your contacts and also maintains a reminder. You can store data in any of the three different databases like Microsoft SQL Server, MySql, Microsoft Access
Easily develop software to create fully custom Code 39 Barcodes for printing on Avery 8167 labels (document and box labels, or more based on customization).
Shows how to customize the Microsoft WebBrowser control in a dialog based app to allow custom context menus, message boxes, windows, modal dialogs and C++ function calls from JavaScript to your application using window.external.
A replacement of .NET MessageBox class that provides additional features and improvements like possibility to show any number of buttons, ‘apply-my-answer-by-default’ checkbox, intelligence layout and more.
Using the SQLNotificationRequest object and the Service Broker to get row and column change notifications, mimicking supposed SQLDependency capabilities
With Microsoft ASP.NET AJAX 1.0, you can build more dynamic applications that come closer to the rich style of interruption-free interaction. This web part will give a full insight of site collections as a tree view and the respective attributes as a data grid, which are connected to each other.
ASP.NET web control that renders performance counter data to the screen in the form of a text label, progress bar, histogram, or line graph and automatically updates itself via an AJAX call
Did you know that you can call any JavaScript function or stop the user from moving to the next page when he clicks on the paging links in an ASP.NET DataGrid? Read on...
This code is very useful when you want to auto increment number using A-Z and 1-9 with possible combinationYou can pass any string and system will return next possible number e.g. You can Pass number "PRO01A9" then You will get "PRO01B1"
This article will demonstrate an alternative to the C# out parameter for those times when you need to get a value back from a method plus some additional information. I'll show you how generics and anonymous methods can be used together to help you write cleaner resuable code.
Firewall-Hook driver is a completely unknown method to develop simple packet filtering applications. With this article, I want to tell you how this driver works and what you need to do to use it in your applications.
This article describes transport for web services through MQ, provided as an implementation of SOAP Transport interface of the Web Services Enhancements (WSE 2.0).
A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs.
This is an application deployment system for ASP.NET, including code-based or non-code publishing of DEV to QA, QA to Staging and Staging to Production. Asynchronous technique is used in this project to handle long-running processes such as file copy, status update and application warm-up.
This application is just a simple simulator but its ability is that u can simply add much more properties to ur mobile and the interface and the source code are so separate so u can change the interface with just a low cost!!!
I have written a number of applications and have always been a little disappointed at how drab they look using the standard VS controls. I had been looking for an easy way for brightening up these apps and in the end resorted to writing my own button control.
A command promt web server that starts an application or opens a file given in as an argument in an HTTP address. Could potentially be used to show media on screen using QR-codes.
This article presents an in-depth analysis of std::deque and offers guidance as to when to prefer using it as opposed to std::vector, by taking into consideration memory allocation and container performance.
This is an article on Constructors in C#, for the beginner level programmers. It covers simple constructors, constructors overloading, behaviour of constructors in inheritance, constructor chaining and static constructors. At the end, it contains the general FAQs about constructors.
A re-usable calculator custom control which works and looks like a hand held calculator, which can be used in any MFC application by simply adding a cpp and a h file to the project (no resource file dependencies).
At times, we need to query NTSTATUS code lookup through FormatMessage function, this is not so handy. So I decided to write a NTSTATUS error code lookup application.
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.
ANTS Profiler allows you to identify slow lines of code in .NET applications within 5 minutes of installation, allowing you to get on with what you do best – writing code.
Application Management makes your application's life easier. It will automatically do memory management, handle and log unhandled exceptions, profile your functions, make your application single instance, and also provide utility functions to get system information.
This article will enhance your vision on the usage of Robustness Analysis in conjunction with Model View Controller, using UML with application in ASP.NET. This article is a sequel to my articles on Architecture and Design with ASP.NET.
This article discusses how an application can apply visual effects to the desktop, by copying desktop contents, applying effects on it and then re-displaying it.
Most systems that use Stored Procedures make use of SQL parameters to send and receive information from the database. The code to create these SQL parameters and then populating them is repeated throughout the system. This article describes how to automate this code.
Whidbey is a major component of Microsoft Visual Studio .NET suite. The .NET version of Visual Basic is a new improved version with more features and additions. After these new additions, VB.NET qualifies to become a more smarter approach for the software developers.
Master Pages is a great addition to ASP.NET 2.0. It's so important for templatizing your website, you will learn how to create master pages and content pages, with one simple example and some useful tips.
This article lists the techniques that you can use to maximize the performance of your ASP.NET applications. It provides common issues, design guidelines, and coding tips to build optimal and robust solutions.
ASP.NET tree control is a Custom Control (.ascx) that builds a tree structure. All you have to do is to use two methods of the control. The AddNodeDiv which will add the Node and BuildTree which will build it.
This article describes an ready-to-use enhanced Assert dialog and its implementation. The dialog offers features such as "Always Ignore" and displays the actual Assert expression that failed.
It is a handy thing if all the windows in an application, by default, have the same icon like the application’s executable. Here is a tip: how to easily assign your application’s icon to all the hosted forms.
The generalized class has static functions that return dataset and datareader objects , It accepts string(name of xml tag that stores the query) and value to be supplied in case query accepts parameters
This project will show you how to make a program that randomly chooses a background image when you log on, and either lets you simply select a background, or randomly chooses one for you every minute to an hour.
A component that will find similar words in a lexicon as the user is writing on to make it easy to word-complete for the user. For use in Win32 graphical or console applications.
This article describes details of IIS configuration, Virtual Directory creation, Application Pool creation, Application Pool settings, IIS request processing for ASP.NET, etc.
How to serialize binary data to IsolatedStorage in a Silverlight client when there is no BinaryFormatter in Silverlight? Why not with sharpSerializer? - An open source XML and binary serializer for .NET and Silverlight
A workaround to escape the "Your email message has been idle" when clicking a link in a hotmail message that has been displayed for more than five minutes
A trigger is a database object that is bound to a table. In many aspects, it is similar to a stored procedure. As a matter of fact, triggers are often referred to as a "special kind of stored procedure".
In Part 1, we built a simple web chat using Silverlight 2. We are going to add functionalities so that users are able to choose from multiple chat rooms as well as chat privately with other users.
Shows how to create a ToolTip provider that supports Balloon Tooltips, including issues related to creating extender properties and using the NativeWindow class.
This article builds a web based message board and uses several new technologies introduced with Visual Studio 2008 such as LINQ, WCF Web Programming, WCF Syndication, ASP.NET ListView, ASP.NET DataPager etc.
This article describes how to build an easily-redistirbutable ASP.NET application that can play MP3 tunes from any folder on the system hosting the application. The Cassini server is used to eliminate IIS requirement, and allow the application to access local files and folders without having to rely
This article is going to be served as an introduction to Expert C# 2005 Business Object by RockFord Lhotka which was written for business application developer.
In this article, I discuss the PageStatePersister, and detail ViewState storage in one of four locations: Session, Application, AppGlobals, and server Cache.
I was looking for some solution that may be helpful in creating Code Templates to be used across the development team(s) and that can also maintain the versioning/revision history as well as provide integration with SourceSafe.
Callback is a lightweight technique used to call server side methods asynchronously from JavaScript without any postback and reloading/rendering of unnecessary parts of page and unnecessary code.
When you create an installation project with Visual Studio, you can use Custom Actions to perform extra processing once the basic installation has completed. This article describes how to have a custom action execute some JavaScript, passing it some parameters.
This intermediate tutorial describes how to play campaign button memory and how to customize the game. The game is data driven so you can change the images, difficulty, etc. without changing the VB code.
This version of campaign button memory uses timers to limit the game time and to limit how long users see their selected images when the images don’t match. This version also randomly places the political buttons on the form so that the game can be played infinite times.
This article is discussing the efficiency of the most popular search_n implementations. Furthermore, it is introducing a new search_n specialization for random access iterators, which outruns by far the most commonly used implementations.
A Spy tool program like MS Spy++ that lets you capture window controls and modify their properties. Useful for learning window handles and their properties.
Chameleon is an application that allows users to easily change network configuration on each network adapter from taskbar. Chameleon offers the benefit of changing network settings according to the users location such as home or office.
The article lets you to change the partition/drive name which Windows 2000, NT and Windows XP have assigned. It also includes code for colored Progress Controls.
How to check for an existing instance of a Windows application, and how to set the MDI parent form of an MDI child, how to list all MDI children, etc., in a C# Windows application.
This article will highlight how to circumvent Group Policy settings using Detours. A few examples will of course be given as demonstration. Example will include running the "Command Interpreter" - CMD.EXE, and the "Registry Editor" - RegEdit.EXE ,even when it's disabled by the ad
A class library that maintains persistent variables, properties and data between sessions in XML files. It supports default values for new variables and events when the values in the XML file are changed
In this article, we'll talk about VB6-.NET interoperation without involving COM. How? Making C-like exports of some functions from a VB.NET DLL. First, I'll introduce the technique used with a very simple sample and then it will be explained how to set a global hook just using VB (6 and .NET).
This is my submission for the .NET CF contest for May 2004. It is a game utilizing the .NET Compact Framework for the PocketPC that demonstrates the ease and power or .NET CF. The game allows singleplayer mode against the computer, or Multiplayer over a network or Internet connection.
A combo box that consists of both read-only items as well as editable items that depending on selection, locks and unlocks the edit field of the combobox
In this article, an improved version of a new networking protocol for distributed or parallel computations is presented. In common, it is suitable just for fast, reliable and featureful interchange of small messages. The protocol's implementation and demo project are provided.
This class performs operations and evaluates functions with complex numbers. There are different kinds of available functions (log functions, trigonometric functios...). Check it out.
Converting complex Object-structures to string and reverse. Storing the result in an application-setting improves configurations flexibility substantially
This article describes a new approach by which an element can remove its visual and logical relationships to its children while maintaining a conceptual parental relationship with those children.
In this lab, you use drag and drop functionality to add controls to a Word 2007 template, build logic into those controls, protect the content of the controls from editing and deleting, and add simple data binding to a local database. Then, you’ll add a Fluent Ribbon to Word to browse the data.
This article enhances console support in .NET such as clearing, colored text, and more; enables console support in Windows apps as well as DOS apps; and also eases testing and debugging of .NET applications.
Discusses the advantages of continuous integration going into some detail on automating unit tests and documentation. Includes example build files and configuration.
Provides a utility and code library to convert an Excel file to XML file as well as generate XML Schema. It validates an Excel file against XML Schema.
Maximize your understanding of the .NET 2.0 configuration framework, avoid common pitfalls, and gain insight into the details of how configuration works in various scenarios and environments.
This article shows you the advantage of PNG images with alpha-blending feature in creating animation and demonstates how to use PNG images in Framework.NET application by calling API
This tool captures a screen shot of anything on your desktop, like a picture or a section of webpage. This tool allows you to select a partial section of the whole screen with shortcut key.
How to use a template to create a custom collection class and using the C++ std::vector STL library as well as the operator. I will expect you to understand how pointers, classes, templates and the operator works.
This is phase 2 of a 3 phase project. This phase accesses the database created and loaded in phase one to expose an API of common business date functions.
mBot manages multiple RTC Client objects and exposes interfaces to them via .NET Remoting and .NET Web Services so that they can be managed and used remotely by other .NET applications or by entirely different platforms such as a Java J2EE/SOAP application like Jabber IM running on Linux or Windows.
Property Sheet Wizards can be a rather daunting task for the beginning programmer. This article will attempt to make it a little bit easier for beginners to understand the basic functioning of a property sheet wizard.
Creating Web-style GUI and easily managing it from MFC code. Creating dialogs based on DHTML, receiving events from DHTML to MFC, and calling JScript functions from MFC.
The demonstration of reading, writing and creation of standard DBF files with random access in memory instead of serialization of typical MFC application for descendants of CListCtrl classes in Virtual Mode.
An MDI MFC generated project has only one view by default, here is one way to add more CView derived classes and initiliaze them without adding any special initialization code.
An owner-drawn CTreeCtrl that has checkboxes and open/close controls aligned vertically on the right hand edge of the tree for easy viewing regardless of the horizontal scroll position.
With the code below I will explain how to subclass a Notepad application window using hooks & subclassing techniques. This technique can be used to build custom dll-based engines for any application
CTreePropSheetEx is an extension of CTreePropSheet offering new features such as resizing, skipping empty pages, and new property frames such as Office 2003 option sheet.
By now, many of us have seen customized folders in Windows XP and earlier, i.e. folders like My Documents, My Pictures and so on. I intend to show you how to create these customized folder views using C#.
Dashboards are immensely useful not only for business data but also for business applications, but only if they display metrics that can be used to "drive" (or "steer") in real-time.
This article will show how to use data binding and styles to show data coming from a Microsoft SQL database using the new object-relational model introduced in Visual Studio 2008, LINQ to SQL, allowing grouping, sorting and filtering of data with almost no code.
Using this simple, yet elegant and powerful code, you can provide to your users efficient Office document merging; simply exploiting XML technology and basic string manipulation.
This utility can be used to compare two MS Access databases for changes in the data. You have the option of generating the SQL scripts and\or a summary XML
DataQuicker helps build a clear application structure, accelerates developement, and decreases maintenance costs. It's more possible to provide our customer a perfect on-time project, and release us from over-time working and other delays.
DataQuicker takes the transparent level, speeds up your application building and reduces the coupling between application and database. It supports convertion from table/view to DAL directly with accessional tools. It can nearly cut off all your efforts on DAL design and coding...
Search through your Active Directory structure to find Windows OSs then apply new Daylight Saving Time rules without paying for the hotfix update or needing to reboot due to Group Policy.
This article outlines the issue faced by most developers when it comes to dealing with Excel objects. Here, you will find code that will help in getting rid of Excel objects from the memory once they are no longer required.
This article explains how it is possible to seamlessly set breakpoints, step into, set watches and examine local variables for .NET framework classes as well as any other managed assemblies.
This article explains on how to deploy custom controls and components to a particular tab in Visual Studio Toolbox programatically. This can be used with installer programs for automatic deployment.
This article sorts to illustrate one of the ways by which data table changes can be detected through the use of available aggregate functions like BINARY_CHECKSUM and CHECKSUM_AGG.