Chapter 13. Customizing Expression Web

What You’ll Do

Change General Options

Configure External Editors

Customize Reports View

Customize FTP Options

Set General Page Editor Options

Set Code Formatting Options

Change Code Snippet Options

Apply XML Formatting

Customize the Menu Bar

Add and Remove Toolbar Buttons

Customize a Toolbar

Edit Toolbar Buttons and Menu Entries

Change Menu and Toolbar Options

Create Custom Colors

Understand How Macros Automate Your Work

Automate Your Work with Macros

Modify a Macro

Load and Unload Add-ins

Introduction

Once you’ve become familiar with Microsoft Expression Web and all the features it contains, you might want to customize the way you work with Expression Web. You can change the way Expression Web starts up and whether you want to check if Expression Web is the default editor for Web pages. You can also configure Expression Web to associate editors on your computer with a specific file type you want to use, which makes it easy to open and work with the files, or specify options to determine what information appears in reports.

You can set general options to specify when files are considered “Recent” or “Older”, or the download time that qualifies a Web page for inclusion in the Slow Pages report. You can also set the connection speed, display row and column gridlines when viewing reports, and the maximum number of months shown in usage reports.

You can change the configuration of the menus and toolbars that you use. You can also create your own toolbar or menu for just the commands that you use when creating and formatting your pages.

Macros can simplify common repetitive tasks that you use regularly in Expression Web. Macros can even reside on a Expression Web toolbar for easy access. If a macro has a problem executing a task, Expression Web can help you debug, or fix the error in your macro.

If you need functionality not currently provided by Expression Web, you can install and load an add-in program, which provides add features to Expression Web. For example, you can install an add-in to use with Paypal, an e-commerce shopping cart. Add-ins are developed by Microsoft and third-party developers. You can search the Web to find Expression Web add-ins.

Changing General Options

You can customize several settings in the Expression Web work environment to suit the way you like to work. You can customize the way Expression Web starts up and whether it warns you about certain actions that you cannot undo. For example, one option automatically opens the last Web site you worked on when you start Expression Web. You can also set an option to show or hide the Status bar at the bottom of the Expression Web window.

Change General Options

blue_circle_1.gif Click the Tools menu, and then click Application Options.

blue_circle_2.gif Click the General tab.

blue_circle_3.gif Select the startup and general options you want. Some of the common options include:

  • Open last Web site automatically when Expression Web starts. Opens the Web site you most recently worked on.
  • Check if Expression Web is the default editor for pages. Verifies Expression Web is the standard editor for Web pages.
  • Show status bar. Shows or hides the status bar.

blue_circle_4.gif To change proxy firewall settings for the Internet, click Proxy Settings.

blue_circle_5.gif Click OK.

f13ew01

Configuring External Editors

You can configure Expression Web to associate any editor on your computer with any file type you want to use, which makes it easy to open and work with files. You can associate several editors with a file type. However, one of the editors is the default. Expression Web starts the default editor when you double-click the file in the Folder List, Folders view, and other file locations, or when you right-click the file and choose Open from the shortcut menu.

Configure External Editors

blue_circle_1.gif Click the Tools menu, and then click Application Options.

blue_circle_2.gif Click the Configure Editors tab.

blue_circle_3.gif To add a new extension, click the New Extension button, type the extension, select the editor you want to use, and then click OK.

blue_circle_4.gif To add a new editor, click the New Editor button, select the editor you want to use (if necessary, click Browse for more), and then click OK.

blue_circle_5.gif To add, rename, or remove an existing extension, select the extension, click the Modify Extension button, type the changes you want, and then click OK.

blue_circle_6.gif To set a default editor, select the extension, select the editor you want as the default, and then click Make Default.

blue_circle_7.gif Click OK.

f13ew02

Customizing Reports View

You can customize the way information appears in Reports view by changing settings on the Reports View tab in the Applications Options dialog box. You can set general options to specify when files are considered “Recent” or “Older”, or the download time that qualifies a Web page for inclusion in the “Slow Pages” report. You can also set the connection speed, display row and column gridlines when viewing reports, and the maximum number of months shown in usage reports.

Customize Reports View

blue_circle_1.gif Click the Tools menu, and then click Application Options.

blue_circle_2.gif Click the Reports View tab.

blue_circle_3.gif Select the general and usage options you want. Some of the common options include:

  • “Recent” files are less than X days old. Determines which files appear in the Recently Added Files report.
  • “Older” files are more than X days old. Determines which files appear in the Older Files report.
  • “Slow pages” take as least X seconds to download. Determines whether a Web page appears in the Slow Pages report.
  • Number of months shown. Determines the maximum number of months shown in usage reports.

blue_circle_4.gif To display a grid, select the Display gridlines when viewing reports check box.

blue_circle_5.gif To include a chart, select the Include chart when usage report is saved check box.

blue_circle_6.gif Click OK.

f13ew03

Customizing FTP Options

Expression Web allows you to customize FTP transfer options for text files. If you transfer text files between a PC and Unix, click the FTP tab in the Application Options dialog box, and then specify the extensions you want to be treated as text files. You can add more extensions to the list; any extension not on the list is transferred as binary. If you no longer want an extension in the list, you can remove it.

Customize FTP Options

blue_circle_1.gif Click the Tools menu, and then click Application Options.

blue_circle_2.gif Click the FTP tab.

blue_circle_3.gif To add a new extension, type the extension, and then click Add.

blue_circle_4.gif Select the extension you want to remove, and then click Remove.

blue_circle_5.gif Click OK.

f13ew04


Did You Know?

You can customize ASP options. If Expression Web allows you configure two settings applicable to Microsoft ASP.NET pages in your Web site. You can specify the folder that contains compiled versions of ASP.NET user controls available to the entire Web server and to the current Web site only. You can specify a folder or leave it blank to use the system default location. Click the Tools menu, click Application Options, click the ASP.NET tab, specify the default location for ASP.NET Control Assemblies, and then click OK. If Framework 2.0 is not installed correctly, the ASP.Net tab may not appear in the Application Options dialog box. Reinstall to show the tab.


Setting General Page Editor Options

Expression Web allows you to configure the way most features and functions work in a single location using the Page Editor Options dialog box. The Page Editor Options dialog box consists of 12 tabs that allows you set options in the following areas: General, Authoring, Auto-Thumbnail, Picture, Code Snippets, Ruler and Grid, IntelliSense, CSS, Code Formatting, Code Coloring, Default Fonts, and Font Families. The General tab provides varied options that don’t fit in any of the other tabs.

Set General Page Editor Options

blue_circle_1.gif Click the Tools menu, and then click Page Editor Options.

blue_circle_2.gif Click the General tab.

blue_circle_3.gif Select the general and usage options you want. Some of the common options include:

  • Automatically enclose form fields within a form. Happens on first field you insert.
  • Assign unique IDs to new tables. Adds ID attribute to new tables; existing ones unchanged.
  • Make ID unique on paste. Makes sure no duplicate IDs when you paste.
  • Use <strong> and <em> when using bold and italic toolbar buttons. Uses updates tags for bold and italic; recommended.
  • Automatically switch keyboard to match language of surrounding text. Use when you use different virtual keyboard layouts.
  • Prompt form accessibility properties when inserting images. Prompts for accessibility information when you insert a picture.

blue_circle_4.gif Click OK.

f13ew05

Change General Code Options

blue_circle_1.gif Click the Tools menu, and then click Page Editor Options.

blue_circle_2.gif Click the General tab.

blue_circle_3.gif Select the general code usage options you want. Some of the common options include:

  • Word wrap. Select to automatically word wrap in Code view.
  • Auto indent. Select to automatically indent based on the level and structure of the code.
  • Line numbers. Select to display line numbers along the left side of Code view.
  • Selection margin. Select to add a left margin in Code view to make selecting code easier.
  • Highlight invalid HTML. Select to highlight invalid HTML code.
  • Highlight incompatible HTML. Select to highlight incompatible HTML code with the current schema.

blue_circle_4.gif Click OK.

f13ew06

Setting Code Formatting Options

The Page Editor Options dialog box provides two tabs—Color Coding and Code Formatting—to make it easier to work with code. The Color Coding tab allows you to change the way individual elements appear in color while you work in Code or Design view. The Code Formatting tab provides options to format individual tag and CSS elements to suit your preferences and work habits. The settings at the top apply to all new code in Code view, while the CSS options at the bottom of the Code Formatting tab apply to existing and new CSS code.

Set Code Formatting Options

blue_circle_1.gif Click the Tools menu, and then click Page Editor Options.

blue_circle_2.gif Click the Color Coding tab.

blue_circle_3.gif Select the element you want to change.

blue_circle_4.gif Use the Item foreground and Item background list arrows to select the colors you want.

blue_circle_5.gif Select or clear the Font, Italic, or Underline check boxes.

blue_circle_6.gif Repeat steps 3 through 5 for the elements you want to change.

blue_circle_7.gif Click OK.

f13ew07

Set Code Formatting Options

blue_circle_1.gif Click the Tools menu, and then click Page Editor Options.

blue_circle_2.gif Click the Code Formatting tab.

blue_circle_3.gif Select the tab, indent, margin, and and other related settings you want at the top of the dialog box.

blue_circle_4.gif Select the tag you want to change, and then specify the line break and related options to the right you want.

blue_circle_5.gif Select the CSS element you want to change, and then specify the formatting options to the right you want.

blue_circle_6.gif Select the Use shorthand properties when generating styles check box to combine CSS properties in one element when needed to create complex CSS.

blue_circle_7.gif Click OK.

f13ew08

Changing Code Snippet Options

Code snippets allow you to reuse code while you work in Code view, which can save you time and cut down on errors. Expression Web comes installed with pre-existing snippets you can use. If you’re not sure what is available, you can view a list of installed code snippets on the Code Snippets tab in the Page Editor Options dialog box, where you can also add, modify, or remove ones you no longer use. To insert a code snippet, switch to Code view, press Ctrl+Enter, and then select the code snippet you want from the dropdown list.

Change Code Snippet Options

blue_circle_1.gif Click the Tools menu, and then click Page Editor Options.

blue_circle_2.gif Click the Code Snippets tab.

blue_circle_3.gif Perform the options you want:

  • Add. Click Add, type a unique keyword, description, the code you want to use as a snippet, and then click OK.
  • Modify. Select the code snippet you want, click Modify, make the changes you want, and then click OK.
  • Remove. Select the code snippet you want, and then click Remove to delete it.

blue_circle_4.gif Click OK.

f13ew09


Did You Know?

You can reuse code snippets on other computers. When you add your code snippets, Expression Web stores them in an XML file called Snippets.xml located in the AppRoamingMicrosoftExpressionWeb DesignerSnippets folder, which you can move to other computers and reuse.


Applying XML Formatting

XML, or Extensible Markup Language, is an alternative to HTML. This format is ideal for producing extensive, highly-structured data from an application in a consistent manner. The difference between XML and HTML is subtle but profound: XML describes a Web document’s content, while HTML tags describe how the document looks. HTML tags assign certain characteristics to the text they surround. XML is ideal for data-intensive Web environments and, unlike HTML, supports customized tags for specific data. XML tags, however, employ a much tighter rule system with regard to XML syntax. So much as a single missing tag or mis-formatted attributes makes the entire document unreadable.

Apply XML Formatting

blue_circle_1.gif Open and display the Web page you want to use.

blue_circle_2.gif Click the Code button at the bottom of the window.

blue_circle_3.gif Right-click anywhere on the page, and then click Apply XML Formatting Rules. Expression Web scans the XML code for missing or incomplete tags.

f13ew10

Customizing the Menu Bar

You can customize the existing Expression Web menu bar by adding buttons, commands, and macros that you use frequently. Adding items to the menu bar is a great way to have easy access to features without adding more buttons or toolbars. The ability to drag features from different parts of the program window makes it easy to add items to the menu bar. Imagine, having a menu with all of your most commonly used formatting, sorting, or printing commands.

Customize the Menu Bar

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click the Commands tab.

blue_circle_3.gif Select a category.

blue_circle_4.gif To add a command, drag the command to the appropriate place on the menu you want to modify. A solid horizontal line appears below the place where the new menu command will be placed.

f13ew11

blue_circle_5.gif To remove a command, drag the menu command you want to remove to an empty area in the workspace.

blue_circle_6.gif Click Close.

f13ew12


Did You Know?

You can assign an accelerator key to a menu. An accelerator key is the key you press to display a menu or run a menu command. For example, the accelerator key for the File menu is “F.” To add an accelerator key to a menu item, type an ampersand (&) before the letter that will be the accelerator key. For example, enter the menu name “&New Menu” to create the menu entry New Menu with the accelerator key “N.”


Create a New Menu

blue_circle_1.gif Click the Tools menu, click Customize, and then click the Commands tab.

blue_circle_2.gif Click New Menu in the Categories box.

blue_circle_3.gif Drag New Menu from the Commands list to an empty spot on the menu bar.

blue_circle_4.gif Click Close.

f13ew13

Name a New Menu

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click New Menu on the menu bar.

blue_circle_3.gif Click Modify Selection.

blue_circle_4.gif Click the Name box on the menu, and then type a new name.

blue_circle_5.gif Press Enter.

blue_circle_6.gif Click Close.

f13ew14


Did You Know?

You can copy a command to toolbars and menus. Copy commands from other menus or toolbars to new menus and toolbars by pressing and holding Ctrl as you drag the new command.


Adding and Removing Toolbar Buttons

Each toolbar initially appears in a default configuration, but many toolbars actually contain many more commands than are displayed. When monitors are set to low resolution, sometimes not all toolbar buttons are visible. You can modify Expression Web’s toolbars so that they display only the buttons you want. For example, you can add buttons to a toolbar for commands you frequently use, or you can remove buttons from toolbars that have too many. You can also use the Add Or Remove command on the Toolbar Options menu to quickly show or hide buttons on a toolbar. If a button doesn’t appear on the button list for a toolbar, you can add it. If you no longer need a button on the button list, you can remove it.

Show or Hide a Toolbar Button

blue_circle_1.gif Click the Toolbar Options list arrow on the toolbar.

blue_circle_2.gif Point to Add or Remove Buttons.

blue_circle_3.gif Click to select or clear the check box next to the button you want to show or hide.

blue_circle_4.gif Click outside the toolbar to deselect it.

f13ew15


Did You Know?

You can use the Customize dialog box to show and hide toolbars. Click the Tools menu, click Customize, click the Toolbars tab, select or clear the check box next to the toolbar name you want to show or hide, and then click Close.


Add or Remove a Toolbar Button

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click the Commands tab.

blue_circle_3.gif Click the category containing the toolbar button you want to add.

blue_circle_4.gif Drag a command from the Commands tab to the toolbar to add a button, or drag a button off a toolbar to a blank area to remove it.

blue_circle_5.gif Click Close.

f13ew16


See Also

See “Changing Menu and Toolbar Options” on page 333 for information on changing general options for menus and toolbars.



Did You Know?

The Customize dialog box uses a special operating mode. When you use the Customize dialog box, menus and toolbars don’t act in the normal way. The special mode allows you to drag-and-drop items on menus and toolbars.


Customizing a Toolbar

You can create your own toolbars to increase your efficiency. You might, for example, create a toolbar that contains formatting and other features that you use most often when you are performing a particular task, such as editing Web pages. This will give you a greater workspace, since you will not have to have all the various toolbars up at once. Using one toolbar will help you achieve this.

Create a Custom Toolbar

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click the Toolbars tab.

blue_circle_3.gif Click New.

blue_circle_4.gif Type a name for the new toolbar.

blue_circle_5.gif Click OK.

f13ew17

blue_circle_6.gif Add buttons to the new toolbar by dragging commands found on the Commands tab.

blue_circle_7.gif Click Close.

f13ew17a

Delete a Custom Toolbar

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click the Toolbars tab.

blue_circle_3.gif Click the toolbar name you want to delete.

blue_circle_4.gif Click Delete.

blue_circle_5.gif Click Close.

f13ew18

Rename a Custom Toolbar

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click the Toolbars tab.

blue_circle_3.gif Click the toolbar name you want to rename.

blue_circle_4.gif Click Rename.

blue_circle_5.gif Type a name for the toolbar.

blue_circle_6.gif Click OK.

blue_circle_7.gif Click Close.

f13ew19

f13ew20

Editing Toolbar Buttons and Menu Entries

Expression Web includes tools that allow you to edit toolbar buttons and menu entries. You can specify whether the button or menu item will display text, an image, or both text and an image. If you choose to display an image, you can edit the image, copy it from another button or use one of Expression Web’s predefined images. You can also use the Customize dialog box to makes these and other changes to your buttons and menus.

Edit a Button or Menu Entry

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Select the button on the toolbar or command on the menu you want to edit.

blue_circle_3.gif Click Modify Selection.

blue_circle_4.gif Choose the commands that will modify the selection in the way you prefer.

  • Click Copy Button Image to copy the button image.
  • Click Paste Button Image to paste the button image.
  • Click Reset Button Image to reset the selected item to its default image.
  • Click Edit Button Image to edit the button image.
  • Click Change Button Image to select from a group of predefined images, as shown.
  • Click Image and Text to paste a button image into the selected item.
  • Click Begin a Group to begin a group of menu items, separated by horizontal lines.

blue_circle_5.gif Click Close.

f13ew21

Changing Menu and Toolbar Options

In addition to creating, adding, or removing menu command and toolbar buttons, you can also use the Customize dialog box to make global changes to menus and toolbars to personalize the Expression Web interface. The Options tab allows you to reset menu and toolbar changes, show the Standard and Formatting toolbars on one row to save space, and always show full menus so you don’t have to wait or click the expand arrow. If you do not want to view ScreenTips, you can turn them off.

Change Menu and Toolbar Options

blue_circle_1.gif Click the Tools menu, and then click Customize.

blue_circle_2.gif Click Options tab.

blue_circle_3.gif Select the general options you want. Some of the common options include:

  • Show Standard and Formatting toolbars on two rows. Displays the Standard and Formatting toolbars on two rows.
  • Always show full menus. Displays the full contents of a menu as soon as you open the menu.
  • List font names in their font. Displays fonts in the Font menu using the actual font.
  • Show ScreenTips on toolbars. Displays descriptive text when you move the pointer over a toolbar button.
  • Show shortcut keys in ScreenTips. Displays the shortcut key for a button along with the ScreenTip.

blue_circle_4.gif To reset personalized menus and toolbars to the default, click Reset menu and toolbar usage data.

blue_circle_5.gif Click Close.

f13ew22

Creating Custom Colors

RGB (red, green, blue) is a set of color values that describe colors. RGB identifies a color by a set of hexadecimal numbers, an internal computer numbering scheme, that specify the amounts of red, green, and blue needed to create the color. RGB colors appear best over the Web (true color representation without dithers or substitutes) when you use only browser safe colors, which is a standard set of 216 color combinations. These RGB values are 0, 51, 102, 153, 204, or 255 in decimal or 00, 33, 66, 99, CC, or FF in hexadecimal. When you use the color dialog boxes, you use decimal values. In Code view, you use hexadecimal values. You can access and create colors using any Expression Web color menu. You can define up to 16 different colors, and then save them to a custom palette. The custom colors become available on all color menus.

Define a Custom Color Palette

blue_circle_1.gif Open and display the Web page you want to use.

blue_circle_2.gif Click any color list arrow (such as Font Color button list arrow) to open a color palette.

blue_circle_3.gif Click More Colors on the color palette.

blue_circle_4.gif Click Custom.

blue_circle_5.gif Click a blank box.

blue_circle_6.gif Select a color by entering a combination of numerical values, or selecting one of the basic colors in the main palette or a custom color in the color spectrum palette.

blue_circle_7.gif Click Add to Custom Colors.

blue_circle_8.gif When you’re done, click OK.

blue_circle_9.gif Click OK again to close the More Colors dialog box.

f13ew23

f13ew24

blue_circle_10.gif Click OK to close the Page Properties dialog box.

Remove a Custom Color

blue_circle_1.gif Open and display the Web page you want to use.

blue_circle_2.gif Click any color list arrow (such as Font Color button list arrow) to open a color palette.

blue_circle_3.gif Click More Colors on the color palette.

blue_circle_4.gif Click Custom.

blue_circle_5.gif Click the box with the color you want to remove.

blue_circle_6.gif Click the white color in the standard color palette.

blue_circle_7.gif Click Add to Custom Colors.

blue_circle_8.gif When you’re done, click OK.

blue_circle_9.gif Click OK again to close the More Colors dialog box.

f13ew25

f13ew26

blue_circle_10.gif Click OK to close the Page Properties dialog box.

f335tab01.gif

Understanding How Macros Automate Your Work

To complete many tasks in Expression Web, you need to execute a series of commands and actions. If you often need to complete the same task, you’ll find yourself repeatedly taking the same series of steps. It can be tiresome to continually repeat the same commands and actions when you can create a mini-program, or macro, that accomplishes all of them with a single command.

When you create a macro, Expression Web stores the list of commands with any name you choose. You can store your macros in Microsoft Expression Web or All Open Projects. Storing your macros in Expression Web makes the macros available to you from any location in Expression Web, even when no project is open.

Once a macro is created, you can make modifications to it, add comments so other users will understand its purpose, and test it to make sure it runs correctly. You can run a macro by choosing the Macro command on the Tools menu, or by using a shortcut key or clicking a toolbar button you’ve assigned to it. When you click the Tools menu, point to Macro, and then click Macros. The Macro dialog box opens, where you can run, edit, test, or delete any Expression Web macro on your system, or create a new one.

If you have problems with a macro, you can step through the macro one command at a time, known as debugging. Once you identify any errors in the macro, you can edit it.

f13ew27

You can create and edit a macro with the Microsoft Visual Basic Editor, which comes with Expression Web. Macro code is written in Microsoft Visual Basic, a programming language.

Each action listed in a macro either performs a step or states what attributes are turned on (true) or off (false). Quotation marks are used to indicate typed text, and the terms Sub and End Sub are used to indicate the beginning and ending of subroutines, respectively.

Because not everyone wants to read through codes to figure out what a macro does, comments are often included within the code. The comments don’t affect the macro; they simply clarify its purpose or actions for a person viewing the code. Comments can be used to help you remember why you took the steps you did, or to help co-workers understand what is going on in the macro and how the macro should be used. A comment always begins with an apostrophe to distinguish it from a command code.

To learn more about macro code, check out Visual Basic titles on the Que Publishing Web site at www.quepublishing.com.

f13ew28

Automating Your Work with Macros

Do you often redo many tasks that require the same, sometimes lengthy, series of steps? Rather than repeat the same actions, you can work faster by recording the entire series of keystrokes and commands in a custom command, or macro. A macro is a sequence of commands and entries that can be activated collectively by clicking a toolbar button, clicking a menu command, typing a key combination, or clicking the Run command in the Macros dialog box. Macros are a perfect way to speed up routine formatting, combine multiple commands, and automate complex tasks. Any time you want to repeat that series of actions, you can “play,” or run, the macro.

Record a Macro

blue_circle_1.gif Click the Tools menu, point to Macro, and then click Macros.

blue_circle_2.gif Type a name for the new macro.

blue_circle_3.gif Click Create.

The Microsoft Visual Basic window opens, where you can create a macro.

f13ew29

blue_circle_4.gif Type your macro code.

blue_circle_5.gif When you’re done, click the File menu, and then click Close and Return to Microsoft Expression Web.

f13ew30

Run a Macro

blue_circle_1.gif Click the Tools menu, point to Macro, and then click Macros.

blue_circle_2.gif If necessary, click the Macros In list arrow, and then click the page that contains the macro you want to run.

blue_circle_3.gif Click the name of the macro you want to run.

blue_circle_4.gif Click Run.

f13ew31

Delete a Macro

blue_circle_1.gif Click the Tools menu, point to Macro, and then click Macros.

blue_circle_2.gif Select the macro you want to remove.

blue_circle_3.gif Click Delete.

f13ew32

blue_circle_4.gif Click Yes to confirm the deletion.

Modifying a Macro

If a macro doesn’t work exactly the way you want it to, you can fix the problem. Expression Web allows you to debug, or repair, an existing macro so that you can change only the actions that aren’t working correctly. When beginning the process, Expression Web will step through each of the actions that you supplied when you created the macro. Look carefully for any mistakes, and then correct as necessary.

Debug a Macro Using Step Mode

blue_circle_1.gif Click the Tools menu, point to Macro, and then click Macros.

blue_circle_2.gif Click the name of the macro you want to debug.

blue_circle_3.gif Click Step Into.

The Microsoft Visual Basic window opens, where you can edit your macro.

f13ew33

blue_circle_4.gif Click the Debug menu, and then click Step Into to proceed through each action.

blue_circle_5.gif When you’re done, click the File menu, and then click Close and Return to Microsoft Expression Web.

f13ew34

blue_circle_6.gif Click OK to stop the debugger.

Loading and Unloading Add-ins

Add-ins are additional programs designed to run and add functionality within Expression Web. Component Object Model (COM) add-ins are designed to run in one or more programs and use the file name extension .dll or .exe. Some add-ins are installed when you run the Setup program, while others can be downloaded from Microsoft or purchased from third-party vendors. You can use the COM Add-Ins dialog box to add (load) or remove (unload) add-ins. When you load an add-in, the feature may add a command to a menu or toolbar. You can load one or more add-ins. If you no longer need an add-in, you should unload it to save memory and reduce the number of commands. When you unload an add-in, you also may need to restart Expression Web to remove an add-in command from a menu or toolbar.

Load or Unload a COM Add-in

blue_circle_1.gif Click the Tools menu, and then click Add-Ins.

blue_circle_2.gif Select the check box next to the add-in you want to load, or clear the check box you want to unload.

TROUBLE? If the add-in is not available in the list, click Add, locate and select the add-in you want, and then click OK.

blue_circle_3.gif To remove the selected add-in, click Remove.

blue_circle_4.gif Click OK.

f13ew35


Did You Know?

You can get more information about COM online. Visit www.microsoft.com/com.

You can get add-ins from WebAssist; some are free. Visit www.webassist.com, and then search for Expression Web add-ins.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.156.156