Tag | API Posts

Available now! http://www.microsoft.com/do... [ Wondering what's a DTK? Read: SDK, DTK, DRK: WTF?! ] Overview The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio [2008] that let you build applications for Windows Mobile 6.5. This document contains important information about this package. For general information about ...
I was very excited today about the release and availability of the Windows Mobile 6.5 Developer Tool Kit! Find it here on MSDN: http://www.microsoft.com/do... The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio that let you build applications for Windows Mobile 6.5. For general information about writing software for Windows Mobile, ...
Introduction The WinPHP challenge is running towards it’s closing time. Only a few days before entering I came with the idea to enter the contest. I had to put a lot of my spare time into it, but it was worth it. I learned a lot from exploring the realm of php. It’s fun to work in a language I normally do not work in. And to find ways to implement some thoughts that have been on my mind for a while. Here’s the story about the what, the where and the how of BlogSnor, my entry for the WinPHP challenge. ...
I rarely find Google’s product as exciting or as innovative as other people think they are. BUT… [I’ll come back as to why later on, don’t worry it’s only one feature that I need, but it’s important] I was driving yesterday, and needed to quickly look up an address, as I know the destination moved addresses recently and did not want to drive the wrong way. So I decided to use Google Maps for Mobile, as it seems to fixate on GPS in my BlackJack II faster. [To note I use my phone’s Internet and GPS ...
I was playing around with converting some HQL and Criteria queries to LINQ, and the result is pretty slick:All I had to do was reference NHibernate.Linq and I went from: public IList<Stay> GetCurrentStays() { string hql = @"FROM Stay WHERE CheckinDate <= :now AND (CheckoutDate IS NULL OR CheckoutDate >= :now)"; var query = getQuery(hql); query.SetDateTime("now", DateTime.Now); return query.List<Stay>(); } to: public IList<Stay> GetCurrentStays() { var query = from stay in ...
For a couple of years I have been tracking message-bodies inside BAM but only recently I was asked to make a BAM Portal document link to these message bodies that actually works :-) Strangely enough I couldn't find any solution on Google so I tried to figure this one out myself. Guess what? I had to jump through quite a few hoops. I decided to share those hoops with my other 2 blog readers (yes you). Hoop 1: the 1st and most obvious step is getting the message bodies into the BAM tables using the ...
During my presentation at NoVa Code Camp 2009.1, I mentioned to the attendees that Jeffrey Richter would soon be posting his Power Live Framework Library on his blog. This was an API Jeffrey demonstrated at the Devscovery-NY conference in April 2009. Prior to my talk, I received permission by Jeffrey to demo his library at the code camp. However, during the talk I informed the attendees the code would not be included in the code drop for the session. Good news! Jeffrey has now posted the library ...
Let me paste the code for ProcessViewerDlgProc function, and then we will see how each part works. Here is the code: BOOL CALLBACK ProcessViewerDlgProc(HWND hDlg, UINT uMessage, WPARAM wParam, LPARAM lParam) { int wmID, wmEvent, procCount; PAINTSTRUCT ps; HDC hdc; switch(uMessage) { case WM_INITDIALOG: { SHINITDLGINFO shidi; SHMENUBARINFO mbi; memset(&shidi, 0, sizeof(shidi)); memset(&mbi, 0, sizeof(mbi)); shidi.dwMask = SHIDIM_FLAGS; shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIPDOWN | SHIDIF_SIZEDLGFULLSCREEN ...
MS-Word 2007 has a beautiful feature for publishing blog posts. You can utilize the feature's present with Word for blog publishing since it's very handy. This option you can see in new file window as "New Blog Post". After that you have to manage your accounts using the "Manage accounts" menu option. There you will be provided with provider options. There are various provider's supported by word for blogging. I tried registering for my GeekswithBlogs.net account and ended up in mess. This is because ...
One of my last big project revolved around keyword based searching using a Google Search Appliance and an open-source API code the Google Search Appliance written in .NET [link]. Ever since then I’ve been intrigued by keyword search technologies, specifically as it relates to their backend logic. That all said, Google searching simply matches for strings with a few exceptions. The guys who developed Mathmetica, though, have developed a processing engine that actually finds answers. By that, I mean ...
Article source: http://geekswithblogs.net/m... When we are testing our BizTalk solution one of the biggest challenges is how we deal with the dependency on external systems. Some of the common scenarios I have come across are as follows: We will be integrating with some web services but there are no test instances of these services we can use We will integrate with a LOB application but there is either no test instance of the LOB system of using the LOB application will make it difficult ...
Just in case you missed the news, Yahoo has created it’s own query thingy. No, no LINQ provider, it’s a “query language”. Check it out! http://developer.yahoo.com/... Quote: What is YQL? Yahoo! makes a lot of structured data available to developers, primarily through its web services. These services require developers to locate the right URLs and documentation to access and query them which can result in a very fragmented experience. The YQL platform provides a single endpoint service that enables ...
In this Issue: Simon Guest(2), Al Pascual, Jeff Prosise, Andrew Duthie, Nikhil Kothari, Alex Golesh, Ning Zhang, Jesse Liberty, and SilverLemma. Shoutouts: Jeff Wilcox is asking Is it worthwhile to keep AutoCompleteBox’s DropDownOpening and Closing events? Cameron Albert has a blog post up about his Perenthia World Builder in Silverlight Pete Brown posted his Silverlight 3 Links from the Reston DevDinner From SilverlightCream.com: Using SketchFlow to Create Better Prototypes Simon Guest sent me a ...
Earlier this week I attended the RFID workshop held at Microsoft's Reading Offices. I thought Id write up some notes and thoughts I'd made about the event. Content/Trainer The course was based on the course developed by the guys at Breeze (http://breeze.net/default.... The material itself is excellently written and is easy to follow. It also has some nice little bits of humour which mean it is not the common/boring material you get on some courses. The material itself lets you build and enhance ...
I’m a big fan of PlayOn form MediaMall Technologies which is an application that allows you to view videos from popular sites like Hulu, CBS and Netflix on your Xbox 360, Playstation 3 or DLNA-compliant television or set-top-box. I’m also a big fan of Channel9, the “official” unofficial source for developer information from Microsoft. In a recent release, MediaMall implemented a PlugIn API for PlayOn that allows a developer to add new media sources to the PlayOn menu. Developers have already added ...
For those of us who want to start programming sharepoint but get intimidated by the extensive setup needed to begin with C# and visual studio, IronPython is for you. Frankly, I have been too lazy to take on the task of installing and configuring visual studio on a VM with MOSS. My background(many moons ago) is java development. I'm not a python expert. Nor am I a sharepoint programming expert. I may not even be considered a java expert anymore. And I'm definitely not a C# or .NET guy. I'm writing ...
This month I have been working hard at providing XNA support for the Micro Framework. Sometimes I wonder how I get myself into these things. I entered another contest, Dream, Build, Play, where you or a team write a game for some cool prizes. When I was reading through the XNA documentation and I was thinking that the paradigm of writing games fits some embedded projects a lot better than WPF that the Micro Framework is using now. Perhaps not for all applications, but for my project is felt like ...
In this Issue: Thanigainathan Siranjeevi, Ashish Shetty, Kirupa Chinnathambi, Mike Taulty(2), and Andrew Duthie. Shoutouts: Scott Guthrie announced: Free ASP.NET MVC “NerdDinner” Tutorial Now in HTML -- note 'Free' -- 12 parts to this Tutorial! Shawn Wildermuth announces I am on .NET Rocks! .. no not ME... Shawn! :) From SilverlightCream.com: Silverlight 3 Navigation API Thanigainathan Siranjeevi put up a nice tutorial at SilverlightShow on the NAV API in Silverlight 3B. Silverlight out-of-browser ...
Dave Allen works in Microsoft UK helping partners build solutions which take advantage of the latest technologies from Microsoft. He also happens to be a mate, a jolly nice chap and is leading our efforts in the UK to help partners get their applications working on Windows 7. I sat down with him on Thursday of last week (23rd April) and quizzed him on the thorny subject of compatibility. Check out this companion post I did on resources for getting ready for Windows 7. When did you first start looking ...
I have just released an early version of Html Utilties for Silverlight on CodePlex. This article will explain the whats and hows of this library. Who is this library for? The primary target for this library is someone who: Develops software in Silverlight Uses the Html DOM libraries in Silverlight What problem does this library solve? In the first version of this library, it is all about testability. Lets say I have a (very simple) method I want to test. The code looks like this: public class HtmlGenerator ...
So now our program displays the system width and height in a Message box. Let us see how this message box evolves into a Dialog box. Instead of displaying the system metrics in a Message box, we will display the same information in a full screen dialog box. The dialog box will have a menu bar, with the left soft key as "Back" and the right soft key as "Refresh". We'll see what "Refresh" will do later. First lets add the dialog box resource to our project. You can add a new dialog using the resource ...
I needed a quick way to cache some data for a feature I’m currently working on. The scenario is that the user should be able to type ahead and be presented with a list of matching options (AJAX auto complete). This data is coming from an external web service and is exposed via the core API of the application which in turn is exposed over WCF. So for AJAX to be able to get to this data it must talk to the WCF service, but this is not directly possible since cross site scripting is not allowed in the ...
Well, my Hawaii trip is just about over. Feels like I just got here. The Hawaii .NET User Group that I spoke at last night was a really great bunch. The room was packed and people were standing at the entrance. Someone even told me it was some of the highest attendance in the groups 5 year history. The talk went really well. I covered some of the more popular Social Networking sites and discussed the various types of sites for the first part of the talk, and then spent the second half discussing ...
At Mix09, the Microsoft Translator Team announced that they have released a preview of the very exciting in-place Translator Widget that works in conjunction with the current Windows Live Translator Site. They have provided an AJAX API to implement the translation functionality. Currently the feature is in Preview mode only and open to reviewers and testers only by Special Invitation. To see a cool demo of the Translator Widget in action visit Laurent Duveau's Site. As you can see from the code-snippet ...
Ok now that we have our basic application up and running, lets make some changes. First, I want to change the right soft key from "HELP" to "Menu", somehow "HELP" is not very appealing. One more thing, I use the resource editor only to add new resources to the project, any further changes or modification I like to do it by manually editing the resource files (To do that, just right click on the .rc file and select "View Code"). If you open HelloWorld.cpp and in function WndProc go to the case where ...
Cloud computing is a style of computing in which dynamically scalable and often virtualized resources are provided as a service over the Internet. Users need not have knowledge of, expertise in, or control over the technology infrastructure "in the cloud" that supports them. (Wikipedia) According to the official definition of the cloud, it’s an abstract environment which has the ability to dynamically scale and virtualized resources creating a self-managed deployment platform for applications which ...
First of all, thanks to all those brilliant people who made the long arduous journey to the UK (and to all those who just happened to be near by). I know it must have killed you to be so far away for so long. I can only imagine how hard it was for you. All of us that couldn’t go really feel for you and feel your pain. Okay! So, for those of us that couldn’t go, some of these guys really did a tremendous job of twittering what was going on during the conference. They absolutely did not have to do ...
April 30th Microsoft Office - Minneapolis LOW I and II 8300 Norman Center Drive - Suite 950 Bloomington, Minnesota 55437 Microsoft ArcReady 9:00am - 11:45 pm WHAT IS ARCREADY? A forum for aspiring and practicing architects to discuss industry trends An overview of Microsoft’s roadmap as it relates to software architecture A mechanism to solicit your feedback An opportunity to showcase the work you do! WHO SHOULD ATTEND? Architects and Senior Developers who are interested in becoming an architect. ...
Last Saturday(04/04/09), I had the fortune to attend the Pittsburgh .NET Code Camp(http://codecamppgh.com... and present my session on the Unity Application Block- Dependency Injection and Inversion of Control. There were several excellent questions posed to me by attendees (who seemed to be really thinking about how to use Unity and dependency injection in their apps). However, the one question that really caused me to dig a little deeper into the Unity API was whether it is possible ...
When I was working in VC++, it was relatively easy to include a win32 API function. All we did was include the header file and then made a call to a function like so: #include <Mailbox.h> CMailbox::MbxStatus CMailbox::iCreateMbx() { MbxStatus iStatus = mbxSuccess; switch ( m_iType ) { case mbxReceiver: case mbxBoth: // for receive type mailboxes we need to create a // space for the reception of data /* if ( m_hRecvMbx ) CloseHandle( m_hRecvMbx ); */ m_hRecvMbx = ::CreateMailslot( m_strInName, ...
In this Issue: Richard Griffin, Martin Mihaylov, Pete Brown(2), Kirupa Chinnathambi, Jon Galloway, Expression Blend and Design Blog, Page Brooks, Michael S. Scherotter, and Chris Hay. From SilverlightCream.com: Behaviors, Actions and View Models in Silverlight Richard Griffin dug into Behaviours for his latest post, and demonstrates creating in Expression Blend, then creating the Action... good stuff! The Silverlight 3 Navigation Framework Martin Mihaylov has a nice tutorial up on the Navigation ...
In this WriteableBitmap, Perspective3D, and MIX09 issue: Karen Corby, Mike Harsh, Joe Stegman(2, 3, 4, 5), Jeff Prosise(2), Nikolay Raychev, Andy Beaulieu(2), Corey Schuman(2), Mike Taulty, Jeff Paries, Pete Brown(2, 3), Chris Hay, and Alex Golesh. Shoutouts: If you weren't at MIX09, or didn't get a copy of Laurence Moroney's book, he has blogged: Free Silverlight 3 Book Preview Now available ... even if you got it... get the eBook :) Koen Zwikstra, who I had the pleasure of meeting at MIX09 has ...
Hi, In this blog I will write about Visual WebGui RIA Platform and will provide the latest news, technology, tutorial, showcases and other useful information that would allow you to get a deeper understanding and knowledge about what Visual WebGui is and how you can leverage its framework/platform benefits. Visual WebGui is an open source Rich Internet Applications (RIA) platform, atop standard .NET. It enables simple UI development & deployment of web applications on the server which are then ...
Many Windows CE systems are kiosk type devices, where the Software running on the systems starts when the system boots. This causes a new problem for some software developers: the API may not be ready to be used when the software starts. To add to the fun, not all Windows CE systems are equal so some APIs may never become available. Early versions of Windows CE provide a simple method to determine if an API is available, the function IsAPIReady(). IsAPIReady() is a handy method to determine if an ...
This week I was asked how to access a stream interface driver from an application. The request came from someone who was trying to call the XXX_Open, XXX_Write… functions directly from his application. By directly, I mean using LoadLibrary() and GetProcAddress(). Let’s start with stating that calling the functions directly is not the way to call the functions in a driver. In fact, a Windows CE 6.0 kernel driver cannot be accessed at all by applications directly. Let us think about that for a moment ...
Having done some thorough research with code signing certifications and SSL certs, am I wrong in thinking that FedEx has royally screwed up? I had to double and triple check that the link provided wasn’t a phishing attack of some sort, and it all looks valid. Forcing your customers to install a cert that doesn’t have a root already installed in Windows is major trouble! Why would VeriSign sell FedEx such a crappy product? I have a cheap Comodo SSL cert for my Exchange server, and it wreaks all sorts ...
Multitouch is going to be the next big thing. Natural User Interfaces (NUI) are going to change the way we use client applications soon. You think it's not true? See the iPhone hype. This is not a very good phone, feature wise. It is lacking very basic features. But being able to control your phone using multiple fingers was a real killer feature. Read the rest of this entry » ...
Check out John Papa’s blog for much more detail and camera work… I’m just doing highlights. Web… Each of the tools can be used independently or integrate with each other or open source tools Expression Web 3: Standards based web authoring, Multi-laguage, Secure FTP, CSS Diagnostics, SuperPreview Erik Saltwell demoing Expression Web 3 SuperPreview – split screen or full, and can pick the browser to view it in, also can side-by-side the various browsers, or layering them one over the other to see problems. ...
I hope that the title sounds funny, because, as usual, I can't found a better one... During the last months I had to port from CE 5 to CE 6 a project where I used an undocumented feature of Windows CE 5, the ability to register an API sets. This feature allows an application, a driver or a system module to register its own APIs, that can then be accessed by application as regular OS APIs. I had to use that undocumented feature to provide some redraw functions for a custom "skin" of the Windows CE ...
Recently a few of us were speaking about what would be the future of BizTalk after the 2009 release. I already had a few thoughts on what I think would be great additions to the product and what strategic directions it may move in. I have checked to ensure that none of my thoughts breach the MVP NDA and after getting the thumbs up I've listed my thoughts below so there might be a bit of discussion on these ideas. AreaThoughtNotesImproved or New FeatureConfiguration SubsystemWithin BizTalk solutions ...
I’ve officially launched the Facebook UI for ASP.NET project at CodePlex at http://facebookui.codeplex.... It’s kind of a preview edition of what’s to come – and there’s quite a bit. Here’s a quick overview: Now: Design-time and run-time server support for about 30 FBML controls. Visual Studio IntelliSense support for FBML controls Web Site project templates in Visual Studio 2008 Version 1: All FBML tags within: Users/Groups, Profile-Specific, Embedded Media, Visibility on Profile, Tools, Forms, ...
I think that Microsoft is missing a large opportunity with the Microsoft Office product. I’ve been thinking about this for some time now. To me, it has been evolving in the wrong manner over these last few releases and it has bothered me greatly. You might be saying, “what is Bill talking about here, they just did a major and well-received upgrade to Microsoft Office with the Office 2007 release!”. I do have to say that you are right in that regard – but what I am talking about is Microsoft Office ...
Since I wasn't able to attend PDC last year, I'm still catching up on the sessions. I've watched almost all of them (starting w/ the native and parallelism stuff since that was the most applicable to me and working my way towards the rest of it.) Last night I watched the session on Code Contracts and Pex. I have to say that I'm REALLY impressed.Code Contracts in .NET expose a bunch of great features for runtime checking and static analysis including:Pre and Post condition checkingObject InvariantsDocumentation ...
ArcReady For our next ArcReady, we will explore a topic on everyone’s mind: Cloud computing. Several industry companies have announced cloud computing services . In October 2008 at the Professional Developers Conference, Microsoft announced the next phase of our Software + Services vision: the Azure Services Platform. The Azure Services Platforms provides a wide range of internet services that can be consumed from both on premises environments or the internet. Session 1: Cloud Services In our first ...
Cloud services that is. Windows Azure, .NET Services, Live Services…. If you looking for the spoon fed variety of information, a bunch of HOWTO vides have been released – see below. These are small little “nuggets” – like those MSDN Nuggets out of Microsoft UK. Get Started Developing on Windows Azure? If you’re a developer and you’re new to Windows Azure, start here! You’ll see what you need to download and install, and how to create a simple “Hello World” Windows Azure application. Deploy a Windows ...
I have written several posts about starting an application when a Windows CE device boots. These posts have been fairly popular, but there are still some questions. The how to posts include: · Windows CE: Starting an Application when the System Boots which covers information needed by both application developers and Platform Builder users. · Windows CE: Programmatically Setting Up an Application to Auto Start which covers writing an application that sets itself up to run when the system boots. · ...
A couple of weeks back I attended a session on Unobtrusive JavaScript (UJS) and jQuery by John Teague. This was probably the biggest thing I took from the Houston TechFest. Recently, I found the opportunity to put my new knowledge to good use. I haven't reach the unobtrusive part of John's presentation, but jQuery is my first step. Documentation I found the jQuery API documentation to be invaluable. At first, as a reference, it was a little difficult to find what I need. For example the "val()" function. ...
I was pleased to see the Typemock folks have delivered a special VB.NET API to use Typemock 5.2 for unit testing. This handles the differences in VB9 vs C# 3.0 around Lambdas (VB9 is restricted to functions where as C# 3.0 can handle statement lambdas – this will be resolved in VB10 aka Visual Basic 2010). There are three related blog posts which did into this: Overview Isolator's VB API - Creating Fakes Isolator's VB API - Setting Behavior and Assertion I am keen to dig into mocking some more over ...
I recently created two facebook applications. Restaurant List: http://www.restaurantliston... - The Restaurant List application allows you search and save any restaurant, and share it with friends. The facebook application link is: http://apps.facebook.com/re... Remember my Tasks: http://www.remembermytasks.... - This is a cool one utility that allows you save tasks and reminders easily and quickly and notifies you on facebook when its due. The facebook application link is: http://apps.facebook.com/re... ...