Developer .NET UPDATE--Office Collaboration--April 16, 2004

This Issue Sponsored By

SQL Web Seminar – Tactics for Protecting MS-SQL

Get 2 Free Sample Issues of SQL Server Magazine!

In This Issue

1. Developer .NET Perspectives

  • SharePoint Portal Server 2003 and InfoPath--A Dynamic Duo
  • 2. Resource

  • Featured Thread: Framework-Based Software Doesn't Work on XP Pro
  • 3. New and Improved

  • RPG Compiler for Visual Studio .NET

  • Sponsor: SQL Web Seminar – Tactics for Protecting MS-SQL

    It is critical to protect Microsoft SQL Server (MS-SQL) from outside forces such as weather, user error, or system outages that can jeopardize application and associated data. Sign up today for a free, one-hour Web seminar on May 4th, sponsored by NSI Software. Not only will you learn several solutions associated with protecting MS-SQL, but you will also work to identify the costs, risks, and advantages of each so you can determine if you have a protection scheme that is well matched to your business needs. Register now at:

    Developer .NET Perspectives

    by Bill Sheldon, [email protected]

  • SharePoint Portal Server 2003 and InfoPath--A Dynamic Duo
  • With the release of Microsoft Office 2003, Microsoft introduced Microsoft Office SharePoint Portal Server 2003. The capabilities of SharePoint Portal Server 2003 extend well beyond that of its predecessors. One product that integrates tightly with SharePoint Portal Server 2003 is Microsoft Office InfoPath 2003.

    Microsoft introduced InfoPath as part of its Office 2003 release. However, Microsoft didn't make this product readily available to the general public. InfoPath is available only through volume licensing of Office Professional 2003 Enterprise Edition. The consumer version, Office Professional 2003, didn't include InfoPath. The only other ways to get InfoPath are through a Microsoft Developer Network (MSDN) subscription or to purchase it as a standalone.

    Microsoft probably limited InfoPath's availability for two reasons. First, InfoPath is a development tool. Second, and more important, the first generation of InfoPath is riddled with issues. If InfoPath has so many issues, why did Microsoft make it available to enterprise customers? When an enterprise organization needs a capability, it will either use a product that offers that capability or develop that capability from scratch. So, rather than have enterprise customers develop custom in-house solutions, Microsoft provided the first generation of InfoPath and let these customers begin working with it. Although the limitation of having to use InfoPath to open the forms makes InfoPath difficult to use for the average consumer, an enterprise organization has the resources to provide copies of InfoPath to its employees under a volume license.

    InfoPath's claim to fame is that it lets teams using SharePoint Portal Server 2003 easily create custom forms. Microsoft designed InfoPath to help address the fact that the creation of custom Web parts for SharePoint Portal Server 2003 is difficult. (This situation will change with the next release of Visual Studio .NET, which is code-named Whidbey.) InfoPath is designed as a high-level XML authoring tool that teams can use to create Web-based forms that reside on SharePoint Portal Server 2003 or that can be emailed. You don't need in-depth technical knowledge to use this tool to implement custom forms for SharePoint Portal Server 2003. However, InfoPath is missing some key features (e.g., printing capability) and has one serious limitation: You must use the InfoPath client to open a Web-based form created with InfoPath.

    Microsoft is preparing a service pack for Office 2003. As part of this service pack, InfoPath is getting a serious upgrade. This upgrade looks to improve InfoPath's capabilities. Thus, the time has come to focus on InfoPath's strengths.

    When you design a form with InfoPath, InfoPath creates an .xsn file. Behind the scenes, InfoPath also creates an XML-based application interface. The .xsn file contains all the Extensible Style Language Transformations (XSLT) and XML required to support the display of your form. What many people don't realize is that the custom .xsn file extension hides a standard .cab file. In fact, if you change the .xsn extension to .cab, you can use Windows' built-in support for opening .cab files to examine your source XML and XSLT files. Although this practice isn't officially supported, you can access the source elements of your compiled form and work against that code.

    InfoPath lets you publish forms directly to a SharePoint Portal Server 2003 site, where your team can access them. Other Office applications can also use the data. InfoPath supports exporting data directly to a database (through an ADO connection) or to an XML file. As I discussed in "Collaborating at the Office" (, you can use Microsoft Visual Studio Tools for the Microsoft Office System to leverage data in captured a database. However, Office 2003 comes with a great deal of XML support, and as a result, one use of InfoPath is to collect data, save it to an XML file, then display the XML data by leveraging the new XML features in Microsoft Word 2003 or Microsoft Excel 2003. Although this capability might not sound that exciting from a software development standpoint, it gives you the Office developer the ability to capture dynamic document elements. Two business-process and workflow vendors provide good examples of how to leverage this power. SourceCode Technology Holding's ( and Captaris's Teamplate Workflow Wizard ( have built-in logic that lets you leverage InfoPath as part of a larger enterprise workflow solution. These products build on the capabilities of InfoPath and SharePoint Portal Server 2003 to help you create a robust team collaboration environment.

    If you want to learn more about how to use InfoPath and SharePoint Portal Server 2003 to build custom solutions, check out the following resources:

    • For a preview of the service pack changes to InfoPath, go to
    • For InfoPath tutorials, go to
    • For InfoPath developer resources, go to
    • For InfoPath product information, go to
    • For information about InfoPath's architecture go to

    Sponsor: Get 2 Free Sample Issues of SQL Server Magazine!

    SQL Server Magazine is a must-read resource loaded with relevant information covering database modeling and design, performance tuning, security, ADO.NET, ASP.NET, XML and the latest topics that SQL Server database developers need to know. Try two (no-risk) sample issues today, and discover the timesaving qualities the magazine has to offer. Click here:

    (brought to you by SQL Server Magazine)

  • Share Your Feedback About SQL Server Communities

  • Microsoft's SQL Server team has launched a new survey to help it and its community partners better understand your needs and help to improve your experience with SQL Server. Take time to let Microsoft know how satisfied you are with the availability of SQL Server information and peer support in the SQL Server communities. Click here:

  • On the Go? SQL Server Magazine Has a Portable Resource!

  • Introducing version 8 of the SQL Server Magazine Master CD. Subscribe today and get portable, high-speed access to all articles, code, tips, tricks, and expertise published in SQL Server Magazine and T-SQL Solutions. The CD features articles by such experts as Brian Moran and Kimberly L. Tripp. Subscribe now:


  • Featured Thread: Framework-Based Software Doesn't Work on XP Pro
  • Novice forum member xyz01 has accounting software based on the Windows .NET Framework. The accounting software works when run on Windows 2000 Professional but produces an error when run on Windows XP Professional Edition. (The database server is Microsoft SQL Server 2000.) Whenever he tries performing any transaction, he receives the error message "Error occurred while configuring component 'TransactionLib.MyDTC' with attribute 'System.EnterpriseServices.TransactionAttribute.'" The Distributed Transaction Coordinator (DTC) service is activated. If you can help, go to the following URL:

    Events Central
    (A complete Web and live events directory brought to you by Windows & .NET Magazine: )

  • SQL Web Seminar--Maximizing Application Performance with SQL Server
  • Over the past 18 months, Microsoft and VERITAS have collected and analyzed the most common performance-related SQL Server problems that customers encounter. Attend a free, interactive Web seminar on April 27th, which will articulate these performance problems, describe their impact, and demonstrate how they can be solved. Register today!

  • SQL Web Seminar--SQL Server Backup and Recovery
  • Data availability is crucial for business service, so it's important to have the processes and technology in place to reduce the risk of data outages and make for quick recovery. Attend a free, 1-hour Web seminar on April 29th and learn best practices for database backup and recovery. Register today and get a free SQL-BackTrack License:

    New and Improved

  • RPG Compiler for Visual Studio .NET
  • ASNA released ASNA Visual RPG for .NET (AVR for .NET), a Windows-based RPG compiler that you can use to create traditional Windows, browser-based, and PDA-based applications that connect to IBM iSeries and AS/400 servers, with support for Microsoft SQL Server 2005 (formerly code-named Yukon) coming soon. AVR for .NET is built on an RPG foundation but supports modern OOP principles. The RPG compiler snaps into Microsoft Visual Studio .NET and generates Microsoft intermediate language (MSIL) assemblies. For pricing information, contact ASNA at 210-408-0212 or 800-289-2762.

    Sponsored Links

    Software FX

    Chart FX OLAP-.NET front-end OLAP for Visual Studio developers.

    DB Ghost for SQL Server

    Take control of your source code! Change management for SQL is here.

    Contact Us

  • About Developer .NET Perspectives -- [email protected]
  • About the newsletter -- [email protected]
  • About technical questions --
  • About product news -- [email protected]
  • About your subscription -- [email protected]
  • About sponsoring an UPDATE -- contact Kate Silvertooth ([email protected])
  • This email newsletter is brought to you by Windows & .NET Magazine, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.

    View the Windows & .NET Magazine Privacy policy at

    Windows & .NET Magazine, a division of Penton Media, Inc.
    221 East 29th Street, Loveland, CO 80538
    Attention: Customer Service Department

    Copyright 2004, Penton Media, Inc. All Rights Reserved.

    Hide comments


    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.