| TOTAL: 48 Page: 1 of 3 |
|
Capture a Screen Shot
This code demonstrates how to get a screen shot of the entire desktop, or a particular window, using .NET (and a few API functions). The C# version is shown here, but the download includes a VB.NET version too.

| Hits: | 139 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Password Manager for Pocket PC
This article presents a simple password manager created with the Microsoft .NET Compact Framework. With this program you can have all the passwords to email accounts, online shop registrations or computer logons stored safely in one place and ready at hand in your PDA. Program features * Keeps passwords and similar information organized into folders. * The passwords are saved in encrypted files. * Supports full text search. Background Password manager allows you to store

| Hits: | 128 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Dynamically set Text and Value fields for a DropDownList
This code was written in response to a message posted on one of the ASPAlliance lists. You can sign up for one or all of the lists here. In this article, we will look at a technique that allows us to switch the value and text represenation of the items in a DropDownList. I know, it's probably not something you will see in many applications but it is yet another example of the power of ASP.NET. The code sample below uses a few best pratices you should understand and be aware of: *The code

| Hits: | 85 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Microsoft Mobile Internet Toolkit
Microsoft spoke for the first time of the .NET architecture at the Professional Developers' Conference in Orlando in July 2000. Its various features and components were explained to the large audience by a number of speakers. In this article Jean-Baptiste is going to introduce us to the MMIT and also show us how we can use it to develop a mobile web application for several types of devices.Microsoft spoke for the first time of the .NET architecture at the Professional Developers' Conference in O

| Hits: | 147 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Paging in Mobile Web Forms
The biggest difference between web applications designed specially for use on Mobile Devices is the limitation imposed by the small screen size of Mobile devices. We have to work with a different mind frame to come up with user interfaces that are more compact and yet deliver information as needed. However, you cannot practically reduce the content displayed on a mobile form beyond a certain point – and this is where our example focuses on – We will discuss the simple but immensely useful fe

| Hits: | 122 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Use ASP.NET With Mobile Web Forms
VSLive! SF, Day 1, February 12, 2002 — The Microsoft Mobile Internet Toolkit (MMIT) lets developers create device-agnostic mobile Web applications quickly and easily. But there's a price: the Mobile Web Forms designer does not directly host standard ASP.NET server controls. This makes sense, since the MMIT supports non-HTML devices like the microbrowsers built into mobile phones. Figure 1. Have Your Cake and Eat It, Too But there is a way to use standard HTML and ASP.NET controls and h

| Hits: | 60 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Building a WAP Site
WAP stands for Wireless Application Protocol. The Wireless Application Protocol (WAP) provides a universal open standard for bringing Internet content and advanced services to mobile phones and other wireless devices.

| Hits: | 108 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Check Your Mobile Device Capabilities
This sample is a utility to determine the capabilities of a Mobile Device. The MobileCapabilities class available in the Mobile Internet Toolkit provides a list of useful information on the client device. You can use this class to determine whether the target client device supports certain functionality. Our sample consists of a Mobile Web Form, which displays the capabilities of the client device. The MobileCapabilities class is created on Page Load and the Capability information is availab

| Hits: | 105 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
progressbar
progressbar blokcolor is the color of the bar. cellspacing:space between te bloks. Set the value and max value You can set the text property for setting text above of te progressbar.

| Hits: | 35 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Dynamic Style Sheets
Does your site use Cascading Style Sheets (CSS) to format text and/or provide a consistent look and feel for your Web site? If not, why not? Probably because you need to support multiple browser types, each of which has differing levels of support for CSS. This means that it's very difficult to create a .css file (used for creating linked style sheets...for more on CSS, see http://www.w3.org/Style/CSS/) that will provide a consistent look and feel across multiple browsers such as IE 5.5+, Naviga

| Hits: | 124 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Search Pages using Data-bound Controls, Index Server, and ASP.NET
If you've ever created a search page using Microsoft Index Server and ASP, you will probably agree that it's not the easiest task to accomplish. There much you have to plan for and all sorts of paging issues to handle. For the Iowa State University College of Veterinary Medicine web site, I've created a new search application using ASP.NET and data-bound controls. This tutorial will be lengthy and will cover about everything you need to create a powerful search page that does almost everything a

| Hits: | 46 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Screen Scrapes in ASP.NET
One of the great things about ASP.NET is that many things that required a COM component in classic ASP are easily accomplished through a native ASP.NET Web page. This is because ASP.NET has access to the hundreds of .NET Framework classes, which are the same set of classes that all .NET-applications (from an ASP.NET Web page to a stand-alone Windows application) use. (ASP.NET is currently in Beta2 (as of July 6th 2001) and can be downloaded for free from http://www.ASP.NET.) Some of the neat

| Hits: | 39 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Polymorphism
So you're wandering around the Internet on your usual binge of daily information and you spot yet another article on .Net and what it will do for you. Surprised? Probably not. You can find roughly 2.9 trillion articles on data access using ASP.NET, but what about the big picture? Why is it going to be better? The first thing that comes to my mind is not "I can use ASP.NET to access my data!". I could already do that. But one thing I would like to point out is the ability to use Object Oriented P

| Hits: | 37 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Reuse in ASP.NET Across Domains
ASP.NET offers a wide array of advantages over Classic ASP, which will compel the millions of ASP developers to move to ASP.NET in a hurry. However, as with any new technology, there are tradeoffs. Not EVERYTHING is easier to do in the .NET world, and in fact some things have become more more difficult. Consider a website such as ASPAlliance.com, which provides dozens of columnists with their own web sites to use to write about and demonstrate ASP and ASP.NET. In order to provide a common look a

| Hits: | 95 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Tilde: Reference the Application Root
You're probably asking yourself--why on earth would I need a new character to reference the root if I already have the slash (/)? Well, the answer is, they're functionality is different. The tilde references the root of the virtual web as opposed to the root of the web server. The world before the .NET tilde The reason why I think the tilde belongs to the Great Features section is because I missed it so badly in ASP. Let me tell you why. As you know (otherwise you wouldn't be reading this) m

| Hits: | 134 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Extract Text From HTML
In the course of improving this website's search engine, I wrote a routine that would extract the text from an article given a URL,strip out the HTML, and then convert all of the white space and carriage returns into single spaces.This was done to compress the size of the text involved, which was then stored in the database and used for full-text searches. In order to strip out all of the HTML tags from the document, I used regular expressions (with some help from Remas). My code was written

| Hits: | 155 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Creating an architecture for your site in .NET
Gan architecture for your site in .NET: Part 1 Article Categories: Tips and Tricks | Data Access | General ASP.NET Rated: | Number Of Ratings 1 | Add Rating/View Ratings When you're creating a site for .NET, besides learning how to create user and server controls, how to work with dates, databases and datagrids (among others), the same can be said for learning and developing the ways to architect your site. Because .NET provides so many different ways to construct a site you should ask

| Hits: | 16 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Validate a phone number
This script Code to validate the format of a phone number.

| Hits: | 17 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Calculating tax on an item
A common task for developers is to have to calculate tax for an item depending upon a total price. This quick code example shows you how to convert from double to decimal data types and perform a simple tax calculation.

| Hits: | 18 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |
Manual rounding with decimals
In most applications using the Round method of the Decimal class will work fine. Other times you may want more control over the final number. This script shows how to get a decimal's remainder which allows you to perform your own rounding, rather than rounding toward the nearest number.

| Hits: | 32 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-21 |