Office Development in Visual Studio 2010
Microsoft Indonesia, March 18, 2010
Andri Yadi | [email protected], DyCode | Microsoft MVP, VSTO
http://geeks.netindonesia.net/blogs/andriyadi
500,000,000
* office-watch.com
users on the planet
7.5%
* office-watch.com
of world population
78%
1%12%
2%
Microsoft Office WordPerfect OpenOffice Apple iWork
* http://www.webmasterpro.de/portal/news/2010/02/05/international-openoffice-market-shares.html
Do you get the idea?
Huge user base
Familiarity of Office applications
Fluent UI
Easy to extend
Let’s see some demo
Sales Tracking, a POC by DyCode
Microsoft Dynamics CRM
Fractal Edge Excel Integration
> Productivity Tools
Unified solutions platform for building Office Business
Applications
So, what’s the option?
Server and Services connectivity - Line of business connectivity with BCS - Web Services & Standards-based interoperability - Integrate with hosted and on-premises SharePoint
solutions Data-oriented development - Open XML SDK - Word, Excel, Access, Project, Visio, InfoPath
Services - Built on SharePoint Platform Services Improved Office Development Experience - Fluent UI & Backstage Programmability - Easier management with Visual Studio 2010 & .NET
4.0 - Application Compatibility Program Development tools for everyone - Simplified InfoPath design - Access applications published to Web - Access application usability/design improvements - Continued commitment to Visual Basic for
Applications (VBA)
- Evolved developer platform with new services and extensibility
- Connected cloud and on-premises services to a common Office PC, phone and browser user experience
- Developer tools for all skill-levels, from Access to VBA and Visual Studio
UI Extensibility
Backstage ViewIt’s all about your document
What you can do with your document
Programmable
Backstage - Anatomy
Backstage View ext.Add new custom tab
Specify layout in custom tab
Hide, disable built-in tabs
RibbonX CustomizationAdd/remove/move/activate Tabs
Add/remove/move Groups
Create custom groups with built-in or custom commands
“High-Density Layout” for custom groups
Save and load customizations from a file
RibbonX - Tab ActivationProgrammatically activate a tab
IRibbonUI.ActivateTab(String TabID)
IRibbonUI.ActivateTabMso(“TabAddIns”)
RibbonCollection.Ribbon1.RibbonUI.ActivateTab("MyCustomTab")
RibbonX - Group ScalingBuilt-in Ribbon groups change layout as window resizes
In Office 2010, autoScale property can be set on a custom group
<group id=“Wheel" autoScale="true">
Context Menu ExtensibilityIt’s customizable
New control types supported
<customUI ...>
<ribbon> ... </ribbon>
<contextMenus>
<contextMenu idMso="MenuCell">
<button id="ButtonRefresh” .../>
</contextMenu>
</contextMenus>
</customUI>
!"#"
Backward compatibility (Office 2007)
Improved C#
Improved deployment
More supports on SharePoint + Office 2010 integration
!"#"
VSTOR PIA
Deployment
Targeting to .NET Framework 3.5 Full/Client or 4.0 Full/Client
Resources• Office developer center:
http://msdn.microsoft.com/office
• Office 2010 developer center: http://msdn.microsoft.com/en-us/office/ee513173.aspx
• VSTO team blog: http://blogs.msdn.com/vsto/
• How do I video: http://msdn.microsoft.com/en-us/vsto/dd164303.aspx
• Office UI Control ID: http://go.microsoft.com/fwlink/?LinkID=181052
• Open XML Developer: http://openxmldeveloper.org
Q&A
DyCodewww.dycode.com | [email protected] IT Solutions for Optimal Business Value
Top Related