Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

Export Calendar Items to Outlook 2K3

Export Calendar Items to Outlook 2K3

One of the advantages to working with Microsoft development platforms is that there are often convenient integration tools available to leverage the functionality of other advanced Microsoft applications. The Microsoft Office suite of products is a widely known and used bundle of software that can give you access to advanced features without doing a ton of extra coding.

One of the products in this suite is Outlook 2003. Known of course as mainly an email reader it also has a myriad of features and support for tasks, calendars, notes, contacts, meetings and more. When developing your own applications it is sometimes advantageous to take advantage of these features instead of trying to develop them yourself.

Note: This tutorial requires Visual Studio .NET running ASP.NET 1.1, however, the code provided can be implemented and translated into any language. The web form is simply an interface to exporting the vCalendar. Both VB.NET and C# code samples will be provided

Tech Note: This tutorial was tested with Outlook version 2003. The vCalendar may have different implementations within previous versions of Outlook and may require additional tweaking not provided by this tutorial. The assumption will be that you are running Outlook 2003

Read More

Design and Accessibility: Part XVII

Multimedia: More Usable than Ever

In the previous article, Linda explained how to develop trust between your products and services and your potential and existing customers with Web content. In this article, the final segment of the Design and Accessibility series from this author, Linda will talk about multimedia and how the addition of video, sound, and Flash has become more usable. However, it appears that a cut-and-paste code habit may create problems, especially if that code doesn’t pass accessibility standards. Additionally, technological incompatibilities continue to make life rough for Web developers and designers…

Remember Jakob Nielson?

“The entire concept of “Web Design” is a misnomer. Individual project teams are not designing the Web any more than individual ants are designing an anthill. Site designers build components of a whole – especially now that users are viewing the Web as a single, integrated resource. Unfortunately, much of the Web is like an anthill built by ants on LSD. Many sites don’t fit into the big picture and are too difficult to use because they deviate from expected norms.”

You might have one of several immediate responses to the above quote if you’re a designer. Your reaction might range from amusement to irritation, but seldom does any one designer stand in the middle in her feelings about Nielson. In this case, it’s good to remember that Nielson isn’t a graphic designer. He’s an engineer.  Nielson’s Website is a visual reminder of his usual position against graphics and visual aesthetics. His user interface remains as austere as his perspective on design:

Useit.com – Jakob Nielson’s Website

But, it’s also good to remember that Nielson is a visionary, that he has over twenty years’ experience in technological usability, and that he is often misinterpreted or misunderstood. So, while many designers scoff at Nielson’s self-assigned “guru” status, his latest book, “Prioritising Web Usability,” may be the one book you should own for usability guidelines, even if you prefer to design with multimedia.

It appears that Nielson has “gone soft” on multimedia such as Flash, as he states that isn’t as “bad” as he declared it to be in 1995. It appears that technology, developer, and designer awareness about usability has increased, thereby creating a more usable environment for multimedia for users. However, my experience shows that while many multimedia developers and designers often notice usability standards, accessibility guidelines are ignored when multimedia is applied to Web development. This problem is exacerbated when code is available for a “cut and paste” methodology, especially for video content.

Read More

Creating a banner ad manager

Creating a banner ad manager

Many web sites include banners that display advertisements. Often these are static JPEG or GIF images but sometimes, the banner rotates through a series of images, with a transition between each. In this tutorial, I’m going to show you how to use Flash to create a dynamic banner ad manager. You’ll be able to load external images and display them one at a time, with a fade in transition effect.

The Flash movie that we build will load external JPEG, GIF, PNG or even SWF files into the banner. You’ll be able to manage the settings from an XML file that contains the list of images as well as the timings for the fade effect. You can determine the length of the fade in or out as well as the length of time that each image displays.

I’ll cover the following areas in the tutorial:

  • Loading an external XML document
  • Creating a class file in AS2.0
  • Working with the Transition Manager class
  • Working with Set Interval

I’ve used ActionScript 2.0 with a single class file in this tutorial so you’ll need at least Flash MX 2004 to complete the example. I’ve assumed that you’re familiar with writing ActionScript and that you understand concepts like variables and loops. I’ve also assumed that you’ve got a basic understanding of the XML object. If not, you might want to refresh your knowledge with some of the earlier tutorials.

You can download the source files for the tutorial from the blue Properties box that contains the article PDF. There's a heading titled Code Download and you can click the Details link next to it to get the zip file. The download includes the starter files you'll need as well as the completed files.

Note: If you have difficulties downloading the source files or PDF, you might have a problem with your cookies. Delete the cookies from your machine and try again. In Internet Explorer, you can do this by choosing Tools > Internet Options… and clicking the Delete Cookies… button on the General tab.

Read More

Working With Mobile ASP.NET Apps – Part 2

In part 1 of this tutorial we reviewed some basic concepts behind mobile development, we created a new mobile web application project and linked to a sample database and reviewed some of the principals behind mobile web forms.

In this second and final part of the series we’ll continue building upon our sample application and put an ObjectList control into practice using our sample data source.

We’ll also look at some of the mysteries behind this control that should help you avoid a lot of R&D and trial and error programming when it comes to rendering tabular data for mobile devices.

Note: Visual Studio .NET running ASP.NET 1.1 is required for this tutorial. Both VB.NET and C# code samples will be provided

ObjectList Confusion

In part 1 we reviewed the properties list of the ObjectList control and found that there were a plethora of properties available to use, yet finding complete documentation on the items is sometimes difficult. Even with the MSDN library itself the examples and explanations sometimes provide little or no help.

To compound the problem, online support and newsgroup discussions on the subject are somewhat scarce. It seems that mobile development is a bit of a hidden art, and you often have no choice but to simply figure things out on your own.

In this section we’ll cover some of the peculiarities of the ObjectList control that should help you avoid a lot of the common exceptions and errors encountered.

Read More

Working With Mobile ASP.NET Apps – Part 1

In the world of ASP.NET there’s a whole other breed of application that few developers ever have the need to work with: Mobile Web Applications. These are applications that are designed to run on mobile devices which can be anything from a pocket PC, to a BlackBerry, to a cell phone.

This realm of development is a very confusing one, due to the volume of disparate devices and their methods of implementation and visual capabilities. Often developers are left to focus on one particular style of device in order to bring out the best capabilities instead of taking a more generic one-size-fits-all implementation.

Because mobile development is so radically different in presentation the .NET framework has a dedicated set of assemblies for it residing in the System.Web.Mobile namespace. In this namespace is a dedicated set of interface components designed specifically to run on mobile devices, most of which duplicate the common components in regular web forms development such as labels, buttons, textboxes and so forth.

Although these components are fundamentally similar some of the principles behind mobile development are hidden and convoluted and developers are left spending many hours of trial and error getting certain basic features to work.

The goal of this two part tutorial is to review some of the not so obvious aspects of mobile development that often leave developers scratching theirs when finding solutions. We’ll implement a basic demonstration application that will take some of the common features performed in regular web development and see how they are implemented in a mobile development environment.

In part one we’ll setup a new mobile web application and connect it to a sample database so we have some data to work with and we’ll also review the DataGrid’s cousin in mobile development: The object list control. We’ll review some theory behind this control and some of its more confusing implementation designs and how best to use it and how not to use it.

In part two we’ll continue building on our demonstration application and implement a mobile form which uses the object list control and sub forms, and see how DataGrid style pages are developed in a mobile environment.

Note: Visual Studio .NET running ASP.NET 1.1 is required for this tutorial. We’ll also use the Northwind sample database which comes with SQL server as our test data source, or you may use any database of your choice for the purpose of demonstration

Read More

Design and Accessibility: Part XVI

Content, Usability, and Angry Clients

In the previous article, Linda discussed several points contained in current accessibility policies and showed how to build one for your sites through various online examples. In this article, Linda becomes the angry client, as her personal information was included in the U.S. Veterans Administration databases stolen from a private home in May 2006. In an effort to turn a personal trial into a lesson on content development and usability, Linda shows how emotion colours how viewers read site content. She demonstrates how to avoid confusion and – alternately – how to win customer confidence through readable and, therefore, usable Web text.

Read More

Building Rich Text Editor. Part IV

Introduction

This is the forth article in the series on creating a cross-browser online Rich Text Editor. In Part I, Part II and Part III we have created the application layout as well as built most of the functionality. In this iteration we will style the editor interface so that by look and behavior it resembles an Office application. In addition we will further modify the toolbar so that it reflects the selection by flipping corresponding interface buttons to “on” state if the formatting has been applied to the selection.

Office Style

First of all let’s make the look of our application toolbar a little more believable.

My choice was the Microsoft Office look. You are of course by no means limited to that.
As always, once you understand the principle you will be able to make up your own “skin” for the toolbar.
At this point all we have to do is modify the CSS declarations on the page to immediately change the toolbar’s appearance.
The new declarations are marked below in bold.

Read More

Using the .NET DataView Object

Using the .NET DataView Object

When building database driven web applications, presentation of data becomes a key component in your web forms. The common problem that arises is that no two users want to view their data the same way. One user wants to see only certain data; another user wants the data sorted by date ascending while another may only want to see data from the past week. The possibilities are literally endless.

As a developer, how do you cover all the scenarios? The answer is you really can’t, what you can do however is offer enough flexibility in data filtering to allow the user to customize their presentation themselves. And depending on what components you are implementing in your application, the DataView object is a good solution to provide this type of filtering.

In this tutorial we’ll look at a basic ASP.NET application that implements data column filtering as well as row state filtering. We’ll use a DataGrid component to search a column for data that matches a search pattern, thus filtering the user’s view. And we’ll also see how we can use the DataView to show only newly added rows; a pattern which can also be applied to edited or deleted rows easily.

We’ll need a sample database to work with so we’ll use the Northwind database which comes with all versions of SQL server, including MSDE. If you do not have access to SQL server you can simply link the tutorial example to any database of your choice and skip the database configuration section.

Note: Visual Studio .NET running ASP.NET 1.1 is required for this tutorial. Both VB.NET and C# code samples will be provided.

Read More

Creating a Flash Video Player

Creating a Flash Video Player

The tutorial will cover the following topics:
  • Creating a video object and using it to load a FLV file
  • Controlling playback with buttons
  • Displaying the elapsed time
  • Loading a list of videos from an XML document
  • Loading a video dynamically from a drop down list

You’ll learn how to create a video object and how to connect it so that you can stream content from an external file. You’ll also learn how to load content from an XML document that populates a ComboBox component.

You can download the resources for this tutorial from the blue Properties box that contains the article PDF. There's a heading titled Code Download and you can click the Details link next to it to get the zip file.

Note: If you have difficulties downloading the source files or PDF, you might have a problem with your cookies. Delete the cookies from your machine and try again. In Internet Explorer, you can do this by choosing Tools > Internet Options… and clicking the Delete Cookies… button on the General tab.

Read More

Design and Accessibility: Part XV

Website Accessibility Policies

In the previous article, Linda reviewed the legalities and recommendations involved with the standards included in the Section 508, W3C, and the PAS 78. This week, she focuses on the PAS 78 and its recommendation for Website commissioners to include accessibility policies in their Websites. What does this mean for Web designers and developers? What’s included in these policies, when should Websites have these policies in place, and which countries are affected by this recommendation? All these questions are answered here (without copyright infringement on the PAS 78), as Linda talks about the possibilities with examples from sites that already have accessibility policies in place.

Read More

The Other Navigation Bar

In my last article, I took you through the creation of a Dreamweaver 8 Navigation Bar and how to use it to create a usable navigation bar with this built in feature of Dreamweaver.  The Navigation Bar has greatly improved in the current version of Dreamweaver; nevertheless, it is not my tool of choice for navigation for a couple of reasons.  First, it requires images for the buttons; therefore, those images all have to preload or the navigation bar will be slower than molasses.  There was a time when 99% of all rollovers involved images and that is fine.  However, today, there is a much better way to create navigation that loads quickly and still looks professional and that involves the use of CSS for navigation and rollovers. 

 

Because all states of every button are just text, there is nothing out there that can load more smoothly or faster.  Once you get a handle on CSS, you can create a navigation bar quickly that is flexible and can serve more than one purpose.  If you read my previous article, you saw how I created images for the buttons in a panel and then sliced it in Fireworks.  It worked great on the vertical navigation, but if you tried to apply those buttons to the horizontal view, it looked awful.  I will admit that was partly due to the way that I quickly created and sliced the Fireworks PNG .. had I made the buttons all even height-wise, it would have looked much better.  My bad! 

 

HOWEVER. When you create your navigation in text and use CSS to style it, you can create a vertical navigation bar that can quickly be converted to a horizontal one with the click of a style rule.  There is no guesswork involved; no need to worry about uniform size.  Since the font is uniform, the style rules put everything in place for you .. just like that!

Read More

Securely Locking Down ASP.NET Web Services

Securely Locking Down ASP.NET Web Services

During this tutorial we will build 2 separate ASP.NET applications: One to implement the Web Service itself, and one to implement the consumer application which uses the Web Service. By having 2 applications we can effectively simulate the service/consumer pattern which would be found in a real world application, even though in our case both applications will be running on the same machine.

The demonstration Web Service will simply provide several test services which we can call from the consumer. The purpose behind these methods is not their functionality but rather to simply have something to execute. The focus of this tutorial is how to secure the service once it’s built.

We’ll then implement a consumer ASP.NET application and show how we can gain access to the Web Service even thought it’s been completely secured and locked down.

Note: Visual Studio .NET with ASP.NET 1.1 is required for this tutorial. Both VB.NET and C# code samples will be provided

Read More
Newer articles Older articles