A Sample Application Tutorial Using Windows Embedded Silverlight Tools
|
|
|
- Jodie McLaughlin
- 10 years ago
- Views:
Transcription
1 A Sample Application Tutorial Using Windows Embedded Silverlight Tools Writer: Mark McLemore Technical Reviewers: Natalie Cervantes, Paul Monson Published: March 2011 Applies To: Windows Embedded Compact 7 Abstract Describes how to use Windows Embedded Silverlight Tools with a simple Expression Blend sample project. Create an application template from the Expression Blend project Add C++ code to the template to create a functioning application Add event handlers to the application using the Windows Embedded Silverlight Tools event handler view Update the application with changes from an updated version of the Expression Blend project
2 Contents Introduction... 4 How Windows Embedded Silverlight Tools Work... 4 Limitations... 5 Development Process... 6 Common Tasks... 6 Installation... 6 Installing Windows Embedded Silverlight Tools and Expression Blend with Windows Embedded Compact Installing Only Windows Embedded Silverlight Tools or Expression Blend Templates... 7 Creating an Application Template... 8 Import Your Expression Blend Project... 8 Include Silverlight in Your OS Design... 9 Create a Platform Builder Subproject Add the Subproject to Your OS Design Build the Application Template Run the Application Template Develop Your Application Examine the Generated Application Template Port Code-Behind Files Determine The Current Time Calculate Start Angles Find the Storyboard and Animation Objects Initialize and Start the Animation Add Functionality to the Application Template Run the Application Add Event Handlers Open the Event Handler View Create an Event Handler Add Code to the Event Handler Test the Event Handler How to Merge Updates Modify Silverlight Project Files Update Your Subproject Run the Updated Application... 27
3 Troubleshooting Import Issues Event Handler Issues Update Issues Appendix: XAML Markup for XRPack xrpack:string xrpack:classresourceid xrpack:resource References to Resources Conclusion Additional Resources... 34
4 4 Introduction Windows Embedded Silverlight Tools is a plug-in for Visual Studio 2008 SP1 that helps you convert Expression Blend Silverlight projects into native (C++) Windows Embedded Compact applications. The Silverlight for Windows Embedded Platform Builder Subproject Application Wizard walks you through the steps for creating a template Platform Builder subproject from the XAML (extensible Application Markup Language) and resource files of an Expression Blend project. Starting with this generated template, you can easily add functionality to create a native Windows Embedded Compact application that has a Silverlight user interface (UI) designed in Expression Blend. When you are ready to create event handlers for your Silverlight UI objects, the Event Handler View allows you to select objects and events (such as KeyDown and MouseLeftButtonDown) to associate with those objects, automatically generating C++ stub event handlers when you add new events. You can later modify your Silverlight project in Expression Blend and merge these changes into your Platform Builder subproject using the Windows Embedded Silverlight Tools update tool. Windows Embedded Silverlight Tools automates the process of using Expression Blend files to create Silverlight-based Windows Embedded Compact applications. This automation eliminates difficult and time-consuming tasks, diminishes the likelihood of introducing human error, and frees you to focus on the business logic of your application. The ability to merge UI updates during and after application development makes it possible for the designer and the developer to work on an application in parallel, so the application can make it to market faster. How Windows Embedded Silverlight Tools Work When a designer creates graphics, animations, and user interface elements in Expression Blend, the resulting Expression Blend project contains XAML files that describe the visual components and user interface characteristics of an application. However, these XAML files may include elements that are not supported by Silverlight for Windows Embedded. For each of these XAML files, Expression Blend generates a.net code-behind file that may contain C# application code. However, since Windows Embedded Compact applications must be written in C++ to use the Windows Embedded Compact native Silverlight runtime, you cannot use these Expression Blend-generated code-behind files as an application template. To use an Expression Blend project as the basis for a Windows Embedded Compact application, you need some way to convert Expression Blend project files to the tools and native runtime of Windows Embedded Compact. Windows Embedded Silverlight Tools bridges this gap between the Expression Blend project and the Windows Embedded Compact development environment by providing the following features: Verifies incoming XAML files for use with Silverlight for Windows Embedded, locating and reporting any unsupported elements. Automatically generates template application C++ code from XAML source files. Provides a way to easily select objects, hook up events, and add event handlers to your Expression Blend-derived application.
5 5 Automatically identifies changes in the Expression Blend project and propagates these changes to your application s project resource files. Without Windows Embedded Silverlight Tools, you would have to manually parse each incoming XAML file to identify and remove unsupported elements. For large Expression Blend projects, this porting task could be a tedious and error-prone process. Since the code-behind files generated by Expression Blend are not suitable for use with Windows Embedded Compact, you would have to manually write your own complex application code to manage the Silverlight runtime and attach event handlers to XAML objects. When the designer makes changes to the source Expression Blend project, you would have to manually find and merge these changes into your application project. Windows Embedded Silverlight Tools merges Expression Blend project updates with a mouse click Limitations Although Windows Embedded Silverlight Tools provides many capabilities for accelerating your application development, it does have several limitations. Windows Embedded Silverlight Tools does not create XAML files. Windows Embedded Silverlight Tools does not generate managed source code. Windows Embedded Silverlight Tools only generates C++ code to use with Windows Embedded Compact. Windows Embedded Silverlight Tools does not generate C++ code for the following XAML elements or their children. ControlTemplate DataTemplate FrameworkTemplate ItemsPanelTemplate MediaElement Resources RenderTransform Storyboard Style VisualState VisualStateGroups Windows Embedded Silverlight Tools does not support custom controls. You must manually register any custom controls in your application. For more information about custom controls, see the section Create a Custom User Control in Silverlight for Windows Embedded in the article Silverlight For Windows Embedded Developer s Guide ( Windows Embedded Silverlight Tools does not handle manual modifications that you make to your Silverlight project outside of Expression Blend.
6 6 Windows Embedded Silverlight Tools is not a replacement for Expression Blend, Visual Studio, or Platform Builder; it complements these tools by providing an efficient way to use Expression Blend project files as the basis for Windows Embedded Compact applications. For this reason, Windows Embedded Silverlight Tools does not offer overlapping functionality that is already available in these other tools. Development Process Typically, a designer creates a Silverlight-based user interface project in Expression Blend and passes this UI project to a developer. The developer, in turn, creates a Windows Embedded Compact application from this Expression Blend project. The developer writes and tests the code that implements the functionality of the application with UI resources from the Expression Blend project. To enable the designer and the developer to work on the application in parallel, they create a Designer/Developer contract that defines the interface between the UI and the business logic of the application. If the designer and the developer properly follow this contract, they can assemble the XAML from the Expression Blend project and the C++ files from the developer at any time to view the current state of the application. Windows Embedded Silverlight Tools works on the assumption that you and your designer are developing your application according to a Designer/Developer contract, and that there is a clearlydefined interface between the UI and the application implementation. For more on this development process and the Designer/Developer contract, see the article Introduction to Application Development with Silverlight for Windows Embedded ( Common Tasks Windows Embedded Silverlight Tools provides support for three common Silverlight for Windows Embedded development tasks. Generating an application template from an Expression Blend project. Adding event handlers. Updating your application with changes made to the Expression Blend project. Each of these tasks is described in this article, with simple tutorial examples that demonstrate how Windows Embedded Silverlight Tools can help you quickly create Silverlight-based applications for Windows Embedded Compact. Installation You can automatically install Windows Embedded Silverlight Tools and application templates for Expression Blend as part of the standard installation for Windows Embedded Compact 7, or you can install Windows Embedded Silverlight Tools and the Expression Blend templates as stand-alone components.
7 7 Installing Windows Embedded Silverlight Tools and Expression Blend with Windows Embedded Compact 7 When you install Windows Embedded Compact 7 and choose Full Install (installs all options available) in the Installation Options dialog box, Windows Embedded Silverlight Tools and the Expression Blend application templates are automatically installed. If you choose Custom install (select options to install) in the Installation Options dialog box, select the following options in the Customize Installation dialog box to install Windows Embedded Silverlight Tools. Platform Builder Windows Embedded Silverlight Tools You can verify that Windows Embedded Silverlight Tools was installed successfully if the Windows Embedded Silverlight Tools option is present in the Tools menu in Visual Studio. Installing Only Windows Embedded Silverlight Tools or Expression Blend Templates You can also install Windows Embedded Silverlight Tools and the Expression Blend application templates without installing Windows Embedded Compact 7. During the installation process, you can install only Windows Embedded Silverlight Tools, only the Expression Blend templates, or both Windows Embedded Silverlight Tools and the Expression Blend templates. Before installation, ensure that you have already installed the prerequisites. 1. Windows Embedded Silverlight Tools requires Visual Studio 2008 SP1. 2. If you are installing the Expression Blend templates, Expression Blend 3 must be installed. You can install it from the Expression Blend 3 download website ( Note This is a requirement because the Windows Embedded Silverlight Tools installer also installs the Expression Blend templates and can install the templates without installing the tools. The installer verifies that Expression Blend 3 is installed before it installs the Expression Blend templates. If you install Windows Embedded Silverlight Tools on a computer that does not have Expression Blend installed, you must uninstall Windows Embedded Silverlight Tools and install Expression Blend before you can successfully install Windows Embedded Silverlight Tools and the Expression Blend templates together 3. To install Windows Embedded Silverlight Tools or Expression Blend templates, go to the Windows Embedded website ( and click Downloads. To install Windows Embedded Silverlight Tools and Expression Blend together Choose Full Install. To install only Windows Embedded Silverlight Tools or only Expression Blend templates 1. Choose Custom Install.
8 8 2. To install Windows Embedded Silverlight Tools, choose Windows Embedded Silverlight Tools, or, to install the Expression Blend templates, choose Silverlight for Windows Embedded Application Template for Expression Blend 3.0 The Expression Blend templates are installed at %ProgramFiles%\Microsoft Expression\Blend 3\ProjectTemplates\en\Windows Embedded Silverlight Tools\Application. If you plan to use a non- English version of Expression Blend 3, you must manually copy the template files from %ProgramFiles%\Microsoft Expression\Blend 3\ProjectTemplates\en\Windows Embedded Silverlight Tools\Application to a directory you create in your local user directory: %Users%\username\Documents\Expression\Blend 3\ProjectTemplates\Windows Embedded Silverlight Tools\Applications. After you manually copy the files to the new directory path, Expression Blend can display the templates in its New Project dialog box. Creating an Application Template Windows Embedded Compact 7 offers two ways to create a Silverlight for Windows Embedded application template. Create the project using a Silverlight for Windows Embedded SDK. This method works if you do not have Platform Builder installed. Import an Expression Blend project into Platform Builder. Import Your Expression Blend Project To create an initial Silverlight for Windows Embedded application template from an Expression Blend project, use the Windows Embedded Silverlight Tools Platform Builder Subproject Application Wizard. The Subproject Application Wizard generates a Platform Builder subproject from the resources and XAML files of the source Expression Blend project. After you incorporate this Platform Builder subproject into your OS design, you can develop, test, and deploy this application as you would any other Windows Embedded Compact application. When you import your Expression Blend project into a Platform Builder subproject, follow these guidelines. Avoid making manual changes to the Expression Blend XAML files; always edit XAML files from within Expression Blend. If your Expression Blend project contains user controls, ensure that each user control has a unique name, even across namespaces. Verify that your Expression Blend project includes a default App.xaml file for the application class and MainPage.xaml (or Page.xaml) for the startup; do not rename these files. Name all XAML elements that you will attach to event handlers. If you want Windows Embedded Silverlight Tools to generate empty stub code for your event handlers, you must explicitly name these XAML elements from within Expression Blend.
9 9 If you want to add XRPack identifiers to user controls in your Expression Blend project, add these identifiers before you import the project. For more on application packaging with XRPack, see Using the XAML Resource Packager ( in Windows Embedded Compact 7 documentation. For special XAML programming considerations related to XRPack, see Appendix: XAML Markup for XRPack. Finalize the Expression Blend project name and location, XAML file names, the.csproj file name, and all namespace names before you launch the Subproject Application Wizard. Changing the names or locations of any of these files and folders can break build dependencies between your subproject and the Expression Blend project. A Silverlight Clock sample project is included in the Windows Embedded Silverlight Tools installation. This sample project provides the basis for the tutorials in this article. To prepare the Silverlight Clock sample project 1. Browse to the WindowsEmbeddedSilverlightClock sample folder located at %ProgramFiles%\Windows Embedded Silverlight Tools. 2. Create a C:\ExpressionBlend working folder and copy the WindowsEmbeddedSilverlightClock sample project to this folder. You will use the accompanying WindowsEmbeddedSilverlightClockUpdate folder later in this article to apply updates. When you merge these updates into your sample project, you will overwrite some files. You create a working copy of the sample folder in C:\ExpressionBlend to avoid overwriting the original sample project. In the following steps you create and run a Silverlight-based Windows Embedded application, MyClock.exe, which is based on the Silverlight Clock sample project. Include Silverlight in Your OS Design Before you can run Silverlight-based applications in Windows Embedded Compact, you must include the native Silverlight runtime in your device image. To include Silverlight in your OS design 1. Launch Visual Studio. 2. In Platform Builder, open the OS design for your target device. If you do not have a device, you can use a virtual CEPC as your development target. For more about Virtual CEPC, see the article Getting Started with Virtual CEPC ( also available at %ProgramFiles%\Windows Embedded Compact 7\Documentation. If you use a virtual CEPC for your development target, configure your OS design using the Enterprise Device Handheld template as explained in Getting Started with Virtual CEPC ( 3. In Platform Builder, open the Catalog Items View for your OS design. If the Catalog Items View is not visible, follow these steps to make it visible: a. In Visual Studio, click the View menu.
10 10 b. Select Other Windows and then select Catalog Items View. The Catalog Items View pane appears in Visual Studio. 4. Expand Core OS, Windows Embedded Compact, Shell and User Interface, and then Silverlight for Windows Embedded. 5. Under Silverlight for Windows Embedded, select the check box for Silverlight for Windows Embedded. This enables the Sysgen variable SYSGEN_XAML_RUNTIME in your OS design. 6. Expand Core OS, Core OS Services, and then Kernel Functionality. 7. Under Kernel Functionality, verify that the check box for Target Control Support (Shell.exe) is selected. This enables you to use the Target Control functionality in Platform Builder to communicate with an attached device, such as a virtual CEPC. 8. Build your OS design. Create a Platform Builder Subproject To create an initial Windows Embedded Compact application template from the Expression Blend sample project, you use the Windows Embedded Silverlight Tools to Platform Builder Subproject Application Wizard. Perform the following steps to create a Platform Builder subproject for the MyClock application. To create the initial MyClock subproject from the Silverlight Clock sample 1. Create an empty folder called MyClock to hold your Platform Builder subproject. For example, if the name of your OS design is VCEPC, create a MyClock folder in this location: C:\WINCE700\OSDesigns\VCEPC\MyClock 2. With your OS Design project open, on the Tools menu, click Windows Embedded Silverlight Tools and then click Create Platform Builder Subproject. 3. When the Create Platform Builder Subproject dialog box appears and displays the Overview, click Next. 4. In the Project Name dialog box, type MyClock for the name. 5. Browse to the location of your empty Platform Builder subproject MyClock folder. For example: C:\WINCE700\OSDesigns\VCEPC\MyClock Click Next. 6. In the Project Selection dialog box, click Browse and then navigate to the.csproj file of the Silverlight Clock sample that you copied to C:\ExpressionBlend earlier. This file is at the following location: C:\ExpressionBlend\WindowsEmbeddedSilverlightClock\WindowsEmbeddedSilverlightClock.csproj 7. Select the.csproj file and then click Open.
11 11 8. Under Project Contents, in the Project Selection dialog box, verify that the Project Selection dialog box displays MainPage.xaml and then click Next. 9. Verify that the Validation dialog box shows No Errors Reported to indicate that Windows Embedded Silverlight Tools imported the Expression Blend project successfully. If you see the error message The project file you selected is either invalid or corrupt, then Windows Embedded Silverlight Tools was unable to create a Platform Builder subproject from the Expression Blend project. For more information about resolving validation errors, see the Troubleshooting section. 10. Click Finish to view the Summary Report Change Log. Important After you have created a Platform Builder subproject, do not move or rename the associated Expression Blend project folder, XAML files, or.csproj file. Your Platform Builder subproject depends upon the.csproj and XAML files of the associated Expression Blend project. Add the Subproject to Your OS Design To build and test the application template produced by the Subproject Application Wizard, you must add the generated Platform Builder subproject to your OS design. To add the MyClock subproject to your OS design 1. Open your OS design project in Platform Builder. 2. On the Project menu, click Add Existing Subproject. 3. In the new Windows Explorer window, browse to the location of your MyClock project. For example: C:\WINCE700\OSDesigns\VCEPC\MyClock\MyClock 4. Select the.pbpxml file associated with the MyClock subproject, MyClock.pbpxml. Click Open. Build the Application Template Once you have incorporated this subproject into your OS design, you can compile and link the generated application template to run on your target device. To build MyClock.exe 1. Select your OS design in Platform Builder. In the Solution Explorer pane, expand Subprojects to view all subprojects. 2. Locate and right-click the MyClock subproject that you created earlier, then click Build. 3. Verify that the output window displays the following message:
12 12 Run the Application Template When the subproject builds successfully, you can run the resulting application, MyClock.exe, on your target device by performing the following steps. To run MyClock.exe on your target device 1. Connect and boot up your device in Platform Builder. If you are using virtual CEPC, be sure that your virtual CEPC is running and connected to Platform Builder as described in the Download and Boot Your OS Image section of Getting Started with Virtual CEPC ( 2. On the Target menu, click Run Programs. 3. In the Run Program dialog box, under Available Programs, select MyClock.exe and click Run. 4. Verify that your target device displays the face of the Silverlight Clock with stationary hour, minute, and second hands pointing downward at six o clock as shown in the following figure. Running the Application Template The hands of MyClock do not yet move; you will add functionality later in this article so that MyClock can display the current time. The Subproject Application Wizard creates enough C++ code in the application template to do the following:
13 13 Initialize the Windows Embedded Compact Silverlight runtime. Instantiate XAML-declared objects in the Silverlight runtime. Although the C# code-behind files of the source Expression Blend project contain functionality to animate the hands of the clock, Windows Embedded Silverlight Tools does not port this code for you. In the next section, you will add C++ code to animate the hands of MyClock.exe so that it can keep time. Develop Your Application After you have imported the Expression Blend project into a Platform Builder subproject and verified that the resulting application template builds and executes on your target device, you can add C++ code to make the application work. Examine the Generated Application Template When the Platform Builder Subproject Application Wizard creates the initial MyClock application template, it generates a source tree that contains files associated with the application. You can examine this source tree at the following location: C:\WINCE700\OSDesigns\VCEPC\MyClock\MyClock The following table summarizes the important source files that make up the MyClock application. Name WinMain.cpp App.cpp and App.h MainPage.cpp and MainPage.h MyClock.rc Description This file contains the main entry point of the application and normally requires no changes. These files contain the derived application class. These files implement the minimum code required to use the <UserControl> defined in MainPage.xaml. These files may also contain member variables that are mapped to named objects and stubs for event handlers. You must complete these event handler implementations to get a working application. This is a listing of all of the Windows resources that the program uses when compiling for a platform that uses the standard Windows Embedded Compact shell. It includes the XAML files, images, and other assets that are stored
14 14 Name resource.h Description in the resources subdirectory. MyClock.rc can be edited directly in Visual Studio. This is the standard header file, which defines new resource IDs. Visual Studio reads and updates this file automatically. Port Code-Behind Files This section describes how to modify App.h to add application functionality to the Silverlight Clock. Typically, the source Expression Blend project will have existing.net code-behind files that the designer uses for demonstrating and testing the user-interface design. You can save development time by porting this existing functionality to your Windows Embedded Compact application. The Silverlight Clock sample contains several C# code-behind files that animate the hands of the clock face. To add functionality to MyClock, you can port functionality from the Expression Blend project C# code-behind file associated with MainPage.xaml (MainPage.xaml.cs) to C++ code that works with the native Silverlight runtime of Windows Embedded Compact. The Silverlight Clock sample uses the storyboard and animation features of Silverlight to move the hands around the clock face. In MainPage.xaml (in the folder WindowsEmbeddedSilverlightClock), a Storyboard object is declared with three child DoubleAnimation objects, one for each hand of the clock: <Storyboard x:name="clockstoryboard"> <!-- This animation targets the hour hand transform. --> <DoubleAnimation x:name="houranimation" Storyboard.TargetName="HourHandTransform" Storyboard.TargetProperty="Angle" Duration="12:0:0" RepeatBehavior="Forever" /> <!-- This animation targets the minute hand transform. --> <DoubleAnimation x:name="minuteanimation" Storyboard.TargetName="MinuteHandTransform" Storyboard.TargetProperty="Angle" Duration="1:0:0" RepeatBehavior="Forever" /> <!-- This animation targets the second hand transform. --> <DoubleAnimation x:name="secondanimation" Storyboard.TargetName="SecondHandTransform"
15 15 </Storyboard> Storyboard.TargetProperty="Angle" Duration="0:1:0" RepeatBehavior="Forever" /> As shown in the XAML excerpt above, each animation declares a duration time for the animation of the associated clock hand. The hour hand animation has a Duration of 12 hours, the minute hand animation has a Duration of one hour, and the second hand has a Duration of one minute. The RepeatBehavior of each animation is set to Forever, which means that each animation will start over at the end of its cycle and repeat indefinitely, moving the hands continuously around the clock face with durations that correspond to the hours, minutes, and seconds as appropriate for each hand. Silverlight does the work of animating the hand objects declared in this XAML file. Therefore, the core logic of your Windows Embedded Compact application only has to perform the following tasks: 1. Determine the current time. 2. Calculate start angles for each clock hand. 3. Find the clock face objects in the Silverlight visual tree. 4. Initialize the clock face objects and start the animation. The following subsections describe how to port this functionality to Windows Embedded Compact. We begin by showing you snippets of the original Silverlight Clock sample source in C#, explain what each code snippet does, and then show you the equivalent C++ version of that code for use in Windows Embedded Compact. The final code example lists the complete C++ code sample so that you can cut and paste it into a MyClock source file to try it out. Important For readability, the following code examples do not contain security checking or error handling. Do not use the following code examples in a production environment. Determine The Current Time In the code-behind file of the Silverlight Clock sample, DateTime.Now provides the current time: // Get the current date and time. System.DateTime date = DateTime.Now; In Windows Embedded Compact, you can get the current time by calling the GetLocalTime function: // Get the current time. SYSTEMTIME st; GetLocalTime(&st);
16 16 After you call GetLocalTime, you read the current time in hours, minutes, and seconds from the SYSTEMTIME structure. Next, you will use these values to calculate the start angles of the clock hands. Calculate Start Angles The code-behind file of the sample Silverlight Clock has C# source code that calculates the starting angle, in degrees, of each hand corresponding to the current time. Since the XAML declares the initial position of each hand in a pointing-downward position (at six o clock) when the application starts, the sample code adds 180 degrees to each hand so that the time/angle calculation is made relative to the twelve o clock position on the clock face. // Calculate the initial angle (in degrees) for the hour // hand based on the current time: double hourangle = (((float)date.hour) / 12) * hourangle += 180; date.minute / 2; // Similarly, calculate the initial angle of the minute hand: double minuteangle = (((float)date.minute) / 60) * 360; minuteangle += 180; // Similarly, calculate the initial angle of the second hand: double secondangle = (((float)date.second) / 60) * 360; secondangle += 180; This code can be readily ported to C++ for use in the MyClock Windows Embedded Compact application. The SYSTEMTIME structure provides the current hours, minutes, and seconds to use in the same calculations as shown previously: // Initialize hand angles to their current position at 6 o'clock: float hourangle = 180.0, minuteangle = 180.0, secondangle = 180.0; // Calculate the initial angle (in degrees) for each // hand based on the current time. hourangle += (((float)st.whour) / 12) * (float)st.wminute / 2; minuteangle += (((float)st.wminute) / 60) * 360; secondangle += (((float)st.wsecond) / 60) * 360;
17 17 Once these initial angle values are calculated, you use them to position the hands of the clock to the current time before starting the animation of the clock face. Find the Storyboard and Animation Objects When the Platform Builder Subproject Application Wizard creates the initial application template, it does not generate named variables for all of the objects declared in the XAML. Instead, you must manually declare IXRStoryboardPtr and IXRDoubleAnimationPtr smart pointers and use the FindName method of the root element to locate the objects declared in the XAML file. In the case of the MyClock example, you use FindName to locate the ClockStoryboard object and the three animation objects corresponding to each of the clock hands. For each object, you pass the x:name property declared in the XAML for that object to the first argument of FindName: IXRFrameworkElementPtr proot; IXRStoryboardPtr pstoryboard; IXRDoubleAnimationPtr psecondanimation; IXRDoubleAnimationPtr pminuteanimation; IXRDoubleAnimationPtr phouranimation; // Get the root element of the visual host: m_pvisualhost->getrootelement(&proot); // Find the storyboard and animation objects: proot->findname(l"clockstoryboard",&pstoryboard); proot->findname(l"secondanimation", &psecondanimation); proot->findname(l"minuteanimation", &pminuteanimation); proot->findname(l"houranimation", &phouranimation); Note that the Silverlight Clock sample code-behind does not use a FindName method to locate the Storyboard and animation objects. In the C# source code of the Silverlight Clock sample, Expression Blend creates a named variable for each object declared in the XAML, so the Silverlight Clock sample code simply references each of these objects by name without having to perform a lookup of each object. The application template produced by Windows Embedded Silverlight Tools does, however, requires that you locate each object in the Silverlight visual tree and assign it to a smart pointer before use. Initialize and Start the Animation Each clock hand animation is associated with a RotateTransform in MainPage.xaml. For example, here is the XAML declaration for the RotateTransform of the clock s second hand:
18 18 <Rectangle.RenderTransform> <RotateTransform x:name="secondhandtransform" /> </Rectangle.RenderTransform> The XAML declaration for the animation object of the second hand sets the Storyboard.TargetName to the SecondHandTransform declared above: <!-- This animation targets the second hand transform. --> <DoubleAnimation x:name="secondanimation" Storyboard.TargetName="SecondHandTransform" Storyboard.TargetProperty="Angle" Duration="0:1:0" RepeatBehavior="Forever" /> Each clock hand animation declares its TargetProperty to be the Angle property of the associated RotateTransform. Therefore, changing the From and To properties of a clock hand animation will set the Angle property of its associated RotateTransform. To prepare the clock for animation, initialize the From property to the initial angle of the animation for that clock hand, and set the To property of that hand to one complete sweep around the clock face from the starting point (that is, add 360 degrees). The C# code in the Silverlight Clock sample sets each of these properties directly and starts the animation by calling the Begin method on the parent object, ClockStoryboard: // Set the beginning and end of the hour hand animation. HourAnimation.From = hourangle; HourAnimation.To = hourangle + 360; // Set the beginning and end of the minute hand animation. MinuteAnimation.From = minuteangle; MinuteAnimation.To = minuteangle + 360; // Set the beginning and end of the second hand animation. SecondAnimation.From = secondangle; SecondAnimation.To = secondangle + 360; // Start the storyboard. ClockStoryboard.Begin(); Notice that the C# sample code sets the From and To properties of each DoubleAnimation instance directly. In the C++ environment of Windows Embedded Compact, you use the SetFrom and SetTo methods to initialize instances of the DoubleAnimation class: // Set the beginning and end of the hour hand animation.
19 19 phouranimation->setfrom(hourangle); phouranimation->setto(hourangle + 360); // Set the beginning and end of the minute hand animation. pminuteanimation->setfrom(minuteangle); pminuteanimation->setto(minuteangle + 360); // Set the beginning and end of the second hand animation. psecondanimation->setfrom(secondangle); psecondanimation->setto(secondangle + 360); // Start the animation: pstoryboard->begin(); Once the animations are initialized with these beginning and end values, the call to the Begin method of the Storyboard starts the animation of all three clock hands. In the next section, you will add this ported code to the application template created by the Windows Embedded Silverlight Tools using Platform Builder Subproject Application Wizard. Add Functionality to the Application Template When the application template starts (see WinMain.cpp), it instantiates the App class, calls its Initialize method, then calls its Run method to execute the functionality of the application: INT WINAPI WinMain(...) { } App AppInstance; HRESULT hr = AppInstance.Initialize(hInstance); if(succeeded(hr)) { } hr = AppInstance.Run(); return AppInstance.GetWinMainResultCode(); The App::Initialize method prepares the application to run your code by completing the following preliminary tasks: 1. Initializing the XAML runtime.
20 20 2. Retrieving the XAML runtime application instance. 3. Initializing the application s resource dictionary. 4. Creating the visual host object. When App::Initialize completes successfully, the XAML runtime is ready and the application message loop for receiving events has started. You can add additional startup code by modifying the methods called by App::Initialize or by inserting calls to your own methods (see App.h). After App::Initialize completes successfully, the application passes control to the App::Run method (see App.h). You use the App::Run method to launch the core functionality of your application. For the Silverlight Clock example, you will add code directly to App::Run to animate the second, minute, and hour hands of MyClock.exe. The code below shows what App::Run looks like after you add the code that you ported in the previous section: inline HRESULT App::Run() { HRESULT hr = E_FAIL; UINT uiexitcode = 0; IXRFrameworkElementPtr proot; IXRStoryboardPtr pstoryboard; IXRDoubleAnimationPtr psecondanimation; IXRDoubleAnimationPtr pminuteanimation; IXRDoubleAnimationPtr phouranimation; if(m_pvisualhost!= NULL) { // Get the root element of the visual host: m_pvisualhost->getrootelement(&proot); // Find the storyboard and animation objects: proot->findname(l"clockstoryboard",&pstoryboard); proot->findname(l"secondanimation", &psecondanimation); proot->findname(l"minuteanimation", &pminuteanimation); proot->findname(l"houranimation", &phouranimation);
21 21 // Get the current time: SYSTEMTIME st; GetLocalTime(&st); // Initialize hand angles to 6 o'clock: float hourangle = 180.0, minuteangle = 180.0; float secondangle = 180.0; // Calculate the initial angle (in degrees) for each // hand based on the current time. hourangle += (((float)st.whour) / 12) * (float)st.wminute / 2; minuteangle += (((float)st.wminute) / 60) * 360; secondangle += (((float)st.wsecond) / 60) * 360; // Set the beginning and end of the hour hand animation. phouranimation->setfrom(hourangle); phouranimation->setto(hourangle + 360); // Set the beginning and end of the minute hand animation. pminuteanimation->setfrom(minuteangle); pminuteanimation->setto(minuteangle + 360); // Set the beginning and end of the second hand animation. psecondanimation->setfrom(secondangle); psecondanimation->setto(secondangle + 360); // Start the animation: pstoryboard->begin(); // save the exit code for WinMain hr = m_pvisualhost->startdialog(&uiexitcode); SetWinMainResultCode(uiExitCode);
22 22 }... } // Run Error-handling code paths have been omitted in these examples for clarity. In production code, you should check the return code from FindName so that your application can recover gracefully in the event that FindName returns an error. Run the Application After you make the above changes to the App::Run method in App.h, you can build and run MyClock.exe again. 1. If the previous instance of MyClock is still running, right-click the MyClock taskbar button on your Windows Embedded Compact device, and then click Close. 2. In Visual Studio, locate and right-click the MyClock subproject that you created earlier, and then click Build. 3. On the Target menu, click Run Programs. 4. In the Run Program dialog box, under Available Programs, select MyClock.exe and click Run. On the display of your device, you should see the second hand moving while the hour and minute hands report the current time.
23 23 Running the Application The hands of the MyClock application should continue to report the current time (see above figure for an example), with the second hand moving around the clock face once per minute, updating the animation at the default Silverlight frame rate. Add Event Handlers Although the MyClock example shown previously does not require user interaction to operate, most Silverlight applications have a user interface that invites interaction with the application by generating events from the keyboard, mouse, or other input devices. Your application responds to these events through event handlers that you write and attach to user-interface objects. The Windows Embedded Event Tool Window allows you to easily add event handlers for each object in your Silverlight user interface. This section explains how to use the Event Handler View to add new events to your application. You will continue to extend the functionality of MyClock by adding an event handler to respond to a mouse click on the clock s bezel.
24 24 Open the Event Handler View The Event Handler View presents a list of objects for the current XAML file that you are working with. The top object in the list is selected by default. Below the list of objects, the Event Handler View displays a list of applicable events and any associated handlers for the selected object. When you select a different object in the object list, the event list refreshes to display all possible events that can be associated with that object. You can select only one object at a time. To open the MyClock Event Handler View 1. In the Solution Explorer pane, locate the MyClock subproject and open Resource files. 2. Open the file MainPage.xaml. 3. On the Tools menu, click Windows Embedded Silverlight Tools and click Windows Embedded Events. The Windows Embedded Events pane, located in the top right region of the Visual Studio development environment, consists of a list of objects in the top portion of the display and a list of event handlers in the bottom portion of the display. When you click on an object name in the upper portion of the display, the event list changes to indicate which events (such as GetFocus, KeyDown, MouseEnter) can be attached to that object. The Name of each event appears in the left-hand column of this display, while the Handler for that event is listed in the right-hand column. Click each object to see which events you can attach to that object and notice if there are any event handlers that are defined for that object. For example, when you click OuterCircle[Ellipse], you can see that no handlers have been defined for that object because the entire Handler column is blank. In the next section, you will create a new event handler for the OuterCircle object. Create an Event Handler You can associate a new event handler with an event on a particular object by simply typing the name of the event handler in the text box field to the right of the event. When you add a new event handler name, the Event Handler View automatically stubs out the event handler code for you. To add an event to the OuterCircle object in the MyClock example 1. In the Windows Embedded Events pane, click the OuterCircle [Ellipse] object. 2. In the Name column of the event list, find the MouseLeftButtonDown event and type the handler name ChangeBezel in the text field to the right and press ENTER. Windows Embedded Silverlight Tools automatically generates the stub method MainPage::ChangeBezel and opens the source file MainPage.cpp at the location of this new method: HRESULT MainPage::ChangeBezel (IXRDependencyObject *psender, { HRESULT hr = E_NOTIMPL; if((null == psender) (NULL == pargs)) XRMouseButtonEventArgs *pargs)
25 25 { hr = E_INVALIDARG; } } return hr; In MainPage.h, Windows Embedded Silverlight Tools automatically adds this new method to the list of public methods for the class MainPage: HRESULT ChangeBezel (IXRDependencyObject *psender, XRMouseButtonEventArgs *pargs); Because Windows Embedded Silverlight Tools creates the event handler for you and automatically integrates this event handler into your application, you only have to add application-specific code to the event handler for responding to the event. You spend far less time managing the framework so that you can focus on what your application does with these events. In the next section, you will add one line of code to the MainPage::ChangeBezel event handler to modify the appearance of MyClock when a user clicks the outer bezel of the clock face. Add Code to the Event Handler When a user clicks the outer bezel of MyClock, MainPage::ChangeBezel will run. For this example, you will add one line of code to change the thickness of the outer border of the clock face whenever you receive this event: m_poutercircle->setstrokethickness(20.0); This call to the SetStrokeThickness method will increase the width of the outer circle border to 20 pixels. Here is what the modified event handler looks like (see MainPage.cpp): HRESULT MainPage::ChangeBezel (IXRDependencyObject *psender, { } XRMouseButtonEventArgs *pargs) return m_poutercircle->setstrokethickness(20.0); Since this simplified event handler ignores psender or pargs, you can remove the generated code that checks for a NULL psender or a NULL pargs. Test the Event Handler After you make the above changes to the MainPage::ChangeBezel event handler method, save all of your changes then build and run MyClock.exe again. When you click the bezel of the clock, you should see the outer border increase in thickness, resulting in the display shown in the following figure.
26 26 Testing the Event Handler You can modify this event handler to make more sophisticated changes to the clock bezel. For example, you could easily modify this method to toggle border thickness between two different settings on each new mouse click, or create a new IXRLinearGradientBrush to change the bezel to a different color or different subtle shadow effect on each new mouse click. How to Merge Updates When a designer makes changes to the source Expression Blend project, you use the Windows Embedded Silverlight Tools update tool to identify and merge these changes into your Platform Builder subproject. If the designer adds new user interface functionality, you should find new code stubs in your subproject when the update process completes. This section continues with the MyClock example to show you how to merge Silverlight Clock user interface changes into your MyClock application. After completing the update process, you should see an improved clock face that uses the application functionality you added in the previous sections.
27 27 Modify Silverlight Project Files To simulate the changes that a designer would make to your source Expression Blend project, you will overwrite several files in your Expression Blend project with newer files from the WindowsEmbeddedSilverlightClockUpdate folder. To modify your Silverlight Clock sample project 1. Locate the WindowsEmbeddedSilverlightClockUpdate folder at the following location: %ProgramFiles%\Windows Embedded Silverlight Tools\WindowsEmbeddedSilverlightClockUpdate 2. Select and copy all of the files in this folder to your source Expression Blend project located at C:\ExpressionBlend\WindowsEmbeddedsilverlightembClock, overwriting MainPage.xaml, Readme.txt, and WindowsEmbeddedSilverlightClock.csproj. This designer modification adds a new resource image (Windows.png), and adds new elements to MainPage.xaml for an improved clock face. Update Your Subproject To update your subproject, you select the subproject to receive the updates and launch the Windows Embedded Silverlight Tools update tool. The Windows Embedded Silverlight Tools update tool automatically updates your source files to reflect changes made to the source Expression Blend project. Although Windows Embedded Silverlight Tools may add new code stubs to your source files, Windows Embedded Silverlight Tools will never delete or remove your code during update. Follow these steps to update your MyClock. To update the MyClock project 1. Open your OS design project in Platform Builder. 2. In the MyClock subproject, open the file MainPage.xaml. Visual Studio may open a dialog box with the message This file has been modified outside of the source editor. Do you want to reload it? If so, click Yes to All. 3. On the Tools menu item, click Windows Embedded Silverlight Tools and click Update Silverlight for Windows Embedded Subproject. 4. Wait for the Update Windows Embedded Silverlight Tools Project progress window to complete. 5. Verify that the Summary Report displays the message No Errors Reported to indicate that the update completed successfully. If the update does not succeed, see the Troubleshooting section for more information. Run the Updated Application After you complete the updates to MyClock, build and run MyClock.exe again. You should see a different clock face as shown in the following figure.
28 28 Updated Clock Face The hands will continue to move and keep time as before, without requiring you to make any code changes to accommodate the user-interface updates. When you click the clock s bezel, the MainPage::ChangeBezel event handler will run and increase the thickness of the border of this new clock face as it did with the previous version of the clock face.
29 29 After Mouse Click Event Although the designer made fundamental changes to the user interface design of the Silverlight Clock, your application code continues to drive the clock without your having to make any code changes for the redesigned user interface. Troubleshooting The following sections provide solutions to common problems that you may experience while importing an Expression Blend project into a Platform Builder subproject, creating event handlers, or merging changes from the Expression Blend project. Import Issues The Validation Report displays one or more validation errors If the Subproject Application Wizard is unable to import your Expression Blend project, it produces a Validation Report that details any errors that it finds during the import process. Typically, validation errors are caused by the presence of controls and other elements in the Expression Blend project that are not supported by Silverlight for Windows Embedded. For more information, see Differences Between Silverlight for Desktop Browser and Silverlight for Windows Embedded
30 30 ( and Unsupported Controls and Features in Expression Blend in Expression Blend and Silverlight for Windows Embedded ( The Subproject Application Wizard displays a file not found error message Windows Embedded Silverlight Tools does not support image or XAML files with special characters in the name. For example, a XAML file name containing an ampersand (&) will cause the import of the Expression Blend project to stop with an error message. For best results, name your image and XAML files using only letters, numerals, and underscores (_). The Subproject Application Wizard seems to be frozen Windows Embedded Silverlight Tools supports only one running instance of Visual Studio. If you have multiple instances of Visual Studio running Windows Embedded Silverlight Tools at the same time, one of these instances could freeze while it waits for input from the other instance. To remedy this situation, use only one Visual Studio instance while running Windows Embedded Silverlight Tools. Windows Embedded Silverlight Tools displays an error message about an invalid template file If your Expression Blend project has one or more linked XAML files, Windows Embedded Silverlight Tools will not be able to import these files into your subproject. To remedy this problem, add XAML files directly to your Expression Blend project rather than creating links. Adding the subproject results in an illegal characters in path error If your Expression Blend project has one or more file names that contain double-byte characters, Windows Embedded Silverlight Tools will be unable to use your project to create a valid Platform Builder subproject. To remedy this problem, convert these file names to Unicode format. Windows Embedded Silverlight Tools displays an Invalid File Name error If the directory path to the application project contains white spaces or other invalid characters, this error message will appear. To remedy this problem, remove white spaces or other invalid characters from the directory path to the application project. Event Handler Issues Newly created event handler code does not compile When you specify a new event handler name, this name must be a valid C++ identifier or the event handler will not compile. The event handler name must begin with a letter or an underscore (_) followed by any number of letters, underscores, or numerals. Update Issues Update displays the message, Please open a Silverlight for Windows Embedded project document. Before selecting the Update Silverlight for Windows Embedded Project menu item, you must first open a file in the Platform Builder subproject that you want to update (for example, MainPage.xaml). This selection ensures that the Windows Embedded Silverlight Tools update tool updates the appropriate subproject in your OS design.
31 31 Appendix: XAML Markup for XRPack In the Windows Embedded Compact 7 build system, the XAML Resource Packager (XRPack) extracts all of the necessary resources (strings, images, and XAML) for a Silverlight for Windows Embedded project and compiles them into a resource file. The build system then binds the resources in the file into the executable (.EXE) or dynamic-link library (.DLL) file. For more about application packaging with XRPack, see XAML Resource Packager ( at MSDN. The code examples below cover some programming considerations for specific XAML elements in code that XRPack compiles. xrpack:string Xrpack:String attributes are processed and translated into resource bindings, creating resource string tables that are used in the localization process. The following examples show single-string resources with generated labels. <ContentControl x:name="resourcestringbindingcontentcontrol1" xrpack:string="content:100" Content="Also 'My Nifty String' at runtime"/> <Button x:name="resourcestringbindingbutton1" xrpack:string="content:101" Content="Some other String"/> <CheckBox x:name="resourcestringbindingcheckbox1" xrpack:string="ischecked:102" IsChecked="True"/> The following example shows how to define a single string in the string table that can replace multiple strings in the XAML. <TextBlock xrpack:string="text:100" Text="100" /> <TextBlock xrpack:string="text:100" Text="101" /> <TextBlock xrpack:string="text:102" Text="102" /> XRPack generates the following string table from the XAML in the preceding example. STRINGTABLE BEGIN END 100 "100" 102 "102" The technique in the preceding example is useful when a project has multiple XAML files containing controls with the same text that need to be localized. In this case, the text can be localized once in the string table to update all instances of the text that appear on controls. The following example shows how to use multiple string resources for a control.
32 32 <TextBlock x:name="resourcestringbindingtextblock1" xrpack:string="text:100;visibility:103" Text="My Nifty String" Visibility="Collapsed"/> The following example shows how to define a resource ID label to use in code. <Button x:name="resourcestringbindingbutton1" xrpack:string="content:101(idr_mylabel)" Content="Some other String"/> xrpack:classresourceid An xrpack:classresourceid attribute is a class resource definition. You can use it with or without the x:class attribute to control resource identifier generation. If a file has no user-specified resource identifier, XRPack automatically generates one based on the x:class or xrpack:classresourceid attributes. If the class resource definition contains full markup, as in the following example, you do not need to use the x:class attribute. xrpack:classresourceid="class:101(idr_userlabel)" If MainPage.xaml contains the code in the preceding example, XRPack generates the following resource identifier and label. #define IDR_USERLABEL 101 // MainPage.xaml If the class resource definition contains partial markup, as in the following example, XRPack uses the specified identifier for the resource identifier and a generated name from the x:class attribute. xrpack:classresourceid="class:192" x:class="textblock.mainpage" If MainPage.xaml contains the code from the previous example, XRPack generates the following resource identifier and label. #define IDR_TEXTBLOCK_MAINPAGE 192 // MainPage.xaml If you do not use an xrpack:classresourceid attribute, then XRPack generates a resource identifier and creates the label based on the x:class attribute. For example, if MainPage.xaml contains the following code, x:class="assets.tulips" then, XRPack generates the following code: #define IDR_ASSETS_TULIPS <generated number> // Tulips.xaml In this case, if no x:class attribute is present to supply the label, XRPack logs error XRPack0010, XRPACK_E_INVALID_ATTRIBUTE_MARKUP. xrpack:resource Xrpack:Resource attributes map a resource ID to a specific resource as shown in the following example.
33 33 <Image xrpack:resource="source:902(idr_myimg)" Source="Images/My Image.png" /> XRPack compresses bitmaps that you embed in the resource package by default or if you set the /ImageCompress option on the command line. (The resource package is contained in the resource (.RES) file that is linked into the executable (.EXE) or dynamic-link library (.DLL) file). The compressed image improves efficiency when Silverlight for Windows Embedded is rendering a scene containing the bitmap. However, user applications cannot retrieve a compressed image from the resource package (for example, by calling LoadResource) in its original, uncompressed format. References to Resources When you use XRPack, all references to resources inside XAML tags must use their Uniform Resource Identifiers (URIs) rather than the identifiers assigned in the resource file. Expression Blend 3 uses this syntax, but legacy XAML files may contain code that does not use the URI. XRPack resolves all URIs and locates them in the file system using the relative path locations of the XAML file and the resources. If it cannot resolve a URI, XRPack generates an error. The following example shows the syntax that Silverlight for Windows Embedded supports but that XRPack cannot compile. Resources.rc: AUTO_GIF_RES1 XAML_RESOURCE DISCARDABLE "..\\data\\images\\resource1_gif.gif" MyXaml.xaml: <Image Height="100.00" Width="100.00" x:name="gif" Source="AUTO_GIF_RES1" Opacity="100" VerticalAlignment="Stretch" /> Conclusion Windows Embedded Silverlight Tools speeds Windows Embedded Compact application development time by automating the manual steps that would be required to connect C++ application functionality to Silverlight UI XAML files created in Expression Blend. Windows Embedded Silverlight Tools automatically validates Expression Blend project files for compatibility with Silverlight for Windows Embedded, generates application template code and event handler stubs for the Silverlight runtime, and merges in any changes that the designer makes to the source Expression Blend project. This article described how to import a sample Expression Blend project into a Platform Builder subproject, add Windows Embedded Compact C++ functionality to the resulting application template, create new event handlers using the Event Handler View, and update your application with Silverlight XAML and resource changes by using the update tool. You created a simple Windows Embedded Compact MyClock application from a Silverlight Clock example project, ported application code from Expression Blend C# code-behind files to the native C++ Silverlight runtime of MyClock, created new event handlers for MyClock, and updated the MyClock application with a new user interface without having to make any code changes.
34 34 Additional Resources To learn more about Silverlight for Windows Embedded, see the following links. Microsoft Silverlight ( Microsoft Silverlight for Windows Embedded ( Introduction to Application Development with Silverlight for Windows Embedded ( Handle Events in Silverlight for Windows Embedded, in the Silverlight for Windows Embedded Developer's Guide ( Silverlight for Windows Embedded Reference ( Differences Between Silverlight for the Web and Silverlight for Windows Embedded ( To learn more about the XAML Resource Packager, XRPack, see the following links. XAML Resource Packager ( XRPack Errors ( To learn more about the Virtual CEPC development platform, see the following links. Getting Started with Virtual CEPC ( Advanced Virtual CEPC ( To learn more about Windows Embedded Compact, see the following link. Windows Embedded (
35 This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes.
IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules
IBM Operational Decision Manager Version 8 Release 5 Getting Started with Business Rules Note Before using this information and the product it supports, read the information in Notices on page 43. This
Getting Started with Vision 6
Getting Started with Vision 6 Version 6.9 Notice Copyright 1981-2009 Netop Business Solutions A/S. All Rights Reserved. Portions used under license from third parties. Please send any comments to: Netop
Legal Notes. Regarding Trademarks. 2012 KYOCERA Document Solutions Inc.
Legal Notes Unauthorized reproduction of all or part of this guide is prohibited. The information in this guide is subject to change without notice. We cannot be held liable for any problems arising from
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
Authoring for System Center 2012 Operations Manager
Authoring for System Center 2012 Operations Manager Microsoft Corporation Published: November 1, 2013 Authors Byron Ricks Applies To System Center 2012 Operations Manager System Center 2012 Service Pack
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
SECURE MOBILE ACCESS MODULE USER GUIDE EFT 2013
SECURE MOBILE ACCESS MODULE USER GUIDE EFT 2013 GlobalSCAPE, Inc. (GSB) Address: 4500 Lockhill-Selma Road, Suite 150 San Antonio, TX (USA) 78249 Sales: (210) 308-8267 Sales (Toll Free): (800) 290-5054
Building A Very Simple Web Site
Sitecore CMS 6.2 Building A Very Simple Web Site Rev 100601 Sitecore CMS 6. 2 Building A Very Simple Web Site A Self-Study Guide for Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 Building
ICP Data Entry Module Training document. HHC Data Entry Module Training Document
HHC Data Entry Module Training Document Contents 1. Introduction... 4 1.1 About this Guide... 4 1.2 Scope... 4 2. Step for testing HHC Data Entry Module.. Error! Bookmark not defined. STEP 1 : ICP HHC
Desktop, Web and Mobile Testing Tutorials
Desktop, Web and Mobile Testing Tutorials * Windows and the Windows logo are trademarks of the Microsoft group of companies. 2 About the Tutorial With TestComplete, you can test applications of three major
HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION
HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION Version 1.1 / Last updated November 2012 INTRODUCTION The Cloud Link for Windows client software is packaged as an MSI (Microsoft Installer)
CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1
TECHNICAL DOCUMENTATION CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1 March 2014 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted
Application. 1.1 About This Tutorial. 1.1.1 Tutorial Requirements. 1.1.2 Provided Files
About This Tutorial 1Creating an End-to-End HL7 Over MLLP Application 1.1 About This Tutorial 1.1.1 Tutorial Requirements 1.1.2 Provided Files This tutorial takes you through the steps of creating an end-to-end
Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide
Decision Support AITS University Administration Web Intelligence Rich Client 4.1 User Guide 2 P age Web Intelligence 4.1 User Guide Web Intelligence 4.1 User Guide Contents Getting Started in Web Intelligence
Preparing to Install SQL Server 2005
Preparing to Install SQL Server 2005 Depending on your requirements, Microsoft SQL Server 2005 Setup installs a new instance of SQL Server. The following topics address important considerations for the
Building A Very Simple Website
Sitecore CMS 6.5 Building A Very Simple Web Site Rev 110715 Sitecore CMS 6.5 Building A Very Simple Website A Self-Study Guide for Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 Creating
Forms Printer User Guide
Forms Printer User Guide Version 10.51 for Dynamics GP 10 Forms Printer Build Version: 10.51.102 System Requirements Microsoft Dynamics GP 10 SP2 or greater Microsoft SQL Server 2005 or Higher Reporting
Administration Guide. Novell Storage Manager 3.1.1 for Active Directory. Novell Storage Manager 3.1.1 for Active Directory Administration Guide
Novell Storage Manager 3.1.1 for Active Directory Administration Guide www.novell.com/documentation Administration Guide Novell Storage Manager 3.1.1 for Active Directory October 17, 2013 Legal Notices
Cloud Administration Guide for Service Cloud. August 2015 E65820-01
Cloud Administration Guide for Service Cloud August 2015 E65820-01 Table of Contents Introduction 4 How does Policy Automation work with Oracle Service Cloud? 4 For Customers 4 For Employees 4 Prerequisites
Nintex Workflow 2010 Help Last updated: Friday, 26 November 2010
Nintex Workflow 2010 Help Last updated: Friday, 26 November 2010 1 Workflow Interaction with SharePoint 1.1 About LazyApproval 1.2 Approving, Rejecting and Reviewing Items 1.3 Configuring the Graph Viewer
Citrix EdgeSight for Load Testing User s Guide. Citrx EdgeSight for Load Testing 2.7
Citrix EdgeSight for Load Testing User s Guide Citrx EdgeSight for Load Testing 2.7 Copyright Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.
IHS Emergency Department Dashboard
RESOURCE AND PATIENT MANAGEMENT SYSTEM IHS Emergency Department Dashboard (BEDD) Version 1.0 Office of Information Technology Division of Information Resource Management Albuquerque, New Mexico Table of
Microsoft FrontPage 2003
Information Technology Services Kennesaw State University Microsoft FrontPage 2003 Information Technology Services Microsoft FrontPage Table of Contents Information Technology Services...1 Kennesaw State
Frequently Asked Questions
Frequently Asked Questions Share Drive Frequently Asked Questions Table of Contents How do I change my password?... How do I reset my password if I forgot it?... How do I share files/folders with Groups
How To Install Outlook Addin On A 32 Bit Computer
Deployment Guide - Outlook Add-In www.exclaimer.com Contents About This Guide... 3 System Requirements... 4 Software... 4 Installation Files... 5 Deployment Preparation... 6 Installing the Add-In Manually...
Sitecore InDesign Connector 1.1
Sitecore Adaptive Print Studio Sitecore InDesign Connector 1.1 - User Manual, October 2, 2012 Sitecore InDesign Connector 1.1 User Manual Creating InDesign Documents with Sitecore CMS User Manual Page
Source Code Translation
Source Code Translation Everyone who writes computer software eventually faces the requirement of converting a large code base from one programming language to another. That requirement is sometimes driven
Technical Reference: Deploying the SofTrack MSI Installer
Technical Reference: Page 1 of 20 Table of Contents Overview...3 Prerequisites...3 Component Descriptions...3 Deploying the MSI...3 Script Method...3 Defining Public Properties... 4 Public Property Tables...
NS DISCOVER 4.0 ADMINISTRATOR S GUIDE. July, 2015. Version 4.0
NS DISCOVER 4.0 ADMINISTRATOR S GUIDE July, 2015 Version 4.0 TABLE OF CONTENTS 1 General Information... 4 1.1 Objective... 4 1.2 New 4.0 Features Improvements... 4 1.3 Migrating from 3.x to 4.x... 5 2
DESIGN A WEB SITE USING PUBLISHER Before you begin, plan your Web site
Page 1 of 22 DESIGN A WEB SITE USING PUBLISHER Before you begin, plan your Web site Before you create your Web site, ask yourself these questions: What do I want the site to do? Whom do I want to visit
ACTIVE DIRECTORY DEPLOYMENT
ACTIVE DIRECTORY DEPLOYMENT CASAS Technical Support 800.255.1036 2009 Comprehensive Adult Student Assessment Systems. All rights reserved. Version 031809 CONTENTS 1. INTRODUCTION... 1 1.1 LAN PREREQUISITES...
Citrix Systems, Inc.
Citrix Password Manager Quick Deployment Guide Install and Use Password Manager on Presentation Server in Under Two Hours Citrix Systems, Inc. Notice The information in this publication is subject to change
Using Group Policies to Install AutoCAD. CMMU 5405 Nate Bartley 9/22/2005
Using Group Policies to Install AutoCAD CMMU 5405 Nate Bartley 9/22/2005 Before we get started This manual provides a step-by-step process for creating a Group Policy that will install AutoCAD to a Windows
Citrix EdgeSight for Load Testing User s Guide. Citrix EdgeSight for Load Testing 3.8
Citrix EdgeSight for Load Testing User s Guide Citrix EdgeSight for Load Testing 3.8 Copyright Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.
Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide
Page 1 of 243 Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide (This is an alpha version of Benjamin Day Consulting, Inc. s installation
You may have been given a download link on your trial software email. Use this link to download the software.
BackupVault / Attix5 Server Quickstart Guide This document takes about 5 minutes to read and will show you how to: Download the software Install the Attix5 Professional Backup software Backup your files
Microsoft Visual Studio Integration Guide
Microsoft Visual Studio Integration Guide MKS provides a number of integrations for Integrated Development Environments (IDEs). IDE integrations allow you to access MKS Integrity s workflow and configuration
Xcode Project Management Guide. (Legacy)
Xcode Project Management Guide (Legacy) Contents Introduction 10 Organization of This Document 10 See Also 11 Part I: Project Organization 12 Overview of an Xcode Project 13 Components of an Xcode Project
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
Entrust Certificate Services for Adobe CDS
Entrust Certificate Services Entrust Certificate Services for Adobe CDS Getting Started Guide Entrust SafeNet Authentication Client: 8.3 Date of issue: July 2015 Document issue: 3.0 Revisions Issue and
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Microsoft Access 2010 Overview of Basics
Opening Screen Access 2010 launches with a window allowing you to: create a new database from a template; create a new template from scratch; or open an existing database. Open existing Templates Create
NSi Mobile Installation Guide. Version 6.2
NSi Mobile Installation Guide Version 6.2 Revision History Version Date 1.0 October 2, 2012 2.0 September 18, 2013 2 CONTENTS TABLE OF CONTENTS PREFACE... 5 Purpose of this Document... 5 Version Compatibility...
Introduction to the use of the environment of Microsoft Visual Studio 2008
Steps to work with Visual Studio 2008 1) Start Visual Studio 2008. To do this you need to: a) Activate the Start menu by clicking the Start button at the lower-left corner of your screen. b) Set the mouse
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/
http://netbeans.org/kb/docs/java/gui-functionality.html?print=yes
Page 1 of 6 Introduction to GUI Building Contributed by Saleem Gul and Tomas Pavek, maintained by Ruth Kusterer and Irina Filippova This beginner tutorial teaches you how to create a simple graphical user
Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0
Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0 This document supports the version of each product listed and supports all subsequent versions until the document
Deploying System Center 2012 R2 Configuration Manager
Deploying System Center 2012 R2 Configuration Manager This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Microsoft Virtual Labs. Building Windows Presentation Foundation Applications - C# - Part 1
Microsoft Virtual Labs Building Windows Presentation Foundation Applications - C# - Part 1 Table of Contents Building Windows Presentation Foundation Applications - C# - Part 1... 1 Exercise 1 Creating
Installing OneStop Reporting Products
Installing OneStop Reporting Products Contents 1 Introduction 2 Product Overview 3 System Requirements 4 Deployment 5 Installation 6 Appendix 2010 OneStop Reporting http://www.onestopreporting.com [email protected]
OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher
OPERATION MANUAL MV-410RGB Layout Editor Version 2.1- higher Table of Contents 1. Setup... 1 1-1. Overview... 1 1-2. System Requirements... 1 1-3. Operation Flow... 1 1-4. Installing MV-410RGB Layout
National Fire Incident Reporting System (NFIRS 5.0) NFIRS Data Entry/Validation Tool Users Guide
National Fire Incident Reporting System (NFIRS 5.0) NFIRS Data Entry/Validation Tool Users Guide NFIRS 5.0 Software Version 5.6 1/7/2009 Department of Homeland Security Federal Emergency Management Agency
Lenovo Online Data Backup User Guide Version 1.8.14
Lenovo Online Data Backup User Guide Version 1.8.14 Contents Chapter 1: Installing Lenovo Online Data Backup...5 Downloading the Lenovo Online Data Backup Client...5 Installing the Lenovo Online Data
E-Commerce Installation and Configuration Guide
E-Commerce Installation and Configuration Guide Rev: 2012-02-17 Sitecore E-Commerce Services 1.2 E-Commerce Installation and Configuration Guide A developer's guide to installing and configuring Sitecore
Kaldeera Workflow Designer 2010 User's Guide
Kaldeera Workflow Designer 2010 User's Guide Version 1.0 Generated May 18, 2011 Index 1 Chapter 1: Using Kaldeera Workflow Designer 2010... 3 1.1 Getting Started with Kaldeera... 3 1.2 Importing and exporting
F9 Integration Manager
F9 Integration Manager User Guide for use with QuickBooks This guide outlines the integration steps and processes supported for the purposes of financial reporting with F9 Professional and F9 Integration
Aspera Connect User Guide
Aspera Connect User Guide Windows XP/2003/Vista/2008/7 Browser: Firefox 2+, IE 6+ Version 2.3.1 Chapter 1 Chapter 2 Introduction Setting Up 2.1 Installation 2.2 Configure the Network Environment 2.3 Connect
https://weboffice.edu.pe.ca/
NETSTORAGE MANUAL INTRODUCTION Virtual Office will provide you with access to NetStorage, a simple and convenient way to access your network drives through a Web browser. You can access the files on your
Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.
Quick Start Guide DocuSign Retrieve 3.2.2 Published April 2015 Overview DocuSign Retrieve is a windows-based tool that "retrieves" envelopes, documents, and data from DocuSign for use in external systems.
NETWORK PRINT MONITOR User Guide
NETWORK PRINT MONITOR User Guide Legal Notes Unauthorized reproduction of all or part of this guide is prohibited. The information in this guide is subject to change without notice. We cannot be held liable
Microsoft Corporation. Project Server 2010 Installation Guide
Microsoft Corporation Project Server 2010 Installation Guide Office Asia Team 11/4/2010 Table of Contents 1. Prepare the Server... 2 1.1 Install KB979917 on Windows Server... 2 1.2 Creating users and groups
Joomla! template Blendvision v 1.0 Customization Manual
Joomla! template Blendvision v 1.0 Customization Manual Blendvision template requires Helix II system plugin installed and enabled Download from: http://www.joomshaper.com/joomla-templates/helix-ii Don
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 Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
Microsoft Dynamics CRM Adapter for Microsoft Dynamics GP
Microsoft Dynamics Microsoft Dynamics CRM Adapter for Microsoft Dynamics GP May 2010 Find updates to this documentation at the following location. http://go.microsoft.com/fwlink/?linkid=162558&clcid=0x409
Welcome to EMP Monitor (Employee monitoring system):
Welcome to EMP Monitor (Employee monitoring system): Overview: Admin End. User End. 1.0 Admin End: Introduction to Admin panel. Admin panel log in. Introduction to UI. Adding an Employee. Getting and editing
1/4/12 Installing and Configuring WebDAV on IIS 7 : WebDAV for IIS 7.0 : Publishing Content to Web Sites : T
Home > Learn > Deploying Web Sites on IIS 7 > Publishing Content to Web Sites > WebDAV for IIS 7.0 > Installing and Configuring WebDAV on IIS 7 Installing and Configuring WebDAV on IIS 7 Author: Robert
Graphic Generation Tool Installation Instructions Code No. LIT-12011685 Software Release 1.3 Issued December 5, 2014
Code No. LIT-12011685 Software Release 1.3 Issued December 5, 2014 Refer to the QuickLIT website for the most up-to-date version of this document. Introduction...2 Related Documentation...2 Prerequisites...2
AssetWise Performance Management. APM Remote Upgrade Guide
AssetWise Performance Management APM Remote Upgrade Guide Trademark Notice Bentley, the B Bentley logo, AssetWise, Ivara, the Ivara EXP logo, Ivara Work Smart, Aladon and RCM2 are either registered or
Installing LearningBay Enterprise Part 2
Installing LearningBay Enterprise Part 2 Support Document Copyright 2012 Axiom. All Rights Reserved. Page 1 Please note that this document is one of three that details the process for installing LearningBay
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,
QIAsymphony Management Console User Manual
April 2012 QIAsymphony Management Console User Manual For use with software version 4.0 Sample & Assay Technologies Trademarks QIAGEN, QIAsymphony, Rotor-Gene (QIAGEN Group). InstallShield (Informer Technologies,
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
INSTALLATION GUIDE Datapolis Process System v 4.2.0.4294
Datapolis.com, ul Wiktorska 63, 02-587 Warsaw, Poland tel. (+48 22) 398-37-53; fax. (+ 48 22) 398-37-93, [email protected] INSTALLATION GUIDE Datapolis Process System v 4.2.0.4294 Last modification
Custom Reporting System User Guide
Citibank Custom Reporting System User Guide April 2012 Version 8.1.1 Transaction Services Citibank Custom Reporting System User Guide Table of Contents Table of Contents User Guide Overview...2 Subscribe
Results CRM 2012 User Manual
Results CRM 2012 User Manual A Guide to Using Results CRM Standard, Results CRM Plus, & Results CRM Business Suite Table of Contents Installation Instructions... 1 Single User & Evaluation Installation
ProjectWise Mobile Access Server, Product Preview v1.1
ProjectWise Mobile Access Server, Product Preview v1.1 BENTLEY SYSTEMS, INCORPORATED www.bentley.com Copyright Copyright (c) 2011, Bentley Systems, Incorporated. All Rights Reserved. Trademark Notice Bentley
Creating Online Surveys with Qualtrics Survey Tool
Creating Online Surveys with Qualtrics Survey Tool Copyright 2015, Faculty and Staff Training, West Chester University. A member of the Pennsylvania State System of Higher Education. No portion of this
October, 2015. Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip
October, 2015 Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip 2015 Xerox Corporation. All rights reserved. Xerox, Xerox and Design, ColorQube, and WorkCentre
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
Load testing with. WAPT Cloud. Quick Start Guide
Load testing with WAPT Cloud Quick Start Guide This document describes step by step how to create a simple typical test for a web application, execute it and interpret the results. 2007-2015 SoftLogica
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:
One step login. Solutions:
Many Lotus customers use Lotus messaging and/or applications on Windows and manage Microsoft server/client environment via Microsoft Active Directory. There are two important business requirements in this
Administration Guide. . All right reserved. For more information about Specops Deploy and other Specops products, visit www.specopssoft.
. All right reserved. For more information about Specops Deploy and other Specops products, visit www.specopssoft.com Copyright and Trademarks Specops Deploy is a trademark owned by Specops Software. All
Adobe Dreamweaver CC 14 Tutorial
Adobe Dreamweaver CC 14 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site
SelectSurvey.NET Developers Manual
Developers Manual (Last updated: 6/24/2012) SelectSurvey.NET Developers Manual Table of Contents: SelectSurvey.NET Developers Manual... 1 Overview... 2 General Design... 2 Debugging Source Code with Visual
AvePoint Meetings 3.2.2 for SharePoint On-Premises. Installation and Configuration Guide
AvePoint Meetings 3.2.2 for SharePoint On-Premises Installation and Configuration Guide Issued August 2015 Table of Contents About AvePoint Meetings for SharePoint... 4 System Requirements... 5 2 System
LICENSE4J FLOATING LICENSE SERVER USER GUIDE
LICENSE4J FLOATING LICENSE SERVER USER GUIDE VERSION 4.5.5 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Floating License Usage... 2 Installation... 4 Windows Installation... 4 Linux
Dreamweaver and Fireworks MX Integration Brian Hogan
Dreamweaver and Fireworks MX Integration Brian Hogan This tutorial will take you through the necessary steps to create a template-based web site using Macromedia Dreamweaver and Macromedia Fireworks. The
Legal Information Trademarks Licensing Disclaimer
Scribe Insight Tutorials www.scribesoft.com 10/1/2014 Legal Information 1996-2014 Scribe Software Corporation. All rights reserved. Complying with all applicable copyright laws is the responsibility of
Studio 5.0 User s Guide
Studio 5.0 User s Guide wls-ug-administrator-20060728-05 Revised 8/8/06 ii Copyright 2006 by Wavelink Corporation All rights reserved. Wavelink Corporation 6985 South Union Park Avenue, Suite 335 Midvale,
HarePoint Workflow Scheduler Manual
HarePoint Workflow Scheduler Manual For SharePoint Server 2010/2013, SharePoint Foundation 2010/2013, Microsoft Office SharePoint Server 2007 and Microsoft Windows SharePoint Services 3.0. Product version
Attix5 Pro Server Edition
Attix5 Pro Server Edition V7.0.3 User Manual for Linux and Unix operating systems Your guide to protecting data with Attix5 Pro Server Edition. Copyright notice and proprietary information All rights reserved.
PTC Integrity Eclipse and IBM Rational Development Platform Guide
PTC Integrity Eclipse and IBM Rational Development Platform Guide The PTC Integrity integration with Eclipse Platform and the IBM Rational Software Development Platform series allows you to access Integrity
Scribe Online Integration Services (IS) Tutorial
Scribe Online Integration Services (IS) Tutorial 7/6/2015 Important Notice No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, photocopying,
Support Document: Microsoft SQL Server - LiveVault 7.6X
Contents Preparing to create a Microsoft SQL backup policy... 2 Adjusting the SQL max worker threads option... 2 Preparing for Log truncation... 3 Best Practices... 3 Microsoft SQL Server 2005, 2008, or
Vess A2000 Series. NVR Storage Appliance. Windows Recovery Instructions. Version 1.0. 2014 PROMISE Technology, Inc. All Rights Reserved.
Vess A2000 Series NVR Storage Appliance Windows Recovery Instructions Version 1.0 2014 PROMISE Technology, Inc. All Rights Reserved. Contents Introduction 1 Different ways to backup the system disk 2 Before
