| Amount Into Word Script in T-SQL |
|
Here this script display amount into word. |
| ASP.NET Templated UserControls avoid Code Duplication |
|
I wasn't completely aware that you can use Templates in an ASCX UserControl
until another developer that I work with was trying to do it. Previous to that,
I would have created a Custom Control. However, it can be done quite easily. |
| Javacript for Selection CheckBoxes in the Gridview |
|
You can use this tutorial to read the JS for check box operations in grid view... using this you can achieve below..
1. Select and unselect all checkboxes depends upon the header check box..
2. Select header based on selection in row chekboxes... |
| disable the close button of a .net windows form |
|
This tip demonstrates how to disable the close button of a .NET Windows Form. |
| CD Burning: Solution to Media Player 11 does not recognize my burner |
|
The ongoing user problem of getting CD burner recognised in Windows Media Player. There is a solution and it's not that hard. |
| Unable to Restore Data File in Small Bus Acct. 2006 SP3 MOSBA |
|
The problem you are having is that SQL Server is trying to connect remotely using TCP/IP Protocols only. This means that when you try to restore a previous company data, the SQL server is acting as if you have server system setup. Not the case you should change the SQL Server to only connect to TCP/IP and local mainpipe names only. To do this, in the search field type SQL then click search. The SQL links will come up click on the one that say's SQL Server Surface Area Configuration. Then go Add |
| MVC# - A Model-View-Presenter Framework for .NET |
|
This article gives an overview of MVC# - a Model-View-Presenter framework for .NET platform. It firstly explains the MVP pattern essentials and then walks through the key features of the MVC# framework which help building true MVP-based solutions. |
| Excel Reports in ASP.NET 2.0 |
|
In this article you will learn how to read data from Excel, generate report using the Response objects and to play with the Microsoft Excel 11.0 objects involved. Indeed, it is impossible to cover all features in this tutorial but many important techniques were covered to help you down the line. It is up to you to be creative and adapt the techniques to your scenarios. |
| Unable to Restore Data File in Small Bus Acct. 2006 SP3 - ElMagit |
|
The easiest way to restore a MSOA file is to have the two data files from the C:\Program Files\Microsoft SQL Server\MSSQL.X\MSSQL\Data directory.
The .X could be any number. The information is available from MSKB Article 919451 Basically the backup is good only if you have the original installation running on the original machine. Once you change machines (not including Multi-User) the .SBD and .SBL files are necessary for an easy recovery. |
| Painting the Canvas with Silverlight 2.0 |
|
Now that Silverlight 2.0 BETA 1 is out, developers are discovering some unique and compelling applications. Here is a short example of how to paint a Silverlight Canvas with randomly colored and sized rectangles. |
| Runtime Error Attaching Photo's to Hotmail |
|
Think i may have found something that causes this problem of RUNTIME when attaching a Photo to Hotmail. Thanks to a LINEX user. Check in your Photo Floders to see if you have scanned in a high resoloution picture and it's size is above 250mb. I had one of 500mb and when I removed it from my pictures and stored it out of the way problem solved. |
| POLL: What is the best book about c# 3.0 and LINQ? |
|
The selected books are sorted by Amazon's Best Sellers. Multiple choice allowed. |
| DFS Share showing blank or invisible |
|
I was doing some testings with DFS. Found that a standalone dfs in my test domain was not accessible from a winxp box which was in another untrusted domain. |
| Consuming OPML with LINQ and Syndication Framework |
|
It's time to be "movin' on up" with Framework 3.5 and LINQ to do old things in a brand new way! Consume the New York Times's OPML feed of featured feeds into an XDocument, get the feeds with a LINQ Query, then mash-up only the latest feeds and publish with Syndication Framework. |
| A Good Solution for "Magic String" Data |
|
Dealing with vendor data (or your own) in the form of "codes" can pose significant challenges. You must ensure that your source code remains readable, that data are properly validated, and that data can be displayed as user-friendly descriptions. The built-in solutions (named constants and enums) help, but they have some significant shortcomings. If you derive a class of named constants from the MagicStringTranslator class, though, you can vanquish all 3 challenges in one fell swoop! |
| BOOK REVIEW: C# In Depth by Jon Skeet (Manning) |
|
Review of Jon Skeet's new book, published by Manning. |
| SYMADDLN and Windows Vista Media Player |
|
I also had the problem of windows vistas media player saying that the program symaddln wouldnt run. It gives you an option box asking you if you want to disable the program. In that box dont put a check on the symaddln icon and press ok. Then simply shut down the computer all the way. Then turn it back on. The error goes away. I did this and now it doesnt kick me out to my desktop screen. I can view videos and am having no problems at all. If you have already told your pc to disable the program |
| C# - Calling Novell API function (solution) |
|
Here's a quick C# sample on how to call a Novell API function (solution). |
| Iterators, iterator blocks, data pipelines and LINQ |
|
LINQ to Objects is based on iterators. These have always been part of .NET, and indeed are the basis of the foreach statement - but with LINQ to Objects they're more important than ever before. In this article Jon explores what iterators are about, how to implement them in C# 2 (or 3), and then the fundamental aspects of LINQ to Objects. Jon's new book, "C# In Depth" will be awarded to our top two Contest winners in March 2008. |
| How to troubleshoot windows vista slow working |
|
As I have seen many times the question about that why windows vista working very slow and its takes long time to start up. Heere is my on field knowledge share how to make windows vista working fast by simple congiguration setting. |
| res://ieframe.dll/dnserror.htm# |
|
Windows Update killed IE7!
Fix for res://ieframe.dll/dnserror.html# is related to
MS Update KB942615. Turns on Microsoft Firewall and
I already had Trend Micro firewall on. |
| Poll: What I Hate Most About Windows Vista |
|
To kick off our March promotions, we added this nifty poll that lets users share their pet peeves about Windows Vista! Surprise! People don't like User Account Control! After a while, we'll feature some of the custom "other" entries. |
| Errors Occur Reinstalling WINCE 5.0 |
|
After reinstalling Microsoft Platform Builder 5.0 could happen that you get the following errors:
"No primary processors are available. The build system will be disabled.
"The selected configuration does not have an installed debugger. You cannot debug this configuration."
This is probably caused by a re-install bug in PB, especially if you picked a different install directory.
Please try this:
* Uninstall PB
* Look in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\PlatformBu |
| ASP.NET - Sorting a GridView Bound to a Custom Data Object |
|
This article presents a technique for sorting a GridView populated from a list of custom data objects. It relies on the view state and does not require additional calls to the database. |
| Zip / Unzip folders and files with C# |
|
The .NET Framework includes GZipStream and related classes, but they only support compression, not the standard ZIP file structure. This article explains how you can handle correctly zipping and unzipping folders and files including using a zip password. |
| Integrate OpenId Authentication with ASP.NET Membership, Roles, and Profile |
|
Shows how to integrate OpenId authentication using the ExtremeSwank OpenId UserControl and simplified ASP.NET Membership, Role and Profile providers. |
| XP Repair Install and Windows Updates Issues |
|
My customer found out after the fact that she had illegal software (xp and office). She immediately contacted me to correct the matter. She purchased from me win xp pro / sp2 and through other channels the office xp pro. I tried to change the key - no luck. Tried repair install: stopped at 34%. Her MOBO needed a separate SATA driver. Downloaded, tried F6, got the driver loaded - stops at 34%. |
| Are They Watching You Online? |
|
When surfing the Internet you probably take your anonymity
for granted, most of us do.
Tapping phones, listening to confidential conversations,
reading others' e-mail messages seems like something that
only happens in spy movies to "other" people. |
| OCS 2007 missing Communications TAB in AD |
|
On Domain Controller (even if x64 Windows) install OCS Admintools.
Then run "mmc -32 dsa.msc" without marks |
| Using Attributes with Enums |
|
Attributes are a mechanism for adding metadata. Reflection is the process by which a program can read its own metadata. This article shows how to add attributes to an enum, and how to read out the attributes via Reflection. |
| Book Review: C# 3.0 Cookbook [O'Reilly] |
|
A review of the new O'Reilly book, "C# 3.0 Cookbook" by Jay Hilyard and Stephen Teilhet |
| Extract Microsoft Word Images Programmatically |
|
With the help of this tutorial one can easily programmatically extract images from microsoft word document into a folder using C# .net component Aspose Words |
| Fix Excel Text Displayed As Scientific Number |
|
VB Code fixes Excel text displayed as scientific notation or text stored with a leading character such as an apostrophe or space. |
| Book Review: C# 3.0 Design Patterns [O'Reilly] - Judith Bishop |
|
Review of Judith Bishop's new O'Reilly book on C# 3.0 / 3.5 design patterns |
| Perfectionist's PowerPoint Tip: E-mail Your PowerPoint To Others |
|
Never think so to email PowerPoint presentations as easy as "just attach it". It's so easy and too easy to make mistakes. You may need to know more about multiple ways to email your PowerPoint presentations, in the right version to play, with background music or movies included, and without any hassles. |
| Callback and Manual Partial Page Rendering |
|
Callback doesn’t cause postback and page rendering neither full nor even partial. We can communicate with server (IIS) and our server side code runs there successfully |
| Are You A Left Or Right Brained Programmer? |
|
The left and right hemispheres of your brain process information in different ways. We tend to process information using our dominant side. However, the software development process is enhanced when all of our senses are used. Take our 19 question survey and see how you compare to your peers. |
| Useful Vista Tweaks |
|
I have a love / hate relationship with Windows Vista. It has some really cool advanced features, but in other areas it just seems dog-slow. It may be too late to go back to Windows XP, but there are some things you can do that will definitely speed up Vista. Here is a short list of the ones I've found most useful. |
| Connecting DataBase To Dynamically Generated Hyperlinks |
|
Here is a quick sample demonstrating how to dynamically link data to hyperlinks. |
| New .NET Technology Preference Poll |
|
This is a simple poll designed to gauge user preferences for the newest .NET Technologies. |
| Free Web Survey Software For Excel With Rule and Charting Engine |
|
Build complex web surveys driven from Excel without programmers. Your Excel analysts can build market research, benchmarking, financial planning, decision analysis, collaborative research, insurance risk analysis, and political analysis apps, etc... |
| Workstation Open File Backup Using Robocopy And Vshadow |
|
A simple dos script that copies data from a workstation including open files, and some help on backing up multiple workstations while keeping the backup size small and accessible. |
| Anonymous Delegate ThreadPool calls |
|
Anonymous methods are not an intrinsic construct of the CLR. They are actually implemented by the C# compiler. This short article illustrates how to use anonymous delegates with the .NET ThreadPool. |
| HTML Hyperlink Obfuscation with Client Script |
|
Illustrates a simple way to use key-generated XOR obfuscation / deobfuscation of hyperlinks so that when a user hovers over a link it will appear meaningless. |
| 0x80005000 Exception IIS and Windows 2008 Server |
|
If you use .NET DirectoryServices and get COM exceptions like this lovely one "0x80005000" (unknown error) when referencing DirectoryEntry objects, simply install the following: |
| WebClient Class: Gotchas and Basics |
|
Some basics of the useful WebClient class along with some things to watch out for. |
| ICallback & JSON based Javascript Serialization |
|
ICallback & JSON based Javascript Serialization
Whilst working in asp.net sometimes we need to call server side methods asynchronously without have postback either it is full page postback or partial page postback so thanks to asp.net team to provide implementation of ICALLBACK very easily.
ICALLBACK
ICALLBACK is lightweight process, It uses well known xmlhttp object internally to call server side method, it doesn’t cause page postback so doesn’t cause page rendering so we to show output |
| Custom configuration Data from DataSets: Less is More |
|
Sometimes it's easier and faster to do things "the easy way" with custom configuration data saved from a DataSet instead of slaving over Custom ConfigurationSections in the App.Config or web.config file. |
| Obfuscation and Packaging of .NET Applications via Compressed Embedded Assemblies |
|
Shows a technique for embedding all the assemblies for an application as compressed, embedded resources into a single stub loader executable, extracting, decompressing and loading into the AppDomain at startup. |
| License ASP.NET Applications - Desaware vs Microsoft SLP |
|
I'd like to share a few thoughts on licensing ASP.NET applications. In my case, I needed to permit multiple instances of the same ASP.NET application on the same server using a single license key for that server. The following describes my experience with Desaware and Microsoft SLP. |
| SumColumn: Custom DataGrid Column that automatically shows Sum/Count/Average in DataGrid Footer. |
|
A normal requirement in any ASP.Net application is to sum/average up the values in a DataGrid column to the Footer. In this article we will compare the normal methods and later create our own custom DataGrid column "SumColumn", derived from BoundColumn to avoid repetition of the same code. |
| Silverlight, WPF, XAML and InnerWorkings Coding Challenge |
|
This article explains a little of the history behind
Silverlight (WPF / XAML) and what you can use it for. You’ll see how easy it is to get started, and then you’ll actually practice using a free InnerWorkings coding challenge featuring a sample app that demonstrates how to use and transform video in Silverlight. |
| Shutdown, Restart, or Log Off your computer using VB.Net |
|
Here's a quick code sample demonstrating how to use Process.Start in .NET to shutdown, restart, or log off your computer. |
| Using Server-Side IFRAMES to show Ads |
|
IFRAME is a very flexible HTML control, but many ASP.NET developers aren't aware that you can turn it into an ASP.NET control by simply adding the runat="server" attribute. Provided that you cast this to the HtmlGenericControl("IFRAME") type, you can manipulate virtually everything about your IFRAME with server - side code. |
| Insert Flash into PowerPoint 2007 |
|
How to insert Flash into PowerPoint 2007, and make it play automatically. |
| Destination.MSI Fix For Windows Vista\ Sidebar repair |
|
Here is a quick fix for the destination.msi problem in windows vista and other Sidebar repair. |
| Book Review: C# 3.0 In a Nutshell [O'Reilly] |
|
Review of the Albahari Bros. new reference book from O'Reilly. |
| Keep ViewState out of Page for Performance Enhancement Redux |
|
New features in ASP.NET 2.0 enable developers to get Viewstate out of the Page and on to the server for up to 500% better throughput. |
| An Alexa Site Data Utility Class |
|
Peter puts together a neat class to capture Alexa Site data on any tracked domain - with no API and no developer license key. |
| .NET Setup Deployment - MSI, Cassini, SQL Server, NTFS |
|
Creating any moderately complex MSI based installation with the Visual Studio .NET 2005 setup project is a real pain. Today's tips will include how to easily package up a single installation file, setup SQL Server 2005, execute large sql scripts, launch the application at the end of setup, configure NTFS permissions, trigger another MSI file, and auto install and configure UltiDev's Cassini Web Server. |
| VB 6.0 ComboBox in DataGrid |
|
Here is a quick code sample demonstrating how to incorporate a ComboBox in DataGrid cells and wire up their events. |
| C# .NET Yahoo Stock Download and Charting |
|
How to download stock price history data from Yahoo finance, store in a SQLite database, and make nice stock charts from same. |
| Problem with Microsoft update duplicating installs |
|
System: WinXP sp2(32bit),xml4.0,xml6.0
I noticed during a recent maintenance survey of my update history that kb936181 has been downloaded and installed daily for the last several weeks. Attempt to manually install produced same results... could not get update site to recognize that the "successful" installation was NOT!
Did a google to find many others reporting same problems. The suggested solutions range widely, mostly w/ guesswork and trial & error. M$ offers little help.
My find |
| Repository Factory, GridView and ObjectDataSource with WebService Layer |
|
Repository Factory tutorial with WebService layer feeding an ObjectDataSource and GridView on a web page. |
| ASP.NET Color Tool Derived from Reflection |
|
The .NET Framework provides us with over 100 colours to use within the System.Drawing namespace. In order that we know exactly what all these colours look like here is a simple web based tool that uses Reflection to loop through all the colours with the System.Drawing.Color struct and print them to the page. |
| A Brief Review of Generic Collection Classes |
|
The most common usage of Generics in any .NET language is in implementing collections. This article provides a quick overview of the generic collection classes provided by the .NET Framework, and their main characteristics. |
| Integrate Windows Live ID Authentication with ASP.NET Membership, Profiles and Roles |
|
Microsoft has rolled out its Live ID Web Authentication SDK and from some of the forum posts I've seen, developers are already misunderstanding what they really have to work with. You see comments like "hey, but it won't give me their email", or "Useless!", etc. Wrong!
Here we'll show how to integrate Live ID with ASP.NET Membership, Roles and Profile. |
| SQL Server Reporting Adding Row Totals To Matrix Table Object |
|
A matrix table object cannot have a footer but if someone needs to put totals for all rows, he needs to right-click on the section of matrix table where it says "Rows" and then click "Subtotal" option. This would add a new row in the end of matrix table and bring totals automatically - no extra work needed. |
| Solving Streaming Problems with Vista and Windows Medai Player 11 |
|
I recently had a problem that i couldn't watch streaming vidoes in opera or firefox browser and then found a solution today. |
| SEO Friendly Paging with ASP.NET 2.0 Data Controls |
|
ASP.NET has lots of "out of the box" features that make the display of data easy, including pageable GridViews and DataGrids with little or no code. But the stock paging mechanism uses javascript to cause the postback, and the url of the new "page" doesn't change. This is not "SEO friendly", because the Googlebot and other search engine crawlers click on the links, and see the result as a page they've already requested, so it doesn't get indexed. |
| .NET Icons Windows Forms - Draw Selected Color On Icon |
|
Learn to draw a selected color bar on an icon for font color, fill color, and line color. Office icons with the color bar stripped are included in this code sample. |
| AJAX Rating in ASP.NET 2.0 |
|
This is a rating bar script done with asp.net and sql server that allows users to rate things like can be done on Netflix or Amazon, all web 2.0-like with no page refresh, so you should be able to adapt it to your situation without too much trouble. |
| .NET Abstract Factory |
|
This article presents three scenarios where an Abstract Factory may prove useful. It also highlights areas where abstract factory has been used within the .NET framework and the Patterns and Practices Enterprise Library. |
| ASP.NET RSS/Atom FeedReader with just one line of code |
|
Using the much improved Version 2.0 of the ASP.Net RssToolkit building our own Feed reader to consume RSS/ATOM feeds is a cinch & requires effectively just one line of code! |
| ASP.NET DataList and DataRepeater Controls |
|
This is the third article in a three part series of articles pertaining to the understanding and application of ASP.NET 2.0 data controls. This article will address common functionality that may be required from ASP.NET DataList and DataRepeater data controls. |
| .NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes |
|
Utilizing a ListBox, TextBox, ComboBox, TreeView, or custom class as a property in a .NET Windows Forms PropertyGrid control can seem like a daunting task. Even resizing the PropertyGrid column widths seems impossible. Today's article will show you how. |
| Windows XP Interactive Logon |
|
Hi,
In windows XP Prof. system, Interactive Logon option from Local Security Policy is set default to "10 logons" value. You have to set this option to "0 logon"
value. How will you get it done? Here is the solution;
Ask your Desktop Administrator to boot your windowsxp into Local Machine Administrator logon, then follow the next steps;
1. Open Control Panel
2. Open Administrative tools
3. Double Click on Local Security Policy icon
4. Point to Security Settings---Local Policies--- |
| Add a YouTube Search Page to your ASP.NET Site |
|
Shows how to easily create a YouTube Search page using the YouTube RESTful API and a simple DataList control. |
| C# .NET Extension Methods 3.0 |
|
.NET 3.5 Extension methods are a great new way of adding functionality to an existing type – even a type you don’t have the source code to modify that type. This article explains extension methods and provides clear examples along with pros and cons. |
| .NET Anonymous Methods in C# |
|
This article gives a brief demonstration of C# .NET's anonymous methods and the power and flexibility they offer developers in real world applications |
| Visual Studio 2005: Cool Debugging Tricks |
|
What percentage of your development time would you say that you spend debugging code? Here are some useful debugging techniques for developer productivity. |
| ASP.NET: Using SQLite with Enterprise Library 3.1 |
|
Summary of how to use the EntlibContrib SQLite provider with Enterprise Library 3.1 (May 2007) and ASP.NET |
| ASP.NET Cookies FAQ |
|
Some information we've compiled from various sources, along with some of our own discoveries about cookies and ASP.NET. We will continue to add content to this article over time and in response to questions. |
| Design Patterns for .NET |
|
It is not the intent of the Design Pattern Series to focus on providing a theoretical knowledge dump of all there is to know about design patterns. There are many books that do that already. Instead, this series will focus on providing lots of practical examples. However, there will be some theory to help address important points concerning design patterns. I use the theory of design patterns mostly as a guide and instead make references to good design pattern books for more detail explanation. |
| ASP.NET Data Control Series - Part 2 |
|
Part 2 of the ASP.NET Data Control Series continues. In this article, the FormView DataControl is given a closer inspection. |
| Fire and Forget Fun: RPC Pings, GET, POST and more. |
|
Shows how to use the Asynchronous Fire and Forget pattern to ping RPC Servers about changes in your site, ping the Yahoo crawler API with a RESTful GET, and perform a Fire and Forget FORM POST. Most of them say "thank you"! |
| HTML Entities Class |
|
I could not find an easy way to get HTML Entity strings (e.g. "& g t ;" - without the spaces) based on the character value, so I created this easy HtmlEntities static class based on the Generic Dictionary. |
| ASP.NET Request Logging with Asynchronous Fire And Forget Pattern |
|
Shows how to perform high-speed ASP.NET Request logging to a database using the asynchronous Fire and Forget delegate wrapper patterns. |
| ASP.NET Request Logger and Crawler Killer |
|
Shows a simplified way to log requests and deny requests that come from <enter annoying bot name here>. Can easily be turned on or off with a database entry and without causing app recycle. |
| ASP.NET 2.0 Data Control Series |
|
The intent of this series is to provide more information concerning the functionality and limitations of the available ASP.NET 2.0 data controls. This will mostly be demonstrated through the use of code samples. Once this series is complete, I will demonstrate how one can AJAX enable some of these samples to improve the overall user experience. Therefore, this series will address the basics first before moving onto more advanced tools. |
| Some ASP.NET 2.0 Configuration Tips |
|
Illustrates some common techniques for managing web.config sections across multiple deployments and modes for ASP.NET 2.0 Web applications. |
| ASP.NET 1.1 to ASP.NET 2.0 Migration Solutions |
|
This article will highlight some of the asp.net 1.1 to 2.0 migration issues. |
| Forms Auth: Membership, Roles and Profile with no Providers and no Session |
|
Shows how to use plain-old Forms Authentication with a single database table and compressed userData in the forms ticket to handle simplified Membership, Roles and Profile with no providers and no need for Session state. |
| Object-Relational Mapping as a Persistence Strategy |
|
Currently, Object-Relational mapping is probably the hottest topic of discussion on the internet in terms of the various software development circles. With all the hype surrounding ORM, it is easy to forget the ‘why’. Why does ORM exist? It would seem that ORM has become somewhat of a religious war. One can only wonder if the ORM war will have people in the future asking ‘why’. The focus of Object-Relational mapping is to solve the object-relational impedance mismatch. |
| ASP.NET GridView Filtering with DropDownList |
|
The purpose of this article to demonstrate data filtering in GridView using DropDownList embedded in GridView column HeaderTemplate. |
| Spambot Killer ASP.NET Mailto: Hyperlink Control |
|
Shows how to derive from ASP:Hyperlink to provide a control that will automatically obfuscate mailto: hyperlinks to render the contents useless to spam email harvesters. |
| Refreshing ASP.NET Cached Data on a timed basis to avoid delays |
|
Shows how to refresh a datasource on a timed basis with a background timer thread, cache the data, and not have to worry about any delays due to the refreshing of the particular datasource usually taking a long time. |
| MDI .NET Forms Include Docked Controls And Smaller MDIClient |
|
This little code snippet demonstrates how to include various docked controls on your MDIParent form and then dynamically force the MDIClient to respect the available docking space when set to DockStyle.Fill at runtime. |
| Top 10 .NET Framework Technologies to Learn in 2007 |
|
Peter shares what he believes are the top 10 .NET Technologies to focus on for developers, starting this year. |
| Managed Speech API in Windows Vista / .NET 3.0 |
|
A short overview of some of the new Windows Vista Speech features and a demo of a managed - code program that uses Speech Recognition and a programmatically - constructed grammar. |
| AutoList in ASP.Net |
|
This small web application has following features:
1. Auto suggest list box [AutoList.js]
2. Auto select text.
3. Scrolling list item either one by one or on the basis of defined page size.
4. Multicolor list item.
5. Getting result in the xml form directly from SQL Server using ‘FOR XML’ and to process it to populate list box or to send back to client.
6. Client side population of list box from xml.
7. Getting result in xml form by using callback function (AJAX).
8. Client side XML tran |
| Treeview Navigation - SqlCacheDependency and SqlSitemapProvider |
|
How to create a Sitemap from a database table with the SqlSitemapProvider and use it to populate your web site's TreeView Navigation Control, with SqlCacheDependency built in. |
| Content Management: How to update a common document in all of your websites at once |
|
A small windows utility program to help web developers manage there website content. |
| Using Compressed Resources in .NET with LZMA (7-Zip) Compression |
|
Uses a class library to compress a text file that represents a table of cities, states, and zipcodes into a kind of "control" library that contains the lookup CSV style exported database table as an Embedded Resource, extract it at runtime, and split the resulting string array into an ADO.NET DataTable complete with Primary Key to look up Zipcodes. |
| ASP.NET Model View Presenter |
|
This article is about Model View Presenter pattern. It is a very basic level article. I have read many articles on this but none of them were simple enough, at least for me. |
| Resharper for Visual Studio .NET 2005 - Product Review |
|
Peter puts Jetbrains Resharper through the paces, and he is impressed! |
| Client Side Script to Export To Excel 2007 |
|
Export to Excel is one of the most important features that business users ask for. At client side. we generally use HTMLProjects which does not work with Office 2007. Here is the alternative for the same, and the script works fine for all the versions of MS Office on Windows OS. |
| Sending Mail Using System.Net.Mail |
|
This Is the Simple program to Send Mail Using System.Net.Mail using ASP.NET 2.0 |
| Xigla Absolute Banner Manager .NET - Our Nightmare |
|
Xigla has been a nightmare company to deal with for us regarding their Absolute Banner Manager .NET product. You'll want to learn about our not so wonderful experience in dealing with their support team before adding it to your shopping cart.
** Updated April 11, 2007 |
| The Lowly HTTP HEAD Request |
|
Often overlooked, the lowly HTTP HEAD Request offers useful results, especially where speed and bandwidth conservation are at stake. |
| HTML Horizontal Bar Chart |
|
HTML Horizontal Bar Chart generated using HTML Table, DIVs and Javascript. This mechanism can be clubbed with any web development tool like ASP, ASP.NET, JSP etc to generate effective charts. Demo Attached: HTML Horizontal Bar Chart using plain HTML/Javascript |
| Build a Custom Action InstallHelper Configuration Editor |
|
When you build an MSI Installer for your project using the Visual Studio built - in Setup Project types, the support for custom editing of configuration settings and / or performing additional installation - related tasks is limited. Here is an easy way to "soup it up". |
| Book Review: Programming WCF Services - Juval Löwy [O'Reilly] |
|
A review of Juval Löwy's new book on Windows Communication Foundation (WCF). |
| ADO.NET Connection Pooling at a Glance |
|
Connection pooling can increase the performance of any application by using active connections of the pool for consecutive requests, rather than creating a new connection each time. By default, ADO.NET enables and uses Connection Pooling due to its positive impact. |
| Simple XOR Encryption |
|
XOR Encryption is unique in that it is bidirectional and very simple. Sometimes the very simple is "just enough". |
| FLASH: Fix for Windows Vista |
|
Details of a fix for Adobe Flash nonperformance on Windows Vista. |
| Visual Studio .NET Tips and Tricks by Minh T. Nguyen |
|
VS.NET 2005 is a very powerful IDE that works with .NET Framework 2.0 and its features have grown by leaps and bounds since Visual Studio 6. For the .NET developer, mastering the IDE goes a long way in writing code fast & improving productivity. |
| .NET Lock, Logoff, Reboot, Shutdown, Hibernate, Standby |
|
This article is about locking, logging off , rebooting, shutting down, hibernating and putting the system on stand by mode in .Net. Here we are going to use both unmanaged code and .Net framework for these functions. |
| Developer's Toolkit |
|
Let's face it, as robust and feature rich as most IDEs are nowadays, it is still difficult to have an "all in one" package for developing your applicaitons. I present to you my "Developers Toolkit" to help fill the gaps you may have during your devleopment process. This Toolkit is completely free and can fit on a USB key or iPod partition with minimal hassle. |
| Outbound Link Hit Tracking With ASP.NET |
|
Shows a simplified method for setting up a javascript include file that will wire up all your ASP.NET pages (or any page) to automatically log outbound link hit traffic to your database, using an ASHX image hander. |
| ASP.NET AJAX Maintain Scroll Position from a Partial Page Update |
|
How to Maintain Scroll Position from a Partial Page Update - Using Ajax. |
| Build A Self-Caching ASP.NET Web Site Thumbnail Control |
|
Peter hooks up his new WebSiteThumbnail class into the previously published In-Memory Image control, and shows how it works. |
| Object Data Source Adapter |
|
In this brief article I want to mention two techniques that I use to allow for mapping GridViews to DataTables that are built upon existing middle tier objects. I tend to think of this as a pseudo adapter pattern that converts my model objects into DataTables. |
| Simple DataSet for Paging Instead of ObjectDataSource |
|
I wasted around 3 days searching how to implement a paging results for my search pages, then I think why did not i use the asp table instead of gridview, and use the DataAdapter.fill to fill the datatable with the records i need to be viewd. |
| A Better CAPTCHA Control (Look Ma - NO IMAGE!) |
|
Peter takes a previous concept and applies it to the real world of "Really Useful" applications - A Better CAPTCHA! |
| Build a Script-Only ASP.NET 2.0 Data Editing Page |
|
Shows how to build a script-only database edit page with the GridView some textboxes and buttons, and the SqlDataSource control. No compilation, all you need is the connection string in web.config! |
| 7Zip (LZMA) In-Memory Compression with C# |
|
Shows a simple C# SevenZip.Compression.Lzma.SevenZipHelper class to enable high-compression of in-memory objects with C#. Adds a new 7Zip format LZMA Cookie Compression class to the previously published CookieCompression utility. |
| Build an ASP.NET 2.0 Xml/Xsl Dropdown Menu UserControl |
|
The XML / XSL menu UserControl from 2003 was very popular. This article extends the concept to provide dropdown capability. |
| Architect Evangelists - NYC, TX & MS |
|
I'm interested in hearing from people who might be interested in discussing a career with Microsoft.
I'm attaching the current opportunities, if interested email me your resume and we can talk further.
sflemin@microsoft.com
Are you able to paint a vision using technical architectural concepts and turn them into customer solutions? Are you passionate about winning the hearts and minds of developers by creating a strategy to attract the next generation of software architects? Would you like t |
| My Life as a Compressed Cookie |
|
Peter reveals his latest creation, the Compressed Cookie! Serialize entire classes, DataSets to compressed cookies. |
| ASP.NET Animated Gifs and Long Running Processes |
|
Shows a very easy-to-implement, cross-browser technique for displaying an animated progress gif while a long running method is going in your ASP.NET Page. |
| Tools for Updating Windows Forms UI from Background Threads |
|
One of the most common frustrations of new .NET programmers revolves around an incomplete understanding of how the Windows Forms UI model works. This shows how to use the Control.Invoke method as well as the BackgroundWorker class to perform updates to the UI from a secondary thread. |
| Restart ASP.NET apps Programmatically, Log Application_End Events, and use Web Management logging |
|
Shows how to instrument your ASP.NET application for custom restarting of the app, logging exceptions and using the built-in ASP.NET 2.0 Management Events and Auditing providers. |
| Build a Multi-Provider Async Methods Search Page |
|
Extending the concepts presented in a previous article, Peter shows how to use Asynchronous Page Tasks to combine the results from seven different RSS Search providers simultaneously, and display the results in a pageable GridView. |
| Using Predicates with Generic List Methods |
|
Illustrates the use of a Predicate to enable the Generic List FindAll method to create a sub List<> of wildcard filters. |
| ASP.NET DropDown ListBox and XML Databinding |
|
I read the MS newsgroups as often as I can, not only to get (hopefully) answers to my own questions, but also to share ideas and get ideas of my own on how to solve programming problems. |
| Extract Icons from the Registry by their Extensions |
|
A program that extracts icons from the registry by their associated extensions. |
| Dr. Dotnetsky's Holiday Vodka Mojito |
|
Dr. Dotnetsky visits to wish everyone good Holiday cheer and share one of his favorite (you guessed it!) Vodka drink recipes, specially concocted for developers! |
| WeakReferences, Memory Management, Garbage, and More... |
|
A short discussion of the Garbage Collection process in .NET, how it relates to WeakReferences, and other cool stuff. |
| .NET ListView Control Export To CSV File |
|
This code sample will demonstrate how to quickly export the contents of a .NET ListView control to a .csv file for use in applications such as Excel. |
| .NET GDI+ Graphics Edge Detection via Sobel Filter |
|
In edge detection the aim is to mark the points in a image at which the intensity changes sharply. Sharp changes in image properties reflect important events These include:
(i) discontinuities in depth.
(ii) changes in material properties.
(iii) variations in scene illumination.
Edge detection is used in the field of image processing and feature extraction. The Sobel operator is such an operator used edge detection algorithms. |
| VB.NET-XML based Dynamic Menu Component using Recursion Technique |
|
In this article, we will see how to generate Dynamic Menus (using recursion) in VB.net based on the XML data which has the complete details about the Menu like Menu Caption and the correponding Event it has to trigger whenever user click a Menu Item etc., It's a generalized re-usable component written in such a way that it can be easily plugged to any application based on the requirement. |
| XSL Transformation to Html Table |
|
A one-size-fits-all XSL stylesheet to transform any "flat XML" file to a HTML table. |
| Toward Viable CAPTCHA Alternatives |
|
Shows a not too novel but very workable approach to stopping Blog (and similar) bot spam without having to resort to those ugly CAPTCHA images. |
| C# MSMQ - Send and Receive XML |
|
Here's an article which can you give you better idea on "How to send and receive XML files using MSMQ", this application was developed using C# and let us see more in detail how it works and where it can be applied effectively in an real-time environment! |
| Are You a Programmer? Jungian Personality Type Test |
|
Presents an auto-scoring Jungian Personality Type Test designed for programmers, with background information on the indicator and links to useful details. |
| Bspline Curves in c# |
|
B-spline curves share many important properties with Bezier curves, because the former is a generalization of the later. Moreover, B-spline curves have more desired properties than Bezier curves. The following code is for generating a bspline. |
| Make Your ASP.NET Mobile Forms Timer - Refresh |
|
You can't use javascript in Mobile Forms, and they don't accept the META Refresh tag either. Here's a way to create a Mobile Form that will refresh and autoredirect based on a timer, that extends the Mobile Form class as a control. |
| .NET System.IO Read And Write Files Compared To Scripting.FileSystemObject |
|
Here's a beginners guide to reading/writing text or binary files in .NET using the System.IO namespace. Includes using recursion to create and traverse a folder hierarchy tree. Shows how to convert strings to binary and binary back to strings. |
| Easy Cross-Browser Collapsible Divs Redux |
|
Peter revisits an old friend, the "collapsible div", with an update and a new approach. |
| Generics: Constraints, IComparable, and IEnumerable |
|
A concise overview of how to implement Constraints and the IComparable / IEnumerable Generic Interfaces. |
| WMI - VB 6.0 Windows Management Instrumentation |
|
In this article, we will see a brief introduction about Windows Management Instrumentation (WMI) and the key areas where it can be used to manage our system efficiently. |
| Subclassing using VB 6.0 |
|
In this article, we will see how Subclassing works in Visual Basic 6.0 and in what way it’s different from normal event handlers. |
| Build a Windows Vista FeedSearch Sidebar Gadget |
|
Pete has been experimenting with Sidebar Gadgets for Windows Vista, and offers his first "really useful" product. |
| ADO SHAPE Command - Producing Hierarchical Recordsets |
|
In this article, we will see how an ADO Object can produce hierarchical Recordsets – one of the strong features which is not widely used in many real-time applications. |
| Cool Features of Visual Basic 6.0 Objects! |
|
In this article, we will see some of the basic but yet powerful features of Visual Basic 6.0 Objects which when applied in right place can improve the application performance to a greater extent. |
| Microsoft Access - Bind Dataset with ComboBox |
|
This is a simple article which describes how to bind
a dataset to a comboBox. |
| .NET GDI+ - Convert BitMap To Jpeg |
|
This VB.net application will select all the bitmap images in that particular folder and convert them to jpeg and store the jpeg images in the same folder. |
| Make your ASP.NET application install it's own Database |
|
An easy way to make your ASP.NET application offer to install the database it is supposed to use, as directed by the user, when it is first requested. |
| C#.NET and COM Interop |
|
This article discusses COM and C# Interoperability. It is divided into two parts: Part I Introduction About COM, Part II How to use COM components in .NET Framework |
| .NET Web Services - Exception Handling And Non-Exception Error Handling |
|
Today's article shows one approach to bubbling up exceptions and error messages from your business layer to your windows form UI as well as web methods when called via Web Services. It is a great beginner sample to utilizing web services and custom classes in .NET and can also be useful in ASP.NET / AJAX / Anthem .NET applications.
Learn how to change the web service url at runtime in your windows forms application and how to copy class properties to and from web service references. |
| ASP.NET- "Download as Word/Excel" |
|
Due to the popularity & convenience that Microsoft Word & Excel offer, you may have run into umpteen sites that offer visitors to download reports or the like as Word or Excel documents. While this can be accomplished with Office Automation or expensive tools, be aware that is there a lightweight technique available. |
| Solution to : Flicker problem with Asp.net Listbox |
|
Flickering problem with ASP.NET List Box. |
| BASICS: ObjectDataSource Control |
|
ObjectDataSource is a new hybrid control for ASP.NET 2.0 This article shows an unusual use of the control to retrieve and display RSS Feed search results from the web, instead of getting data from a database. |
| BOOK REVIEW: Super SQL Server Systems [Rampant] |
|
Review of Joseph Gama and P.J. Naughter's new book about SQL Server Extended Stored Procedures |
| Essential ASP.NET 2.0 [Addison-Wesley] |
|
Bromberg reads Fritz Onion's (and Keith Brown's) new book, and provides his opinions. |
| BASICS: Make any Method Call "Timeout"-able |
|
A common issue for developers is having to make blocking remote method calls on objects over which you have no control. Here is a simple way to make such methods "timeout"-able so your app doesn't hang with no return. |
| An Xml-Driven, Self-Caching ASCX MenuStrip Control |
|
Peter reveals his latest creation - a self-caching ASCX Menustrip Control. |
| Solution to the Annoying Flickering Problem When Updating Textboxes |
|
A solution to the annoying flickering problem when you update Textboxes in Windows forms. |
| .NET TreeView FAQ - Drag and Drop Right Click Menu |
|
Working with a Windows Forms .NET TreeView control? This article contains code samples for the most common questions I've recevied. Things such as right click on nodes to show context menues, drag and drop nodes on the same TreeView or even another control, nudge nodes up and down in sibling order, and much more. |
| Custom Sorting With IComparable and IComparer |
|
Sometimes, you want to be able to sort objects on a number of different fields. For example, employees can be sorted by their name, years of service, pay rate; or blog posts by the date they were posted, their status, number of comments, the author. It's really easy to offer all these sorting methods. Best of all you don't have to write too much code. |
| .NET 2.0 Application Restart When it Goes "KABOOM" |
|
Shows how to use the AppDomain.UnhandledException event and similar events, to log and even restart your app if it blows up. |
| .NET Windows Forms - Can't Change Docking Order |
|
Having trouble adjusting the docking order of your controls in a .net windows forms application? Simply undocking and then redocking the controls in the order you want hardly ever works. |
| The Top Ten Rules of Software Development |
|
Outlines some basic rules for good software development that have stood the test of time. |
| BASICS: Forms Authentication in ASP.NET 2.0 |
|
Covers the basics of Forms Authentication whether used with the Membership and Roles Providers, or as a standalone authentication / authorization mechanism. This is the first of a series of "BASICS" articles. If you have a suggestion, please feel free to post about it. |
| HTML Vertical Bar Chart |
|
HTML Vertical Bar Chart can be easily generated smartly placing Divs in HTML Tableusing javascript. |
| .NET Reflection - Copy Class Properties |
|
This code sample demonstrates how to copy class properties from one class to another even if they are not the same type. It also demonstrates how to validate a class's required properties dynamically.
Both of these can increase your coding productivity especially when dealing with web service versions of your business classes. |
| Using the WebResource.axd Handler with Embedded ASP.NET Resources |
|
Shows the use of the WebResource.axd handler in ASP.NET 2.0 and covers a couple of "gotchas". |
| Floating box in javascript |
|
Learn how to create floating windows in JavaScript. |
| JavaScript DatePicker |
|
Datepicker is useful and required control in web application. This datepicker saves postbacks. |
| Validation Controls in Web Page |
|
Validation Controls in Web Page is used to validate the user input at client side as well as server side |
| Calender Popup |
|
Calender Popup is javascript popup which is used to open calender in popup window. |
| Confirm Message Box before Deleting |
|
Confirm Message Box before Deleting in Datagrid in ASP.Net is very useful in all applications. |
| .NET Number and Currency Formatting |
|
Custom Excel like auto formatting of numbers in .NET. Demonstrates how to take an entirely improperly formatted number and reformat it any way you like. Provides an alternative way to incorporate internationalization formatting for commas and decimals. |
| Adding a tooltip to a Dropdown |
|
This script shows a tooltip on mouse hover over a Dropdown list, and NOT on the individual option items. |
| ASP.NET AJAX Automatically Saving Web Form Data |
|
This article explains how to automatically save the user input in background whilst the user is filling forms. This is particularly useful for large forms and you don't miss the data if user closes the browser without saving the form, navigate away from the web page or the browser crashes. The technique used here can also be used to implement roaming user session for an authenticated web user, i.e. the user rebinds to its existing session if he logs in again prior to session expiration - even if |
| Caching Pages and Application Data with Database Dependencies |
|
Overview of the steps necessary to cache Pages or application data based on the new ASP.NET 2.0 SqlCacheDependency features. |
| .NET Constructor Applied |
|
The constructor in .NET can play a vital role in defining the behavior of the class. This article is focused on implementing Constructors in smart way to address requirements. |
| ASP.NET Asynchronous Page Processing |
|
covers the basics of the ASP.NET 2.0 Asynchronous Page processing model, with an example that makes concurrent webrequests with the AsyncTask object. |
| SQL Server Query Analyzer Runs Fast - Stored Procedure Runs Slow |
|
Stored procedure runs slow in query analyzer but the same query pasted into query analyzer runs fast. Learn how to avoid parameter sniffing. |
| SQL Server Table Variables To Eliminate Cursors |
|
Here's a quick tip that allows you to duplicate the functionality of a cursor without using one in SQL Server 2000. |
| Anthem.Net AutoSuggestTextBox Redux |
|
Peter revisits his original Anthem.Net AutosuggestTextBox control with new enhancements and better features. |
| JavaScript, Auto Format Numbers and International Currency Like Excel |
|
Excel like auto formatting numbers in JavaScript such as currency, numbers with decimal points and places, and disabling decimal points is an important part of web based calculation data entry tables. The code sample below demonstrates how to handle a wide variety of number formats. It also lets you integrate internationalization as part of your formatting scheme. |
| Pure Javascript Martin Browser Fractals |
|
Peter illustrates the use of the Walter Zorn Javascript graphics library to draw realtime Martin Fractals in the browser. |
| Javascript Debugging Tools for AJAX Developers |
|
Now that lots of developers are using "AJAX" (Remote Scripting -- ATLAS, Anthem.Net, MagicAjax, etc.) it becomes more necessary than ever to be able to debug client script in the page, and especially, dynamically injected client script, which is not visible with just "View Source". Here are some suggestions for same. |
| 11 Ways to use JavaScript efficiently |
|
This article shows 11 ways to use Javascript efficiently |
| Getting PC information |
|
This project(PCinfo) is about getting PC or System information from the system such as operating system ,Domain name ,logical Drives, IP address and Environment Variables. |
| Book Review: Essential C# 2.0 [AW] |
|
Review of Mark Michaelis' newest book on the C# language from Addison Wesley's Dot-Net Series. |
| Read any document (like .doc, .rtf , txt ) in ASP.Net , C# |
|
Here is the code that helps to read any document (like .doc, .rtf , txt )from specified location. |
| SQL Server Stored Procedure Script Generator By Dependency II |
|
Script to get the compilation order of functions and stored procedures.
This is not based on sysdepends table (The use of that table does not ensure a correct order).
Instead, I read the table syscomments where the code of the objects is stored.
Besides of giving the exact order of compilation, it returns only one line per sp. |
|