Announcing Windows 10 Insider Preview Build 16237 for PC

Hello Windows Insiders! Today we are excited to release Windows 10 Insider Preview Build 16237 for PC to Windows Insiders in the Fast ring! Upcoming Bug Bash We’re really excited to do our 2nd (and final) Bug Bash for the Windows 10 Fall Creators Update! The Bug Bash will start at 12am (Pacific Time) on […]

Source: https://blogs.windows.com/feed

An update on disabling VBScript in Internet Explorer 11

Beginning in the Windows 10 Fall Creators Update, we intend to disable VBScript execution in IE 11 for websites in the Internet Zone and the Restricted Sites Zone by default, to provide a more secure experience. This change was initially announced in a blog post in April. The new default behavior can be previewed beginning […]

Source: https://blogs.windows.com/feed

Perficient Launches Microsoft Dynamics 365 Practice

We are thrilled to announce the launch of our Microsoft Dynamics 365 practice, continuing our efforts to grow our portfolio of cloud-based Microsoft solutions offerings. As a Gold-Certified, award-winning Microsoft partner and one of just a handful of Microsoft National Solution Providers, this addition allows us to help our clients successfully plan, deploy, and manage […]

Source: http://feeds.feedburner.com/perficient/microsoft

Office 365 Roadmap Updated: 2017-07-07

Calling WinRT Components from a Win32 process via the Desktop Bridge

In today’s post, we are covering another step you can take on your journey across the Desktop Bridge: specifically migrating business logic to Windows Runtime Components, aka WinRT Components. Previously, Windows only supported calling OS provided WinRT components from Win32 applications. Any attempt to call user-defined (aka 3rd party) WinRT components would fail because the […]

Source: https://blogs.windows.com/feed

Command-Line Activation of Universal Windows Apps

As we continue to close the gap between Win32 and Universal Windows Apps, one of the features we’ve recently introduced is the ability to activate a UWA from a command line and pass the app arbitrary command-line arguments. This is available to Insiders from build 16226. This feature builds on the App Execution Alias extension […]

Source: https://blogs.windows.com/feed

Old School Cards.dll in Today's WPF

I have to wonder just how many applications have used the Cards.DLL over the years. Hundreds? Thousands? It's the Hello World for any card related game...

Calvin Hsia recently blogged about it and using it in a modern WPF app (Modern compared to how he blogged about it in 2004, Displaying playing cards for bridge, written in Visual FoxPro... ;)

Since the DLL is no longer shipped with Windows, he even provides a OneDrive download for it too... :)

Display Playing cards in WPF

I remember each version of Windows had new games. On Windows 3.1 many people played Solitaire. Windows for Workgroups 3.11 introduced Hearts. Somewhere along the way came FreeCell, MineSweeper and Spider Solitaire. This was years before more modern User interfaces, such as WPF existed.

Windows no longer ships Cards.dll which has the images of the cards and some routines that could be called to draw the cards using older techniques, such as Drawing Contexts and GDI.

Using more recent drawing techniques, such as Windows Presentation Foundation (WPF), and more modern languages, such as C# or VB.Net can make programming games easier.

Below is some sample code that extracts bitmaps from a the native Cards.Dll and converts it to a WPF BitmapSource which can be scaled and displayed as an Image in WPF. A timer shuffles the cards. You can click on the form to pause the shuffling.

You can use this code as a basis of a card game. Before writing the code, I was toying with the idea of drawing the cards on a WPF form using WPF Immediate Mode graphics or a combined Immediate and Retained mode graphic system, with HWndHost

Solitaire used a Dll in the Windows\System32 folder called Cards.dll. Because many of you may not have access to a Windows XP machine, I’ve made it available here.

image

See also

https://blogs.msdn.microsoft.com/calvin_hsia/2004/08/13/displaying-playing-cards-for-bridge/

https://blogs.msdn.microsoft.com/calvin_hsia/2015/10/31/drawing-old-playing-card-images-for-bridge/

https://blogs.msdn.microsoft.com/calvin_hsia/2014/08/29/logo-turtle-graphics-in-wpf/

<code>

... [Click through for the code]





Source: https://channel9.msdn.com/Feeds/RSS

Skype Online – Pulse Available Exclusively to Broadcast Meetings

If you check the Message Center in the Office 365 admin portal, Microsoft announced that the Pulse service is no longer available as a free service but as an exclusive service for Skype for Business Broadcast Meetings. Microsoft Pulse allows for interactive voting, surveys, and polls to be conducted during a meeting for attendee interaction. […]

Source: http://feeds.feedburner.com/perficient/microsoft