• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Visio Guy

Smart graphics for visual people




  • Home
  • Hire Me
    • Hire Me
    • Résumé
  • Products
    • Products
    • Bubble Revision Shape
    • Layers to Pages Utility
    • Rack Unit Dimension Line
    • Radial Elements Tool with up to 100 Wedges
    • Text on a Circle Visio SmartShape
  • Index
    • Articles by Date
    • YouTube – VisioGuy
    • Download Information
    • Suggestion Box
    • Shop
    • Visio Art
    • Visio Links
    • – Visio Shapes & Stencils
    • – Visio Templates & Drawings
  • About
    • About
    • Donate
    • GitHub
    • jsFiddle
    • Reading List
    • Subscribe & Follow
      • – E-mail
      • – facebook
      • – Twitter
      • – RSS
    • Privacy Policy
  • Discussion Forum
You are here: Home / Development / Code / European Cup 2008 Auto-Updating Visio Diagram (v2)

European Cup 2008 Auto-Updating Visio Diagram (v2)

June 21, 2008 By Visio Guy 2 Comments

Read Full Article

UPDATE!

Hey football/soccer fans! We’ve got an update to our automated smart drawing for this years European Cup soccer tournament.

Perhaps you are familiar with the first version, which can be found here: European Cup 2008 Auto-Updating Diagram

Well, that version needed a few updates, most notably, the handling of games that are resolved with penalty-kicks, or shoot-outs.

The web service documentation did not sufficiently describe how these situations were reported, so we had to wait for Turkey’s spectacular victory over Croatia to see what kind of data we got. It turns out, that the scores are just reported as strings. So for Croatia vs. Turkey, we got:

1-1 (P 1-3)

Clearly some text parsing was in order, and the new version should handle it just fine.

While I was repairing the code, I enhanced some other bits. These are the new features for v2:

  • Although there is no winner box, the winner will be clearly shown.
    You might have noticed how in the thumbnail for this article.
  • Draws are now indicated with color, instead of left as though nothing happened.

  • Penalty-kick situations are now properly handled by the shapes and code:

Enjoy the rest of the tournament!

Please note, if you haven’t already configured the first version, that you need to Download and install the Microsoft Office XP Web Services Toolkit 2.0 from Microsoft in order to get the web-service code to work.

Download “European Cup 2008 Auto-Updating Visio Diagram (v2)”

s!Aj0wJuswNyXlhUZZ752zWEj_EK8E – Downloaded 3201 times – 103.00 B
  • Tweet
  • More
  • Pocket
  • Share on Tumblr
  • Print
  • Email

Related posts:

  1. European Cup 2008 Auto-Updating Visio Diagram
  2. Map of Europe
  3. The Hidden World of Visio Shapes
  4. Multi-Earth Shape
  5. Circular Text Generator (version 1)

Filed Under: Code, Drawings & Templates, Maps & Geography, Shapes, ShapeSheet Tagged With: Code, Europe, Football, Programming, Smart Drawings, SmartShapes, Soccer, Sport, Web Service

Previous Post: « Visio Microphone Shape
Next Post: Save Time & Simplify Your VBA Code With CallByName »

Reader Interactions

Comments

  1. Michael says

    June 21, 2008 at 9:25 am

    Brilliant!!! Thanks
    now all I need is another win tonight 🙂

Leave a Reply Cancel reply

Primary Sidebar

Buy Über Bubble Revision Shape
Purchase

Categories

Buy my book!

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tag Cloud

A/V Artistic Effects BPM Code Connectors Control Handles Countries Custom Patterns Custom Properties Data Graphics Data Linking Data Visualization David Edson David Parker Fill Format Formulas Functions Geometry Gradient Images Links Maps Multi-shapes Network Programming repeating shapes Resources Right-Click Actions Scale Shape Data ShapeSheet ShapeSheet Formulas ShapeSheet Functions SharePoint shiny SmartShapes Sport Sports Text Themes Tools Transparency User-defined Cells Visio 2007 Visio SmartShapes

Top Posts & Pages

  • - Visio Shapes & Stencils
  • - Visio Templates & Drawings
  • Bubble Revision Shapes
  • Amazon AWS Visio Shapes
  • Visio Network Server Shape Icon Customization Tool
  • Sankey Diagram Shapes for Visio
  • Dynamic Updating Org Charts in Visio!
  • Text to the Bottom of the Shape
  • Map of World
  • Free Visio People Shapes

www.visguy.com - Visio Guy - since 2006

 

Loading Comments...