Hands-On Lab. Microsoft Office Programmability in C# and Visual Basic. Lab version: 1.0.0
|
|
|
- Abner Evelyn Chapman
- 9 years ago
- Views:
Transcription
1 Hands-On Lab Microsoft Office Programmability in and Visual Basic Lab version: Last updated: 12/10/2010
2 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING A COLLECTION OF BUSINESS ENTITIES AND INSERTING THEIR VALUES INTO AN EXCEL WORKSHEET... 5 Task 1 Creating a New Console Application and Reference the Microsoft Office Interop Assemblies... 5 Task 2 Creating a Collection of Business Entities... 6 Task 3 Creating an Excel Workbook and Populate it with Data from the Business Entities Exercise 1: Verification 13 EXERCISE 2: EMBEDDING AN EXCEL WORKSHEET IN MICROSOFT WORD Task 1 Embedding your Excel Worksheet into a New Microsoft Word Document Exercise 2: Verification 17 REMOVING THE PIA DEPENDENCE FROM THE APPLICATION Checking that PIA dependencies are removed by default SUMMARY... 20
3 Overview Microsoft Office provides organizations an environment for rapidly creating business applications in an environment that is very familiar to end users. Building Office Business Applications present a large number of opportunities for organizations to take advantage of, including tying into Customer Relationship Management (CRM) systems, fronting data extracted from line of business applications, hosting business intelligence reports, and a wealth of other possibilities. While Office development provides a great number of value opportunities for organizations, previously it also presented a number of challenges for developing and deploying those applications. Earlier versions of managed languages also contributed to the friction involved in creating applications using Office. Calling numerous Office API methods was often painful due to the large number of parameters involved, many of which had no use. Visual Basic s optional parameters feature made this easier, but developers in had to suffer through writing significant amounts of useless initializers or null statements to fill out required method signature parameters. If you were writing in Visual Basic, you had no access to an equivalent of 3.0 s lambda feature to supply inline methods when invoking delegates. In this lab you will see how new features in Visual Studio 2010, 4.0, and Visual Basic 10 eliminate the issues in the previous paragraphs. Additionally, you will see a number of other powerful features, which speed other elements of Office development. Objectives In this Hands-On Lab, you will learn how to: Learn how new language features speed creation of business entities Discover new language features that make it easier to have business entities interact with Excel Utilize new language features which enable quick interaction between Office applications See how the new build process allows easier deployment of Office applications to end users System Requirements You must have the following items to complete this lab: Microsoft Visual Studio 2010.Net Framework 4 Microsoft Excel 2007
4 Microsoft Word 2007 Setup All the requisites for this lab are verified using the Configuration Wizard. To make sure that everything is correctly configured, follow these steps. Note: To perform the setup steps you need to run the scripts in a command window with administrator privileges. 1. Run the Configuration Wizard for the Training Kit if you have not done it previously. To do this, run the CheckDependencies.cmd script located under the %TrainingKitInstallationFolder%\Labs\Dev10Office\Setup folder. Install any pre-requisites that are missing (rescanning if necessary) and complete the wizard. Note: For convenience, much of the code you will be managing along this lab is available as Visual Studio code snippets. The CheckDependencies.cmd file launches the Visual Studio installer file that installs the code snippets. Exercises This Hands-On Lab is comprised of the following exercises: 1. Creating a collection of account classes and display the account information in Microsoft Excel 2. Embed the Microsoft Excel worksheet in a Microsoft Word document 3. Alter the VS project files to enable the program to be deployed without PIA Estimated time to complete this lab: 60 minutes. Next Step Exercise 1: Creating a Collection of Business Entities and Inserting their Values into an Excel Worksheet
5 Exercise 1: Creating a Collection of Business Entities and Inserting their Values into an Excel Worksheet Business entities are a commonly used pattern to carry data through an application or system. Business entities might reflect a bank account, with a balance and account holder, or they might reflect a shopping cart with a number of items in it, each of those items being its own business entity. In this exercise, you will learn how to create a collection of business entities and write the values from those entities to an Excel worksheet. Along the way, you will be introduced to new language features in 4.0 and Visual Basic 10 that greatly speed the creation of business entities. Note: To verify that each step is correctly performed, it is recommended to build the solution at the end of each task. Task 1 Creating a New Console Application and Reference the Microsoft Office Interop Assemblies In this task, you will create a new console application and add in the assemblies needed to begin Office development. 1. Open Microsoft Visual Studio 2010 from Start All Programs Microsoft Visual Studio 2010 Microsoft Visual Studio On the Microsoft Visual Studio Start Page, click the New Project icon. Note: This lab will be presented in both and Visual Basic. Feel free to use which ever language you are more comfortable with. Along the way new features of each language and Visual Studo 2010 will be pointed out. 3. In either the or Visual Basic projects Templates list, select Windows Console Application. 4. In the Name field, enter the name OfficeApplication 5. In the upper right hand corner, ensure that version 4.0 of the.net Framework is selected. 6. Accept the default location and Solution Name. Click the OK button. The solution will be created with a single console application project. 7. Right-click on the OfficeApplication project node and select Add Reference. 8. Under the.net tab in the Add Reference dialog box, select Microsoft.Office.Interop.Excel. Hold down the CTRL key and click Microsoft.Office.Interop.Word. Click the OK button.
6 Note: Since the lab is targeted to Office 2007, make sure version is selected when adding the references. When complete, the list of references for your console application should look like this: Figure 1 References for Office development Task 2 Creating a Collection of Business Entities In this task, you will create a collection of business entities that will be pre-populated with data. Prepopulating simulates loading the entities with data from a separate source. We are shortcutting here to focus on things other than data access. You will start by creating an individual entity. 1. In the Solution Explorer, right click on the node for the OfficeApplication project and select Add Class from the menu. 2. The Add New Item dialog box appears with the Class template already selected. Change the name to Account.cs (for ) Account.vb (for Visual Basic) and click the Add button. a. If you are doing the lab in, change the definition of the Account class to be public, as shown below: public class Account }
7 3. Add public properties for ID (integer), Balance (double) and AccountHolder (string) to the Account as shown: (Code Snippet Office Programmability Lab - Ex1 Account properties CSharp) public class Account public int ID get; set; } public double Balance get; set; } public string AccountHolder get; set; } } (Code Snippet Office Programmability Lab - Ex1 Account properties VB) Visual Basic Public Class Account Property ID As Integer Property Balance As Double Property AccountHolder As String End Class Note: A new feature in Visual Basic is the ability to declare a property without declaring a separate field to store the value in. These automatically-implemented properties work the same as if the developer had declared a private field to hold the data and implemented simple getters and setters. They are called the same way a traditional property is called. If a more robust logic is required for property access, traditional properties that store data in private fields can still be created. Comparable Visual Basic code from VS 2008 would look like the following example: Visual Basic ' This is the old style using backing variables instead of ' auto-implemented properties Public Class Account Private _id As Integer Private _balance As Double Private _accountholder As String Property ID() As Integer Get Return _id End Get
8 Set(ByVal value As Integer) _id = value End Set End Property Property Balance() As Double Get Return _balance End Get Set(ByVal value As Double) _balance = value End Set End Property Property AccountHolder() As String Get Return _accountholder End Get Set(ByVal value As String) _accountholder = value End Set End Property End Class 4. The Account class represents your individual entity type. Normally an application would create some sort of collection of these entities and populate them with data from a data store of some sort. To keep this lab concise and focused you will populate your list by pushing values into the individual objects at creation. In the Module1.vb (VB) or Program.cs () file, create a new method called CreateAccountList as shown in the following code: (Code Snippet Office Programmability Lab - Ex1 CreateAccountList VB) Visual Basic Private Function CreateAccountList() As List(Of Account) Dim checkaccounts As New List(Of Account) From New Account With.ID = 1,.Balance = ,.AccountHolder = "John Doe" }, New Account With.ID = 2,.Balance = ,.AccountHolder = "Richard Roe" }, New Account With.ID = 3,
9 } }.Balance = ,.AccountHolder = "I Dunoe" Return checkaccounts End Function Note: The code above highlights another new feature in Visual Basic: collection initializers. This enables developers to save large amounts of time by declaring the list and initializing the list s contents directly at that point. There is no need to instantiate the list and then individually new up items and add them to the list. (Code Snippet Office Programmability Lab - Ex1 CreateAccountList CSharp) private static List<Account> CreateAccountList() var checkaccounts = new List<Account> new Account ID = 1, Balance = , AccountHolder = "John Doe" }, new Account ID = 2, Balance = , AccountHolder = "Richard Roe" }, new Account ID = 3, Balance = , AccountHolder = "I Dunoe" } }; } return checkaccounts; 5. Call the CreateAccountList method from the Main method in the Module1.vb (VB) or Program.cs () file as show: Visual Basic
10 Sub Main() Dim checkaccounts = CreateAccountList() End Sub static void Main(string[] args) var checkaccounts = CreateAccountList(); } Task 3 Creating an Excel Workbook and Populate it with Data from the Business Entities In this task, you will create a new Excel workbook. You will then loop through the collection of business objects and insert the data into the Excel workbook. Finally, you will format the worksheet. 1. The first step is to import the Office namespaces with Imports (VB) or using () statements. Enter the following code at the top of the Module1.vb (VB) or Program.cs () file: (Code Snippet Office Programmability Lab - Ex1 Namespaces VB) Visual Basic Imports Microsoft.Office.Interop Imports System.Runtime.CompilerServices (Code Snippet Office Programmability Lab - Ex1 Namespaces CSharp) using Microsoft.Office.Interop; using Excel = Microsoft.Office.Interop.Excel; using Word = Microsoft.Office.Interop.Word; 2. The code to insert the data into Excel is implemented as an Extension method. The first parameter of this (and all) extension methods indicates the type that the method operates on (your list of accounts). The second argument, DisplayFunc, is a type of delegate called Action. Action delegates can take any number of arguments, but always return void. This block of code creates a new Excel application with a workbook, injects some header text into the workbook, calls a helper method to display the values of your Account objects, then sets each column to AutoFit mode to better display each column s values. Enter the following code in Module1.vb (vb) or Program.cs () after the Main method: (Code Snippet Office Programmability Lab - Ex1 DisplayInExcel VB)
11 Visual Basic <Extension()> Sub DisplayInExcel(ByVal accounts As IEnumerable(Of Account), ByVal DisplayFunc As Action(Of Account, Excel.Range)) With New Excel.Application.Workbooks.Add().Visible = True.Range("A1").Value = "ID".Range("B1").Value = "Balance".Range("C1").Value = "Account Holder".Range("A2").Select() End With End Sub For Each ac In accounts DisplayFunc(ac,.ActiveCell).ActiveCell.Offset(1, 0).Select() Next.Columns(1).AutoFit().Columns(2).AutoFit().Columns(3).AutoFit() Note: In C #, it is necessary to change the declaration of your Program class in Program.cs to be static. (Code Snippet Office Programmability Lab - Ex1 DisplayInExcel CSharp) static void DisplayInExcel(this IEnumerable<Account> accounts, Action<Account, Excel.Range> DisplayFunc) var x1 = new Excel.Application(); //see the Note below x1.workbooks.add(); x1.visible = true; x1.get_range("a1").value2 = "ID"; x1.get_range("b1").value2 = "Balance"; x1.get_range("c1").value2 = "Account Holder"; x1.get_range("a2").select(); foreach (var ac in accounts) DisplayFunc(ac, x1.activecell);
12 } x1.activecell.get_offset(1, 0).Select(); } ((Excel.Range)x1.Columns[1]).AutoFit(); ((Excel.Range)x1.Columns[2]).AutoFit(); ((Excel.Range)x1.Columns[3]).AutoFit(); Note: The statement x1.workbooks.add(); reflects an important change in the.net Framework 4.0 and 4.0: optional parameters. Previous versions of the Microsoft.Office.Interop.Excel.Workbook COM interop assembly required passing in a parameter. Besides, s previous versions had no support for optional parameters, something Visual Basic developers have enjoyed for years. Earlier the statement would have appeared as x1.workbooks.add(missing.value); The new interop assemblies in the.net Framework 4.0, coupled with 4.0 s new support for optional parameters lets you use a more concise, clearer syntax. 3. The next step is to call your extension method from the Main method of your program. Add the following code to the bottom of the Main method: (Code Snippet Office Programmability Lab - Ex1 DisplayInExcel call VB) Visual Basic checkaccounts.displayinexcel(sub(account, cell) cell.value2 = account.id cell.offset(0, 1).Value2 = account.balance cell.offset(0, 2).Value2 = account.accountholder If account.balance < 0 Then cell.interior.color = RGB(255, 0, 0) cell.offset(0, 1).Interior.Color = RGB(255, 0, 0) cell.offset(0, 2).Interior.Color = RGB(255, 0, 0) End If End Sub) Note: Here you see another new feature in Visual Basic; statement lambdas. A statement lambda is an anonymous block of code that is treated like a variable in that it can be passed as an argument to a method, as you are doing in this example. The syntax for a lambda is to declare a series of arguments, in this case account and cell, and then to supply the logic for that lambda. When using statement lambdas function or sub names are not required and argument types are inferred.
13 (Code Snippet Office Programmability Lab - Ex1 DisplayInExcel call CSharp) checkaccounts.displayinexcel((account, cell) => cell.value2 = account.id; cell.get_offset(0, 1).Value2 = account.balance; cell.get_offset(0, 2).Value2 = account.accountholder; }); if (account.balance < 0) cell.interior.color = 255; cell.get_offset(0, 1).Interior.Color = 255; cell.get_offset(0, 2).Interior.Color = 255; } The DisplayInExcel extension method takes one argument, an Action delegate which in turn takes two arguments. The Action delegate s arguments are an instance of your Account object and an instance of a cell in an Excel worksheet. This extension method is in reality a unit of functionality that will be called for each Account object in your list by the for each loop in the body of the DisplayInExcel function. The DisplayInExcel function contains the logic for creating and performing setup of the Excel workbook. The delegate you are providing contains the logic to take the individual values from the Account object and place them in the Excel worksheet. Next Step Exercise 1: Verification Exercise 1: Verification In this verification, you will run the console application and observe that an Excel worksheet is opened and your account data is populated in a worksheet. 1. In Visual Studio, press the F5 key to run the application in debug mode. 2. Observe that the application starts an instance of Microsoft Excel and inserts your data into the first worksheet:
14 Figure 2 Account data in an Excel worksheet Note: Notice that the column widths have been adjusted to be sized based on the contents. Also notice per the logic in the for each loop of the delegate passed to the DisplayInExcel function, the account with a negative balance has a red background. 3. Close Excel. Do not save any changes. Next Step Exercise 2: Embedding an Excel Worksheet in Microsoft Word Exercise 2: Embedding an Excel Worksheet in Microsoft Word In this exercise, you will embed your Excel worksheet in a Microsoft Word document. This exercise will also introduce developers to optional parameters.
15 Note: To verify that each step is correctly performed, it is recommended to build the solution at the end of each task. Task 1 Embedding your Excel Worksheet into a New Microsoft Word Document 1. Open Microsoft Visual Studio 2010 from Start All Programs Microsoft Visual Studio 2010 Microsoft Visual Studio Open the OfficeApplication.sln solution file. By default, this file is located in the folder: %TrainingKitInstallFolder%\Labs\Dev10Office\Source\Ex02-EmbeddingWorksheet\Begin\ and choose the language of your preference. Optionally, you can continue working the solution you created in the previous exercise. 3. Copy your Excel worksheet so that it can be pasted into the Word document. The Copy() method accomplishes this for you. Add the following code to the end of the DisplayInExcel method (in the Visual Basic method, this command must be within the With block): Visual Basic.Range("A1:C4").Copy() x1.get_range("a1:c4").copy(); 4. Now that your worksheet is copied to the clipboard, you need to create a Word document and past the worksheet into it. In the Module1.vb (VB) or Program.cs () file, create a new method called EmbedInWordDocument as shown in the following code: (Code Snippet Office Programmability Lab - Ex2 EmbedInWordDocument VB) Visual Basic Private Sub EmbedInWordDocument() Dim word As New Word.Application word.visible = True word.documents.add() word.selection.pastespecial(link:=true, DisplayAsIcon:=False) End Sub (Code Snippet Office Programmability Lab - Ex2 EmbedInWordDocument CSharp) private static void EmbedInWordDocument() var word = new Word.Application();
16 } word.visible = true; word.documents.add(); word.selection.pastespecial(link: true, DisplayAsIcon: false); Note: developers will recognize a new feature to 4.0 in the call to PasteSpecial: the use of optional parameters. PasteSpecial actually has seven parameters. In most cases, you do not need to supply values for these parameters, as the defaults are adequate for the application. In previous version of these values still had to be provided even if the provided value was of type System.Reflection.Missing.Value, which resulted in called to PasteSpecial that look like this: object iconindex = System.Reflection.Missing.Value; object link = true; object placement = System.Reflection.Missing.Value; object displayasicon = false; object datatype = System.Reflection.Missing.Value; object iconfilename = System.Reflection.Missing.Value; object iconlabel = System.Reflection.Missing.Value; word.selection.pastespecial(ref iconindex, ref link, ref placement, ref displayasicon, ref datatype, ref iconfilename, ref iconlabel); Note: developers should also note that while parameters to PasteSpecial are still by reference, it is no longer necessary to specify this with the ref keyword. 5. Call the EmbedInWordDocument method from the end of the Main method in the Module1.vb (VB) or Program.cs () file as show: Visual Basic Sub Main() Dim checkaccounts = CreateAccountList() checkaccounts.displayinexcel(sub(account, cell) cell.value2 = account.id cell.offset(0, 1).Value2 = account.balance cell.offset(0, 2).Value2 = account.accountholder
17 If account.balance < 0 Then cell.interior.color = RGB(255, 0, 0) cell.offset(0, 1).Interior.Color = RGB(255, 0, 0) cell.offset(0, 2).Interior.Color = RGB(255, 0, 0) End If End Sub) EmbedInWordDocument() End Sub static void Main(string[] args) var checkaccounts = CreateAccountList(); checkaccounts.displayinexcel((account, cell) => cell.value2 = account.id; cell.get_offset(0, 1).Value2 = account.balance; cell.get_offset(0, 2).Value2 = account.accountholder; }); if (account.balance < 0) cell.interior.color = 255; cell.get_offset(0, 1).Interior.Color = 255; cell.get_offset(0, 2).Interior.Color = 255; } } EmbedInWordDocument(); Next Step Exercise 2: Verification Exercise 2: Verification In this verification, you will run the console application and observe that in addition to the activities your application performed in the previous Verification, your Excel worksheet is also embedded in a Microsoft Word application. 1. In Visual Studio, press the F5 key to run the application in debug mode. 2. Observe that the application starts an instance of Microsoft Excel and inserts your data into the first worksheet as before.
18 3. When finished creating the Excel worksheet, the application will start in instance of Microsoft Word and insert your data into a document: Figure 3 Account data in a Word document 4. Close Excel and Word. Do not save any changes. Next Step Exercise 3: Removing the PIA Dependence from the Application Removing the PIA Dependence from the Application
19 Office programmability relies on types from the Office Primary Interop Assembly (PIA) to be able to interface with the various applications in the office suite. In the past, this has dramatically impacted deployment of customized Office applications for a number of reasons. First, different versions of Office use different versions of the PIA, creating complexity for managing the assemblies. Secondly, IT personnel had to figure out deployment strategies to ensure required PIA resources were available across their support base. Additionally, deploying the PIA with an application resulted in a larger installation than necessary due to the extra, unused features. Note: Primary Interop Assemblies (PIAs) are a critical part of any.net framework application needing to interface with COM components. A regular Interop Assembly is used for describing the COM types, allowing managed code to bind to the COM types at compile time. Interop Assemblies also help the CLR understand how those COM types should be marshaled at run time. The Primary Interop Assembly differs from regular Interop Assemblies in that it is the official holder of all type descriptions and is signed by the vendor to ensure its validity. Development in Visual Studio 2010 eases these burdens by removing this PIA dependence from applications. When the dependency is removed, the compiler will import whatever types are needed by your application from the PIA directly into your application; you simply deploy your application knowing that all the PIA classes you need are included with your application s assemblies. Checking that PIA dependencies are removed by default In Visual Studio 2010 PIA dependencies are removed by default, to verify this: 1. Open Microsoft Visual Studio 2010 from Start All Programs Microsoft Visual Studio 2010 Microsoft Visual Studio Open the OfficeApplication.sln solution file. By default, this file is located in the folder: %TrainingKitInstallFolder%\Labs\Dev10Office\Source\RemovingPIA\Begin\ and choose the language of your preference. Optionally, you can continue working the solution you created in the previous exercise. 3. Expand the project s References. a. In Visual Basic, you should select the OfficeApplication project node and click the Show All Files button in the Solution Explorer in order to see the References node. 4. Right-Click on Microsoft.Office.Interop.Excel in your project s references, and choose Properties. 5. Notice that the value of Embed Interop Types is set to True. 6. Right-click on Microsoft.Office.Interop.Word in your project s references, and choose Properties. 7. Notice that the value of Embed Interop Types is set to True.
20 Next Step Summary Summary In this lab you have seen the ease of working with Office to create custom applications. You have worked with new language features like Visual Basic s new auto-properties and collection initializers which enable you to more quickly build up your classes and methods. Among other language features, you have seen 4.0 s new use of optional parameters, and seen how it makes working with the APIs of Office s Primary Interop Assemblies much more concise and less error prone. Furthermore, you have seen how Visual Basic s addition of multi-line lambdas and statement lambdas enables you to succinctly deal with handing delegates a suitable statement. Finally, you have seen how Interop types can be embedded in an Office Business Application to drastically ease the burden of deploying your Office application. This is a vast improvement over previous Office development environments which required you to deal with the hardship of deconflicting multiple version dependencies. All these improvements in the tools, platform, and languages in the latest release of Visual Studio 2010 should boost your ability to create powerful, flexible Office Business Applications.
Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.
Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S
Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011
Hands-On Lab Client Workflow Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: DEFINING A PROCESS IN VISIO 2010... 4 Task 1 Define the Timesheet Approval process... 4 Task 2
SQL Server 2005: Report Builder
SQL Server 2005: Report Builder Table of Contents SQL Server 2005: Report Builder...3 Lab Setup...4 Exercise 1 Report Model Projects...5 Exercise 2 Create a Report using Report Builder...9 SQL Server 2005:
A SharePoint Developer Introduction. Hands-On Lab. Lab Manual SPCHOL306 Using Silverlight with the Client Object Model VB
A SharePoint Developer Introduction Hands-On Lab Lab Manual SPCHOL306 Using Silverlight with the Client Object Model VB This document is provided as-is. Information and views expressed in this document,
How to test and debug an ASP.NET application
Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult
Hands-On Lab. Web Development in Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Page 1
Hands-On Lab Web Development in Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: USING HTML CODE SNIPPETS IN VISUAL STUDIO 2010... 6 Task 1 Adding
Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010
Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010 Contents Microsoft Office Interface... 4 File Ribbon Tab... 5 Microsoft Office Quick Access Toolbar... 6 Appearance
Working together with Word, Excel and PowerPoint 2013
Working together with Word, Excel and PowerPoint 2013 Information Services Working together with Word, Excel and PowerPoint 2013 Have you ever needed to include data from Excel or a slide from PowerPoint
Excel 2007 Basic knowledge
Ribbon menu The Ribbon menu system with tabs for various Excel commands. This Ribbon system replaces the traditional menus used with Excel 2003. Above the Ribbon in the upper-left corner is the Microsoft
To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.
EDIT202 Spreadsheet Lab Assignment Guidelines Getting Started 1. For this lab you will modify a sample spreadsheet file named Starter- Spreadsheet.xls which is available for download from the Spreadsheet
Before you can use the Duke Ambient environment to start working on your projects or
Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings
Content Author's Reference and Cookbook
Sitecore CMS 6.5 Content Author's Reference and Cookbook Rev. 110621 Sitecore CMS 6.5 Content Author's Reference and Cookbook A Conceptual Overview and Practical Guide to Using Sitecore Table of Contents
DEPLOYING A VISUAL BASIC.NET APPLICATION
C6109_AppendixD_CTP.qxd 18/7/06 02:34 PM Page 1 A P P E N D I X D D DEPLOYING A VISUAL BASIC.NET APPLICATION After completing this appendix, you will be able to: Understand how Visual Studio performs deployment
Table Of Contents. iii
Table Of Contents Quickstart... 1 Introduction... 1 Data administration... 1 The Toolbar... 2 Securities management... 3 Chart window structure... 4 Adding an indicator... 5 Chart drawings... 6 Saving
Developing SQL and PL/SQL with JDeveloper
Seite 1 von 23 Developing SQL and PL/SQL with JDeveloper Oracle JDeveloper 10g Preview Technologies used: SQL, PL/SQL An Oracle JDeveloper Tutorial September 2003 Content This tutorial walks through the
Excel 2013 What s New. Introduction. Modified Backstage View. Viewing the Backstage. Process Summary Introduction. Modified Backstage View
Excel 03 What s New Introduction Microsoft Excel 03 has undergone some slight user interface (UI) enhancements while still keeping a similar look and feel to Microsoft Excel 00. In this self-help document,
Practice Fusion API Client Installation Guide for Windows
Practice Fusion API Client Installation Guide for Windows Quickly and easily connect your Results Information System with Practice Fusion s Electronic Health Record (EHR) System Table of Contents Introduction
Umbraco v4 Editors Manual
Umbraco v4 Editors Manual Produced by the Umbraco Community Umbraco // The Friendly CMS Contents 1 Introduction... 3 2 Getting Started with Umbraco... 4 2.1 Logging On... 4 2.2 The Edit Mode Interface...
CRM Setup Factory Installer V 3.0 Developers Guide
CRM Setup Factory Installer V 3.0 Developers Guide Who Should Read This Guide This guide is for ACCPAC CRM solution providers and developers. We assume that you have experience using: Microsoft Visual
Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1
Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key
Setting Up ALERE with Client/Server Data
Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms InfoPath 2013 Web Enabled (Browser) forms Creating Web Enabled
Microsoft Excel 2013 Tutorial
Microsoft Excel 2013 Tutorial TABLE OF CONTENTS 1. Getting Started Pg. 3 2. Creating A New Document Pg. 3 3. Saving Your Document Pg. 4 4. Toolbars Pg. 4 5. Formatting Pg. 6 Working With Cells Pg. 6 Changing
Bitrix Site Manager 4.1. User Guide
Bitrix Site Manager 4.1 User Guide 2 Contents REGISTRATION AND AUTHORISATION...3 SITE SECTIONS...5 Creating a section...6 Changing the section properties...8 SITE PAGES...9 Creating a page...10 Editing
Web Services API Developer Guide
Web Services API Developer Guide Contents 2 Contents Web Services API Developer Guide... 3 Quick Start...4 Examples of the Web Service API Implementation... 13 Exporting Warehouse Data... 14 Exporting
Merging Labels, Letters, and Envelopes Word 2013
Merging Labels, Letters, and Envelopes Word 2013 Merging... 1 Types of Merges... 1 The Merging Process... 2 Labels - A Page of the Same... 2 Labels - A Blank Page... 3 Creating Custom Labels... 3 Merged
Using Microsoft Visual Studio 2010. API Reference
2010 API Reference Published: 2014-02-19 SWD-20140219103929387 Contents 1... 4 Key features of the Visual Studio plug-in... 4 Get started...5 Request a vendor account... 5 Get code signing and debug token
BID2WIN Workshop. Advanced Report Writing
BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/
Introduction to Eclipse
Introduction to Eclipse Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and Running Code Debugging Code Sampling of Features Summary
Technical Paper. Provisioning Systems and Other Ways to Share the Wealth of SAS
Technical Paper Provisioning Systems and Other Ways to Share the Wealth of SAS Table of Contents Abstract... 1 Introduction... 1 System Requirements... 1 Deploying SAS Enterprise BI Server... 6 Step 1:
Visual Studio 2008 Express Editions
Visual Studio 2008 Express Editions Visual Studio 2008 Installation Instructions Burning a Visual Studio 2008 Express Editions DVD Download (http://www.microsoft.com/express/download/) the Visual Studio
Visual Basic 2010 Essentials
Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.
Microsoft Excel 2010 Tutorial
1 Microsoft Excel 2010 Tutorial Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format workbooks (a collection of spreadsheets) in order to analyze data and
InfoEd erm Project Instructions for obtaining Research Information Spreadsheets from InfoEd
InfoEd erm Project Instructions for obtaining Research Information Spreadsheets from InfoEd Introduction A selection of user generated reports have been created using Crystal Reports, a standard business
CHAPTER 10: WEB SERVICES
Chapter 10: Web Services CHAPTER 10: WEB SERVICES Objectives Introduction The objectives are: Provide an overview on how Microsoft Dynamics NAV supports Web services. Discuss historical integration options,
Excel 2007 A Beginners Guide
Excel 2007 A Beginners Guide Beginner Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on
Working with sections in Word
Working with sections in Word Have you have ever wanted to create a Microsoft Word document with some pages numbered in Roman numerals and the rest in Arabic, or include a landscape page to accommodate
Silect Software s MP Author
Silect MP Author for Microsoft System Center Operations Manager Silect Software s MP Author User Guide September 2, 2015 Disclaimer The information in this document is furnished for informational use only,
Microsoft Office. Mail Merge in Microsoft Word
Microsoft Office Mail Merge in Microsoft Word TABLE OF CONTENTS Microsoft Office... 1 Mail Merge in Microsoft Word... 1 CREATE THE SMS DATAFILE FOR EXPORT... 3 Add A Label Row To The Excel File... 3 Backup
SECTION 5: Finalizing Your Workbook
SECTION 5: Finalizing Your Workbook In this section you will learn how to: Protect a workbook Protect a sheet Protect Excel files Unlock cells Use the document inspector Use the compatibility checker Mark
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...
BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005
BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 PLEASE NOTE: The contents of this publication, and any associated documentation provided to you, must not be disclosed to any third party without
Introduction to Word 2007
Introduction to Word 2007 You will notice some obvious changes immediately after starting Word 2007. For starters, the top bar has a completely new look, consisting of new features, buttons and naming
Sales Person Commission
Sales Person Commission Table of Contents INTRODUCTION...1 Technical Support...1 Overview...2 GETTING STARTED...3 Adding New Salespersons...3 Commission Rates...7 Viewing a Salesperson's Invoices or Proposals...11
Create Database Tables 2
Create Database Tables 2 LESSON SKILL MATRIX Skill Exam Objective Objective Number Creating a Database Creating a Table Saving a Database Object Create databases using templates Create new databases Create
1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel.
Topics 1 Visual Basic Application Macro Language What You Can Do with VBA macro Types of VBA macro Recording VBA macros Example: MyName () If-Then statement Example: CheckCell () For-Next Loops Example:
Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:
Excel basics Excel is a powerful spreadsheet and data analysis application, but to use it most effectively, you first have to understand the basics. This tutorial introduces some of the tasks and features
Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials
Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials 2433: Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials (3 Days) About this Course
Velocity Web Services Client 1.0 Installation Guide and Release Notes
Velocity Web Services Client 1.0 Installation Guide and Release Notes Copyright 2014-2015, Identiv. Last updated June 24, 2015. Overview This document provides the only information about version 1.0 of
Microsoft Office Access 2007 Basics
Access(ing) A Database Project PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM EMAIL: [email protected] MONROE COUNTY LIBRARY SYSTEM 734-241-5770 1 840 SOUTH ROESSLER
Lab 1: Introduction to Xilinx ISE Tutorial
Lab 1: Introduction to Xilinx ISE Tutorial This tutorial will introduce the reader to the Xilinx ISE software. Stepby-step instructions will be given to guide the reader through generating a project, creating
Working together with Word, Excel and PowerPoint
Working together with Word, Excel and PowerPoint Have you ever wanted your Word document to include data from an Excel spreadsheet, or diagrams you ve created in PowerPoint? This note shows you how to
Business Portal for Microsoft Dynamics GP 2010. Field Service Suite
Business Portal for Microsoft Dynamics GP 2010 Field Service Suite Copyright Copyright 2010 Microsoft. All rights reserved. Limitation of liability This document is provided as-is. Information and views
Mail Merge Creating Mailing Labels 3/23/2011
Creating Mailing Labels in Microsoft Word Address data in a Microsoft Excel file can be turned into mailing labels in Microsoft Word through a mail merge process. First, obtain or create an Excel spreadsheet
Microsoft Excel 2007. Introduction to Microsoft Excel 2007
Microsoft Excel 2007 Introduction to Microsoft Excel 2007 Excel is an electronic spreadsheet to organize your data into rows and columns. One can use it to perform basic to advanced level mathematical
LAB 6: Code Generation with Visual Paradigm for UML and JDBC Integration
LAB 6: Code Generation with Visual Paradigm for UML and JDBC Integration OBJECTIVES To understand the steps involved in Generating codes from UML Diagrams in Visual Paradigm for UML. Exposure to JDBC integration
MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.
MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. Record a macro 1. On the Developer tab, in the Code group, click Record Macro. 2. In
9 CREATING REPORTS WITH REPORT WIZARD AND REPORT DESIGNER
9 CREATING REPORTS WITH REPORT WIZARD AND REPORT DESIGNER 9.1 INTRODUCTION Till now you have learned about creating Table, Query and Form using the respective Wizard and Designer mode. Every application
Company Setup 401k Tab
Reference Sheet Company Setup 401k Tab Use this page to define company level 401(k) information, including employee status codes, 401(k) sources, and 401(k) funds. The definitions you create here become
What's New in ADP Reporting?
What's New in ADP Reporting? Welcome to the latest version of ADP Reporting! This release includes the following new features and enhancements. Use the links below to learn more about each one. What's
Visual Studio.NET Database Projects
Visual Studio.NET Database Projects CHAPTER 8 IN THIS CHAPTER Creating a Database Project 294 Database References 296 Scripts 297 Queries 312 293 294 Visual Studio.NET Database Projects The database project
Hands-On Lab. Lab 01: Getting Started with SharePoint 2010. Lab version: 1.0.0 Last updated: 2/23/2011
Hands-On Lab Lab 01: Getting Started with SharePoint 2010 Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING A SITE COLLECTION IN SHAREPOINT CENTRAL ADMINISTRATION...
Getting Started with Telerik Data Access. Contents
Contents Overview... 3 Product Installation... 3 Building a Domain Model... 5 Database-First (Reverse) Mapping... 5 Creating the Project... 6 Creating Entities From the Database Schema... 7 Model-First
Microsoft Excel 2010 Part 3: Advanced Excel
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Excel 2010 Part 3: Advanced Excel Winter 2015, Version 1.0 Table of Contents Introduction...2 Sorting Data...2 Sorting
Advanced Excel 10/20/2011 1
Advanced Excel Data Validation Excel has a feature called Data Validation, which will allow you to control what kind of information is typed into cells. 1. Select the cell(s) you wish to control. 2. Click
Getting Started with the DCHR Service Desk. District Service Management Program
Getting Started with the DCHR Service Desk District Service Management Program October 30, 2008 Contacting the District Service Management Group You can access the District Service Management group s website
Microsoft Visual Studio 2010 Instructions For C Programs
Microsoft Visual Studio 2010 Instructions For C Programs Creating a NEW C Project After you open Visual Studio 2010, 1. Select File > New > Project from the main menu. This will open the New Project dialog
Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8
Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8 A Brief Tutorial (and supplement to training and online documentation) David Tremblay,Product Management Director, Aspen Technology, Inc. Vidya Mantrala,
DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan
DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan [email protected] DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic
The goal with this tutorial is to show how to implement and use the Selenium testing framework.
APPENDIX B: SELENIUM FRAMEWORK TUTORIAL This appendix is a tutorial about implementing the Selenium framework for black-box testing at user level. It also contains code examples on how to use Selenium.
EXCEL 2007. Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development
Information Technology MS Office Excel 2007 Users Guide EXCEL 2007 Using Excel for Data Query & Management IT Training & Development (818) 677-1700 [email protected] http://www.csun.edu/training TABLE
SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014. Jump to the Lab Overview
SQL Server 2014 BI Lab 04 Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014 Jump to the Lab Overview Terms of Use 2014 Microsoft Corporation. All rights reserved.
Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.
Working with Tables in Microsoft Word The purpose of this document is to lead you through the steps of creating, editing and deleting tables and parts of tables. This document follows a tutorial format
Handout: Word 2010 Tips and Shortcuts
Word 2010: Tips and Shortcuts Table of Contents EXPORT A CUSTOMIZED QUICK ACCESS TOOLBAR... 2 IMPORT A CUSTOMIZED QUICK ACCESS TOOLBAR... 2 USE THE FORMAT PAINTER... 3 REPEAT THE LAST ACTION... 3 SHOW
USER GUIDE Appointment Manager
2011 USER GUIDE Appointment Manager 0 Suppose that you need to create an appointment manager for your business. You have a receptionist in the front office and salesmen ready to service customers. Whenever
Mastering Mail Merge. 2 Parts to a Mail Merge. Mail Merge Mailings Ribbon. Mailings Create Envelopes or Labels
2 Parts to a Mail Merge 1. MS Word Document (Letter, Labels, Envelope, Name Badge, etc) 2. Data Source Excel Spreadsheet Access Database / query Other databases (SQL Server / Oracle) Type in New List Mail
In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move
WORD PROCESSING In this session, we will explain some of the basics of word processing. The following are the outlines: 1. Start Microsoft Word 11. Edit the Document cut & move 2. Describe the Word Screen
Microsoft Office Excel 2007 Key Features. Office of Enterprise Development and Support Applications Support Group
Microsoft Office Excel 2007 Key Features Office of Enterprise Development and Support Applications Support Group 2011 TABLE OF CONTENTS Office of Enterprise Development & Support Acknowledgment. 3 Introduction.
How to configure the DBxtra Report Web Service on IIS (Internet Information Server)
How to configure the DBxtra Report Web Service on IIS (Internet Information Server) Table of Contents Install the DBxtra Report Web Service automatically... 2 Access the Report Web Service... 4 Verify
Lab 02 Working with Data Quality Services in SQL Server 2014
SQL Server 2014 BI Lab 02 Working with Data Quality Services in SQL Server 2014 Jump to the Lab Overview Terms of Use 2014 Microsoft Corporation. All rights reserved. Information in this document, including
Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)
Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to
VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK 608-698-6304
VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK [email protected] [email protected] 608-698-6304 Text VBA and Macros: Microsoft Excel 2010 Bill Jelen / Tracy Syrstad ISBN 978-07897-4314-5 Class Website
ExactTarget GENESIS I N TEGRATION GUIDE
ExactTarget GENESIS I N TEGRATION GUIDE GENESIS INTEGRATION GUIDE II Table of Contents Terms and Conditions of Use... 4 Intended Audience... 4 Account Support... 4 Service and Billing Information... 4
How To Use Query Console
Query Console User Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-1, February, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Query Console User
Building and Using Web Services With JDeveloper 11g
Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the
Word 2007 WOWS of Word Office 2007 brings a whole new basket of bells and whistles for our enjoyment. The whistles turn to wows.
WOWS of Word Office brings a whole new basket of bells and whistles for our enjoyment. The whistles turn to wows. [email protected] Templates Click on the Office Button PDF and select New. You can now change
Microsoft Excel 2010 and Tools for Statistical Analysis
Appendix E: Microsoft Excel 2010 and Tools for Statistical Analysis Microsoft Excel 2010, part of the Microsoft Office 2010 system, is a spreadsheet program that can be used to organize and analyze data,
Working with Macros and VBA in Excel 2007
Working with Macros and VBA in Excel 2007 With the introduction of Excel 2007 Microsoft made a number of changes to the way macros and VBA are approached. This document outlines these special features
Composite.Community.Newsletter - User Guide
Composite.Community.Newsletter - User Guide Composite 2015-11-09 Composite A/S Nygårdsvej 16 DK-2100 Copenhagen Phone +45 3915 7600 www.composite.net Contents 1 INTRODUCTION... 4 1.1 Who Should Read This
ACCESS 2007 BASICS. Best Practices in MS Access. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 BASICS Best Practices in MS Access IT Training & Development (818) 677-1700 Email: [email protected] Website: www.csun.edu/it/training Access
Section 1: Ribbon Customization
WHAT S NEW, COMMON FEATURES IN OFFICE 2010 2 Contents Section 1: Ribbon Customization... 4 Customizable Ribbon... 4 Section 2: File is back... 5 Info Tab... 5 Recent Documents Tab... 7 New Documents Tab...
Guide to PDF Publishing
Guide to PDF Publishing Alibre Design 9.2 Copyrights Information in this document is subject to change without notice. The software described in this document is furnished under a license agreement or
Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial
Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Embedded Processor Hardware Design January 29 th 2015. VIVADO TUTORIAL 1 Table of Contents Requirements... 3 Part 1:
Microsoft Office PowerPoint 2013
Microsoft Office PowerPoint 2013 Navigating the PowerPoint 2013 Environment The Ribbon: The ribbon is where you will access a majority of the commands you will use to create and develop your presentation.
Jolly Server Getting Started Guide
JOLLY TECHNOLOGIES Jolly Server Getting Started Guide The purpose of this guide is to document the creation of a new Jolly Server in Microsoft SQL Server and how to connect to it using Jolly software products.
Appendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide
Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new
Ipswitch Client Installation Guide
IPSWITCH TECHNICAL BRIEF Ipswitch Client Installation Guide In This Document Installing on a Single Computer... 1 Installing to Multiple End User Computers... 5 Silent Install... 5 Active Directory Group
Microsoft Word 2010. Quick Reference Guide. Union Institute & University
Microsoft Word 2010 Quick Reference Guide Union Institute & University Contents Using Word Help (F1)... 4 Window Contents:... 4 File tab... 4 Quick Access Toolbar... 5 Backstage View... 5 The Ribbon...
