Windows API Code Pack for Microsoft® .NET Framework

by Semicton 9. March 2010 17:06

Wow. Never new this existed until today. The Windows API Code Pack provides a source code library that can be used to access some features of Windows 7 and Windows Vista from managed code. These Windows features are not available to developers today in the .NET Framework.

Here is a listing of the features included in the API code Pack:

  • Windows 7 Taskbar
    • Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars
  • Windows Shell
    • Windows 7 Libraries
    • Windows Shell Search API support
    • Explorer Browser Control
    • A hierarchy of Shell Namespace entities
    • Windows Shell property system
    • Drag and Drop for Shell Objects
    • Windows Vista and WIdnows 7 Common File Dialogs, including custom controls
    • Know Folders and non-file system containers
  • DirectX
    • Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, WIndows Imaging Component (WIC) APIs
  • Windows Vista and Widnows 7 Task Dialogs
  • Sensor Platform APIs
  • Extended Lingquistic Services APIs
  • Power Management APIs
  • Application Restart and RecoveryAPIs
  • Command Link control and System definded shell icons

The setup and install is a bit different.  The API comes as one large solution that needs to be compiled and then the .dll's pulled from the projects bin folder for use.

http://code.msdn.microsoft.com/WindowsAPICodePack

Tags:

Software and Tools

Display Public Key Token in Visual Studio

by Semicton 5. March 2010 16:41

Here is an easy way to display the public key token of a signed assembly from within Visual Studio.

In Visual Studio choose Tools from the tool bar then choose External Tools.  

A new dialog box will appear.  Click the Add button and fill the fields below:

Title: Get &PublicKeyToken
Command: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe
Argumnets: -Tp $(TargetPath)

Place a check mark in the Use Output window option.

 

To Test:

Sign your assembly, then goto Tools and you will find your Get PublicKeyToken available in the list.  The public key tolken will now print to the Output window.

 

 

Printed Example:

Microsoft (R) .NET Framework Strong Name Utility Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.

Public key is
0024000004800000940000000602000000240000525341310004000001000100ed4f1697d3045d
3b0384b1b2f3c334a2d7af32786dd2b15682a26238d72062db97853db569974f826c46c469d1a7
446ce305cb19cdfa31d110d09027630f3d497c8d987d3ec75923fd0dbafd5834d8b7544be9e52b
b9c7e23746bfe07cde2c8e07ab27e212eee74e405185fc67fedf6b430d955f70d6bd5d51e38fe1
9e5f7ace

Public key token is e8247507e0bdf57b

Tags:

.NET Framework

SQL Express 2008 Sample Databases

by Semicton 3. March 2010 20:17

Seems like I've been needing to install this alot lately.

SQL 2008 Express (With management tools.)

Sample Databases from Microsoft's codeplex website:

Sample Databases

Tags:

Software and Tools

Powered by Semicton 1.5.0.7

Internet Lamp

Turn on my internet Lamp!

 

Click Here !

Interesting Questions

How far is the moon from Earth?

Answer:

Since the moon's orbit is elliptical, its distance varies from 221,463 miles at perigee(closest approach to Earth), to 251,968 miles at apogee (farthest point), with the average distance being 238,857 miles.


 Refresh

Latest Downloads:

File Name Downloads
2009/12/scribd.zip 93
2009/12/BinaryClock.zip 74