SlideShare a Scribd company logo
1 of 17
HTML for the Desktop
About Me


   President/Founder F1 Technologies since 1990
   Co-author Visual FoxExpress
   Speaker
   Consultant
   Xbase Developer since dBase III/FoxBase 1987
   Web Developer since 1994
Contact Me
Agenda
   Why Use HTML in Desktop Applications?
   How to Display Web Content in Desktop
    Applications
   HTML Interface Uses
   HTML vs. OLE Automation
Why Use HTML in Desktop
           Applications
   Create Interfaces not easily created with
    standard VFP controls
   Leverage Pre-existing Web Interfaces
   Interact with Websites in Desktop Apps
   Minimize Need For Automation
HTML In the Interface – Getting
           Started
   Requires use of ActiveX Control
       Most use MS Web Browser Control which is based on
        IE.
       Mozilla Control Also Available (
        http://www.iol.ie/~locka/mozilla/control.htm)
IE vs. Mozilla
IE                            Mozilla
    Commercial, made by MS      Open Source & inactive
    Does not conform to         Conforms to HTML
     HTML standards               standards
    Supports Design Mode        Does not support design
    10 MB+ Download              mode
    Intellisense                4MB Download
                                 No Intellisense
Using the Web Browser
                 Controls
   Subclass or insert directly into container
   Navigate to blank page in init:
    This.navigate([About:Blank])
    Creates Document Object
   See Rick Strahl’s Article:
    http://west-wind.com/presentations/shellapi/shellapi.asp
HTML in the Desktop
   FanList.SCX
       FanList.SCX is a sample data entry form. It’s
        primary purpose is to illustrate how HTML can
        provide a more user-friendly substitute for
        grids when pictures and edit regions need to
        be part of the grid.
HTML in the Desktop
   HTMLPreview.SCX
       Did you ever want to jump straight into data
        from a report preview or drill down into more
        detail from a report preview? That’s what this
        form is all about.
HTML in the Desktop
   HTMLPreview2.SCX
       Email, Website and Image Links in report
        preview
HTML in the Desktop
   Customer.SCX & ShowMap.SCX
       Integrate Google Maps with Desktop App
HTML in the Desktop
   HTMLEditor.SCX
       Basic HTML Editor
       Makes use of DesignMode
HTML in the Desktop
   MailMerge.SCX
       Reduce versionitis and API difference issues
        between word processors.
       Use standards based language vs. proprietary
        format.
       Enjoy the performance and simplicity of text
        vs. automation.
       Get HTML Email as a bonus.
HTML in the Desktop
   WebDev.SCX
       The WebDev form is the form that was used
        in my “HTML and Visual FoxPro” session.
        This form makes use of the web browser
        control and provides a great example of
        performing local file based operations on
        HTML and displaying them in the desktop.
HTML in the Desktop
   WebDevGecko.SCX
       This form is a Gecko (Mozilla based)
        implementation of the WebDev form.
Conclusion
   Visual FoxPro is a rockin’ host for HTML
    interfaces
   VFP’s DML, ActiveX support and text
    handling abilities make it possible to do
    things with HTML that you might not do on
    the web itself.
   Fox Rocks!

More Related Content

What's hot

Modern Web App Architectures
Modern Web App ArchitecturesModern Web App Architectures
Modern Web App ArchitecturesRaphael Stary
 
Adobe flex an overview
Adobe flex  an overviewAdobe flex  an overview
Adobe flex an overviewSubin Sugunan
 
A Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexA Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexChad Udell
 
Better Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexBetter Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexChris Charlton
 
Joomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesJoomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesAndy_Gaskell
 
Java script for foxpro developers
Java script for foxpro developersJava script for foxpro developers
Java script for foxpro developersMike Feltman
 
Overview of Web Technology Intro
Overview of Web Technology Intro Overview of Web Technology Intro
Overview of Web Technology Intro webhostingguy
 
The WordPress Way: Accessibility and Backwards Compatibility
The WordPress Way: Accessibility and Backwards CompatibilityThe WordPress Way: Accessibility and Backwards Compatibility
The WordPress Way: Accessibility and Backwards CompatibilityJoseph Dolson
 
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015Start with Bolt and Go Ez - eZ Publish Summer Camp 2015
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015Exove
 
Seattle bestpractices2010
Seattle bestpractices2010Seattle bestpractices2010
Seattle bestpractices2010Olaseni Odebiyi
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentClint LaForest
 
Backend & Frontend architecture scalability & websockets
Backend & Frontend architecture scalability & websocketsBackend & Frontend architecture scalability & websockets
Backend & Frontend architecture scalability & websocketsAnne Jan Brouwer
 
Basic Introduction to Web Development
Basic Introduction to Web DevelopmentBasic Introduction to Web Development
Basic Introduction to Web DevelopmentBurhan Khalid
 
Aspect oriented programming
Aspect oriented programmingAspect oriented programming
Aspect oriented programmingRobert MacLean
 
Front end for back end developers
Front end for back end developersFront end for back end developers
Front end for back end developersWojciech Bednarski
 
Web Application Development Fundamentals
Web Application Development FundamentalsWeb Application Development Fundamentals
Web Application Development FundamentalsMohammed Makhlouf
 
Error handling in visual fox pro 9
Error handling in visual fox pro 9Error handling in visual fox pro 9
Error handling in visual fox pro 9Mike Feltman
 

What's hot (20)

Modern Web App Architectures
Modern Web App ArchitecturesModern Web App Architectures
Modern Web App Architectures
 
Adobe flex an overview
Adobe flex  an overviewAdobe flex  an overview
Adobe flex an overview
 
A Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexA Brief Intro to Adobe Flex
A Brief Intro to Adobe Flex
 
Better Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexBetter Drupal Interaction Design with Flex
Better Drupal Interaction Design with Flex
 
Joomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesJoomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiences
 
Java script for foxpro developers
Java script for foxpro developersJava script for foxpro developers
Java script for foxpro developers
 
Overview of Web Technology Intro
Overview of Web Technology Intro Overview of Web Technology Intro
Overview of Web Technology Intro
 
Web application architecture
Web application architectureWeb application architecture
Web application architecture
 
WebMatrix
WebMatrixWebMatrix
WebMatrix
 
The WordPress Way: Accessibility and Backwards Compatibility
The WordPress Way: Accessibility and Backwards CompatibilityThe WordPress Way: Accessibility and Backwards Compatibility
The WordPress Way: Accessibility and Backwards Compatibility
 
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015Start with Bolt and Go Ez - eZ Publish Summer Camp 2015
Start with Bolt and Go Ez - eZ Publish Summer Camp 2015
 
Joomla REST API
Joomla REST APIJoomla REST API
Joomla REST API
 
Seattle bestpractices2010
Seattle bestpractices2010Seattle bestpractices2010
Seattle bestpractices2010
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web Development
 
Backend & Frontend architecture scalability & websockets
Backend & Frontend architecture scalability & websocketsBackend & Frontend architecture scalability & websockets
Backend & Frontend architecture scalability & websockets
 
Basic Introduction to Web Development
Basic Introduction to Web DevelopmentBasic Introduction to Web Development
Basic Introduction to Web Development
 
Aspect oriented programming
Aspect oriented programmingAspect oriented programming
Aspect oriented programming
 
Front end for back end developers
Front end for back end developersFront end for back end developers
Front end for back end developers
 
Web Application Development Fundamentals
Web Application Development FundamentalsWeb Application Development Fundamentals
Web Application Development Fundamentals
 
Error handling in visual fox pro 9
Error handling in visual fox pro 9Error handling in visual fox pro 9
Error handling in visual fox pro 9
 

Similar to Html for desktop applications

SharePoint 2010 For Developers
SharePoint 2010 For DevelopersSharePoint 2010 For Developers
SharePoint 2010 For DevelopersSparked
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxldominion
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewDvir Reznik
 
Intro to SharePoint for Developers
Intro to SharePoint for DevelopersIntro to SharePoint for Developers
Intro to SharePoint for DevelopersRob Wilson
 
Sys02 best way to create a share point app
Sys02   best way to create a share point appSys02   best way to create a share point app
Sys02 best way to create a share point appDotNetCampus
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Riaravinxg
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginnersVineeth N Krishnan
 
Flex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASFlex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASPamela Fox
 
Sps Boston The Share Point Beast
Sps Boston   The Share Point BeastSps Boston   The Share Point Beast
Sps Boston The Share Point Beastgueste918732
 
MINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVERMINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVERAsish Verma
 
How browsers work landscape
How browsers work landscapeHow browsers work landscape
How browsers work landscapeanandkishore
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012daniel plocker
 
Taking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceTaking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceGus Fraser
 
Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013Thomas Daly
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetAdil Mughal
 
Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websiteswebsiteunlimited
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 

Similar to Html for desktop applications (20)

SharePoint 2010 For Developers
SharePoint 2010 For DevelopersSharePoint 2010 For Developers
SharePoint 2010 For Developers
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's New
 
Intro to SharePoint for Developers
Intro to SharePoint for DevelopersIntro to SharePoint for Developers
Intro to SharePoint for Developers
 
Sys02 best way to create a share point app
Sys02   best way to create a share point appSys02   best way to create a share point app
Sys02 best way to create a share point app
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Flex RIA
Flex RIAFlex RIA
Flex RIA
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
 
Flex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASFlex vs. HTML5 for RIAS
Flex vs. HTML5 for RIAS
 
Sps Boston The Share Point Beast
Sps Boston   The Share Point BeastSps Boston   The Share Point Beast
Sps Boston The Share Point Beast
 
MINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVERMINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVER
 
How browsers work landscape
How browsers work landscapeHow browsers work landscape
How browsers work landscape
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012
 
Taking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceTaking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices Conference
 
WebMatrix2
WebMatrix2WebMatrix2
WebMatrix2
 
Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
 
Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1
 
Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websites
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 

Html for desktop applications

  • 1. HTML for the Desktop
  • 2. About Me  President/Founder F1 Technologies since 1990  Co-author Visual FoxExpress  Speaker  Consultant  Xbase Developer since dBase III/FoxBase 1987  Web Developer since 1994
  • 4. Agenda  Why Use HTML in Desktop Applications?  How to Display Web Content in Desktop Applications  HTML Interface Uses  HTML vs. OLE Automation
  • 5. Why Use HTML in Desktop Applications  Create Interfaces not easily created with standard VFP controls  Leverage Pre-existing Web Interfaces  Interact with Websites in Desktop Apps  Minimize Need For Automation
  • 6. HTML In the Interface – Getting Started  Requires use of ActiveX Control  Most use MS Web Browser Control which is based on IE.  Mozilla Control Also Available ( http://www.iol.ie/~locka/mozilla/control.htm)
  • 7. IE vs. Mozilla IE Mozilla  Commercial, made by MS  Open Source & inactive  Does not conform to  Conforms to HTML HTML standards standards  Supports Design Mode  Does not support design  10 MB+ Download mode  Intellisense  4MB Download  No Intellisense
  • 8. Using the Web Browser Controls  Subclass or insert directly into container  Navigate to blank page in init: This.navigate([About:Blank]) Creates Document Object  See Rick Strahl’s Article: http://west-wind.com/presentations/shellapi/shellapi.asp
  • 9. HTML in the Desktop  FanList.SCX  FanList.SCX is a sample data entry form. It’s primary purpose is to illustrate how HTML can provide a more user-friendly substitute for grids when pictures and edit regions need to be part of the grid.
  • 10. HTML in the Desktop  HTMLPreview.SCX  Did you ever want to jump straight into data from a report preview or drill down into more detail from a report preview? That’s what this form is all about.
  • 11. HTML in the Desktop  HTMLPreview2.SCX  Email, Website and Image Links in report preview
  • 12. HTML in the Desktop  Customer.SCX & ShowMap.SCX  Integrate Google Maps with Desktop App
  • 13. HTML in the Desktop  HTMLEditor.SCX  Basic HTML Editor  Makes use of DesignMode
  • 14. HTML in the Desktop  MailMerge.SCX  Reduce versionitis and API difference issues between word processors.  Use standards based language vs. proprietary format.  Enjoy the performance and simplicity of text vs. automation.  Get HTML Email as a bonus.
  • 15. HTML in the Desktop  WebDev.SCX  The WebDev form is the form that was used in my “HTML and Visual FoxPro” session. This form makes use of the web browser control and provides a great example of performing local file based operations on HTML and displaying them in the desktop.
  • 16. HTML in the Desktop  WebDevGecko.SCX  This form is a Gecko (Mozilla based) implementation of the WebDev form.
  • 17. Conclusion  Visual FoxPro is a rockin’ host for HTML interfaces  VFP’s DML, ActiveX support and text handling abilities make it possible to do things with HTML that you might not do on the web itself.  Fox Rocks!