Windows 7 Training.

Slides:



Advertisements
Similar presentations
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Advertisements

Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building Web APIs in Windows Azure Name Title Microsoft Corporation.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Configuring PHP on IIS7 Making your application rock on IIS7 Taking advantage of the Windows platform Q&A at Open Space.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Windows ® 7 Libraries And Federated Search Name Title Microsoft ® Corporation.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 David Washington Program Manager Microsoft Corporation PC16.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
 Michael Bernstein Principal Software Design Engineer Microsoft Corporation.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Developing with the Windows API Code Pack for.NET Framework.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

demo User Signs Up Temporary Account is Created with Verification Link Sent User Clicks Link Account is Activated Login.Register(userName,
Office 365 Development July 2014.
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Yochay Kiriaty Senior Technical Evangelist Microsoft® Corporation
Microsoft Virtual Academy
5/13/2018 8:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Office SharePoint Server 2007 Enterprise Search
Office 365 Development July 2014.
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
Building a great Metro style device app for your printer
Microsoft Dynamics NAV 2017
SkyDrive Pro Chris Gideon Architect Microsoft 9/16/2018
Введение в архитектуру SharePoint 2010
Office 365 Development.
Enterprise Metadata in SharePoint 2013
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Windows 7 – Beyond the boundaries of your office
Enterprise Mode Technical Administration
Title of Presentation 12/2/2018 3:48 PM
TechEd /2/2018 5:42 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Introduction to Windows Media Center in the Custom Installation
File type associations and AutoPlay
Introducing Metro style device apps
Build data-driven collection and list apps using ListView in HTML5
Tech·Ed North America /22/2019 3:15 AM
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
Maxim Lukiyanov Program Manager Microsoft Corporation
Feature: Document Attachment - Flow from Master Records
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Understand design from code with code maps
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Microsoft Build /20/ :42 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
5/8/2019 3:20 AM bQuery-Tool 3.0 A new and elegant way to create queries and ad-hoc reports on your Baan/Infor ERP LN data. This Baan session is a query.
Шитманов Дархан Қаражанұлы Тарих пәнінің
The complete developer's guide to the SkyDrive API
Title of Presentation 5/24/2019 1:26 PM
Office 365 Development.
Presentation transcript:

Windows 7 Training

Windows® 7 Libraries And Federated Search Name Title Microsoft® Corporation

Agenda The new Windows® Explorer Library overview Common File Dialogs Libraries API Native Managed Federated search File format

The “New” Windows Explorer Arrangement views Powerful Instant Search Federated search Libraries Easy previews Cleanernavigation Rich metadata

Libraries Overview In previous versions of Windows, users manage files in Known Folders locations Documents, Pictures, Music, Videos There are at least two local folder locations The user personal folder The Public folder

Domain And Home Networks In a domain network, we may have shared folders containing documents In home network, we may share directories between computers Significant other’s computer Windows® Home Server Windows® Media Center recorded TV

Library Definition “ Libraries are destinations where users can find and organize their data as collections of items that may span multiple locations.”

The Windows Shell has a user interface to manage libraries Managing Library The Windows Shell has a user interface to manage libraries

Common File Dialogs The new Common File Dialogs have built-in support for libraries By using the Common File Dialog, you get the libraries experience out-of-the-box and additional taskbar functionality

Windows Shell Demo Managing Libraries

User Interface APIs User Interface APIs Shell APIs Indexer APIs File System APIs Namespace Tree Control Common File Dialog Loremipsum dolor sit amet, consecteturaelit, sed do eiusmodtemporincididuntutlabore et dolore magna aliqua. Utenim ad minim veniam, quisnostrud exercitation ullamcolaboris nisi utaliquip ex ea commodoconsequat. Duisauteirure dolor in reprehenderit in voluptatevelitessecillumdoloreeufugiatnullapariatur. Excepteursintoccaecat Explorer Browser Control Shell APIs

ShellAPIs Shell Folder Shell Item Verbs Metadata Thumbnails Stream User Interface APIs User Interface APIs Shell APIs Shell Folder Shell Item Indexer APIs File System APIs Verbs Metadata Thumbnails Stream Indexer APIs File System APIs

File and Folder Picking APIs Your application should support Browsing of the full namespace Picking any shell item in the namespace Integrate search Windows 7 makes this easy via Common File Dialog Explorer Browser Control Search APIs – index, file system, metadata, thumbnails

Libraries Aware Demo

Windows Shell Overview The Windows Shell is the user’s and developer’s gate to the system Folders and files to access local computer Virtual objects to access network printers, network computers, Control Panel, Recycle Bin Windows Explorer provides a graphical representation of the Shell namespace

Windows Shell Extensibility Search providers Preview handlers Explorer extensions Desktop gadgets Taskbar desk-bands Control Panel applets

Windows Shell Application interaction Application support Common File Dialogs Known folders and Libraries Property system Terminology IShellItem – represents folders and files IShellLink – represents shell shortcuts IShellFolder – represents folders

Libraries Under The Hood Library information is kept in a file The format of the .library-ms file is a private data structure and subject to changes Use the Shell Library APIs to manage libraries By design, you should use the file to: Delete, rename, or wait for change notification <libraryDescription> <name>@shell32.dll,-34575</name> <isLibraryPinned>-1</isLibraryPinned> <iconReference>imageres.dll,-1002</iconReference> <folderType>{7d49d726-3c21-4f05-99aa-fdc2c9474656}</folderType> …

Library APIs Every operation that is exposed by the Shell UI (Windows Explorer) can be performed programmatically The Shell exposes several COM objects and helper functions to work with libraries: Create new library Open an existing library Add or remove folder from a library Get a folder list from a library Get and set library options Get and set the library icon

Using The API Create Library Shell APIs are COM based To use the Library objects, interfaces and functions you should: #include <shobjidl.h> #include <objbase.h> // IID_PPV_ARGS macro To create a new Library: HRESULT SHCreateLibrary(REFIID riid,void **ppv ); With the macro: IShellLibrary *pIShellLib; SHCreateLibrary(IID_PPV_ARGS(&pIShellLib));

The Shell Helper Functions Name Summary SHAddFolderPathToLibrary Adds a folder to a library SHCreateLibrary Creates an IShellLibraryobject SHLoadLibraryFromItem Creates and loads an IShellLibrary object from a specified library definition file SHLoadLibraryFromKnownFolder Creates and loads an IShellLibrary object for a specified KNOWNFOLDERID SHLoadLibraryFromParsingName Creates and loads an IShellLibrary object for a specified path SHRemoveFolderPathFromLibrary Removes a folder from a library SHResolveFolderPathInLibrary Resolve the target location of a library folder that has been moved or renamed SHSaveLibraryInFolderPath Saves an IShellLibrary object to disk

The IShellLibrary Interface Commit Commits library updates to an existing file SetOptions/GetOptions LIBRARYOPTIONFLAGS: LOF_DEFAULT, LOF_PINNEDTONAVPANE, LOF_MASK_ALL Currently the only option is the LOF_PINTONAVPANE SetFolderType Set the folder template (such as, Pictures or Music)

Create Library and Add Folder IShellLibrary *pIShelLibrary; HRESULT hr = SHCreateLibrary(IID_PPV_ARGS(&pIShelLibrary)); if (SUCCEEDED(hr)) { IShellItem *pIShellItem; SHAddFolderPathToLibrary(pIShelLibrary, L"C:\\Users\\Public\\Documents"); hr = pIShelLibrary->SaveInKnownFolder(FOLDERID_Libraries, L"My New Library", LSF_MAKEUNIQUENAME, &pIShellItem); pIShellItem->Release(); pIShelLibrary->Release(); }

The ShellLibrary Class Windows API Pack public sealed class ShellLibrary : ShellContainer, IList<FileSystemFolder> { public ShellLibrary(…); public static ShellLibrary Copy(…); public static ShellLibrary Load(…); public static IKnownFolderLibrariesKnownFolder { get; } public override string Name {get;} public IconReferenceIconResourceId {get; set;} public LibraryFolderTypeLibraryType {get; set;} public GuidLibraryTypeId {get; set;} public string DefaultSaveFolder {set; get;} public boolIsPinnedToNavigationPane {get; set;} public boolShowManageLibraryUI(…); public void Add(…) public void Close(); … }

Create Library & Add Folder using (ShellLibrary library = new ShellLibrary(name, true)) { library.Add(folderPath); }

Many Operations using (ShellLibrary lib = ShellLibrary.Load( "Documents", false)) { lib.Add(@"C:\"); lib.IsPinnedToNavigationPane = true; lib.DefaultSaveFolder = @"C:\"; }

Custom Library Manager Demo Managing Libraries

Libraries Summary Libraries are destinations where users can find and organize their data as collections of items that may span multiple locations IShellLibrary is a COM interface that exposes method to manage libraries The ShellLibrary is a .NET Framework wrapper that exposed the same functionality

Federated Search The Best Internet and Intranet Search Experience on the Desktop

Federated Search Consistent experience across providers; files and otherwise Document repository Enterprise data store Enterprise application

How Federated Search Works Rich client experience Previews, metadata, drag-and-drop Familiar Explorer paradigms Simple and lightweight integration No client code Any server platform Standards-based OpenSearch 1.1 RSS and ATOM Authentication Integrated or custom 1. Search connector (.osdx) installed 2. Windows sends search terms as HTTP request 3. RSS results returned from server

Federated Search Your search provider should Accept URL queries Example: http://www.contoso.com/q={searchTerms} Define rich items Return RSS results The Windows 7 enables this via XML search connector description Property mapping Example: BookAuthor System.Author Thumbnail and preview URLs Custom view descriptions

Building Open Search File Federated Search Demo Building Open Search File

File Format Ecosystem You should Windows 7 enables this via Provide complete file formats Metadata support Full-text search Build richer file formats Thumbnails and previews Ensure reliability and robustness of the handlers Quick to load, don’t crash, and so on. Windows 7 enables this via Clear guidance on file format handlers on MSDN File format verifier tool in beta SDK MFC wrappers in Dev10

File Format Ecosystem Components IThumbnailProvider IPropertyHandler IPropertyHandler IFilter IPreviewHandler IPropertyHandler

File Format Demo

Summary Windows 7 has a cleaner and elegant shell Explorer The users can find and organize their content – documents, pictures, music, other, in easy and consistent fashion The shell has many extension points Use these extension abilities in your software Give the user the same rich experience Follow the next slide “Call To Actions”

Call To Action Use the common file dialog Make your applications library aware Integrate with Shell APIs Provide complete and rich file formats Participate in federated search Create a search provider for your Web service

© 2009 Microsoft Corporation. All rights reserved © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.