Tag | Windows Posts

Almost every example of a Silverlight ListBox that I have found merely shows how to get data bound to it, not what to do once you get it there. What good is a ListBox that you can’t get a reference back from? The quickest practical way is to hold your original datasource and use the index of the selected item as you key back into your data. It isn’t pretty and you wouldn’t want to take this approach with large amounts of data, but then again a mobile device isn’t meant to display large amounts of ...
Several Outlook 2010 users with Exchange 2010 mailboxes reported the following issues. When creating a new message and adding a Universal distribution list to the To: field, they attempt to expand the membership of the DL and they get an “Cannot perform the requested operation. The command selected is not valid for the recipient. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.” error message. In addition, if they tried to look at the ...
Windows Communication Foundation is a powerful tool for building contract based messaging. As with most powerful technologies with flexibility comes a fair amount of complexity. I ran into one of these situation while trying to send files as part of message in the form of a byte array. In itself this is a simple concept. The problem is that the default configuration of WCF is setup to protect us from denial of service attacks to the best of its ability. In order to achieve this it is setup for relatively ...
I have a client that desired to have the MOSS 2007 capability of My Links but in no way wanted My Sites in SharePoint 2010. I took some steps that gave them the capability of My Links by creating a personalized web part that could be linked to in a modal. It worked, However, in addition, they didn’t want users without web admin rights to see the SharePoint ribbon. The result was that admins could use the web part and the personalization data would be kept by SQL in the personalization database. Members ...
In this Issue: Michael Washington, Andrej Tozon, András Velvárt, Michael Crump, Nigel Sampson, Ben Gracewood, Jeremy Likness, Den Delimarsky, Austin Andrews, Morten Nielsen(-2-), and Alex Sorokoletov. Above the Fold: Silverlight: "Using Attribute Validation in Silverlight with WCF RIA Services Example" Jeremy Likness WP7: "SurfCube on Mango Part 3–Share on Facebook, Twitter, LinkedIn" András Velvárt LightSwitch: "How To Create a Simple Control Extension (Or How To Make LightSwitch Controls You Can ...
Often times you want to you need to update a page when you enter it or save information automatically when you leave it. When you look through the events list on the property page you won’t find an event that occurs at those points in the page lifecycle. Intellisense is your friend in this case. The events OnNavigateTo and OnNavigateFrom can be overridden to give your application the required functionality. Below is a sample signature for OnNavigateTo. protected override void OnNavigatedTo(System.Window... ...
So, you grabbed the latest Mango Build and installed it on your phone. Now your probably thinking, Why should I update to the latest Mango Beta 2 Refresh? Well, I will give you two good reasons. New Screen Shot Tool built into the Emulator Marketplace Test Kit Screen Shot Tool You may be thinking, there are a hundred ways to take a screen shot. I personally used SnagIt, but this involved a lot of steps. Load up SnagIt. Make sure my Emulator was visible. Click the “Capture Button” in SnagIt. Resize ...
If you want to write scalable applications with a high throughput you need to take care of good data structure design to make your application scale. If you want to read for example 200 MB data from a file and process it you can finish it in 5 or 30s. To be on the 5s side it is educational to see how fast you actually can get. To measure the raw disc performance I do read the file into a pre allocated byte array. [Test] public void ReadFile_Store_In_ByteArray() { var sw = Stopwatch.StartNew(); int ...
The saga goes on. There is always something more to learn. While I thought that ManipulationCompleted would do the trick from me it turned out it won’t. It turns out that if you want to figure out what PanoramaItem you are on when the user navigates between PanoramaItems the SelectionChanged event in conjunction with the SelectedItem on the Panorama works pretty well. private void Panorama_SelectionChanged(o... sender, SelectionChangedEventArgs e){ PanoramaItem item = (PanoramaItem)Panorama.Sele... ...
Creating a WP7 application with a Panorama page is fairly simple. Teaching it to do tricks is another thing altogether. As with most development controls the key is to learn the event model along with the object model. Knowing what manipulation means, when it happens and what the different levels it occurs at can be a great benefit. This was the case when I wanted to make sure that a particular item was updated before the user got to a particular PanoramaItem. The visibility of a PanoramaItem does ...
Microsoft isn’t the only one who seems to be pushing native computing once again. We’re now seeing Google at the same table with the current beta release of Chrome. Yes, Chrome now supports native applications to be embedded in a web site and it’s just like embedding JavaScript. More information can be found in here: http://chrome.blogspot.com/... The native client SDK runs a sandbox environment which means Chrome handles security of the module just like ...
In this Issue: Mike Taulty, Derik Whittaker, Den Delimarsky, Oscar Agreda, and Morten Nielsen(-2-). Above the Fold: Silverlight: "FlickR Searching with Silverlight & Rx" Mike Taulty WP7: "New Video – Windows Phone 7 Guide – Part 7 – Unlock apps in a locked emulator" Den Delimarsky Shoutouts: Michael Palermo has the latest up: Desert Mountain Developers for August 11 From SilverlightCream.com: FlickR Searching with Silverlight & Rx Mike Taulty posted a live demo and write-up on a FlickR search ...
The KB article is so short, I may as well paste it in. KB article 2021894 MSMQ ReceiveContext does not receive messages from the queue and no exception is thrown On a computer that is running Windows Server 2008 or a later version, you experience the following symptoms: In Microsoft Message Queueing (MSMQ) 4.0, the ReceiveContext feature fails silently. Additionally, the Windows Communication Foundation (WCF) application does not receive any messages from the queue. The ReceiveContext feature's Complete ...
After installing Linux, on my personal machine, I realized I don't use it very much, or at all. So, I wanted it gone. A few months ago I tried to just delete the partition and go on, but the bootloader flipped out and wouldn't let me even boot into Windows. So, I had to manually put in the CD and re-install Fedora to get everything to even load. Finally I just gave up on the task, until last night it really just pissed me off. So, today at work I decided I would give it another shot. I found this ...
DevProConnections and WindowsITPro are now accepting nominations for the 2011 Community Choice Awards. These awards allow you to nominate developer products and services for special recognition. We’d like you to consider nominating Visual WebGui and as a thank you, will be giving away a few licenses. All you have to is click the links below and in the “Add-In” category on the DevProConnections survey (category # 1) and “Best Cloud Computing Product or Service” category on the WindowsITPro survey ...
In this Issue: Morten Nielsen(-2-), Mike Gold, Jesse Liberty, Derik Whittaker, Den Delimarsky, Austin Andrews, and Oscar Agreda. Above the Fold: Silverlight: "Silverlight MVVM Code Smith Templates" Oscar Agreda WP7: "Working with a simple ViewModelLocator from MVVM-Light" Mike Gold From SilverlightCream.com: WPF vs. Silverlight - Part 4 - Animations Part 4 of Morten Nielsen's WPF and Silverlight comparison yeields this post on Animations... the launching thereof to be exact WPF vs. Silverlight - ...
In this Issue: Kunal Chowdhury, Beth Massi(-2-), Gill Cleeren, Rajat Jaiswal, Mike Taulty, Jesse Liberty, Derik Whittaker, Den Delimarsky, Austin Andrews, and Oscar Agreda. Above the Fold: Silverlight: "How to Close Browser Window from Silverlight Application?" Kunal Chowdhury WP7: "How to access blacklisted apps in the Windows Phone emulator ROM (with the locked BIN image)" Den Delimarsky LightSwitch: "Getting Started with the LightSwitch Starter Kits" Beth Massi Shoutouts: Michael Palermo's Desert ...
Occasionally I write a rant or two and this one has been boiling for ages. First off you need to read Mike Watson’s Blog Post on Silverlight Ambiguity in Office 365: http://jmikewatson.wordpres... So now let’s get started. First off this post has been boiling since I have heard the question in one of my sessions last year “What do you think will happen to Silverlight now that HTML 5 exists?”. I brushed it aside. I ignored it when ...
Windows Server 2008 R2 has a built in Scheduled Task that defragments your hard drive sometime over night. But, I was wondering if this is actually working, and on one server I have found it isn't. So, here is my PS script that I'm working on. This is also my first "real" PowerShell script I've written. It took me some time! foreach ($computerName in Get-Content "C:\Users\matt.ladd\Desktop... { Write-Host $computerName $drive = Get-WmiObject -computerName $computerName -Class Win32_Volume ...
I’m going to start with a simple code snippet which sorts an array of strings using LINQ. 1 IEnumerable<string> line = new[] {"Z","A","Ä"}; 2 var result = line.OrderBy(letter => letter); 3 Console.WriteLine("{0}", string.Join(" ", result)); The result might look like this: A Ä Z … or not. It depends on the thread culture the sorting is running in. The string order is culture aware (unlike char order which is culture invariant), so if we switch for instance on one of the Norwegian cultures ...
Recently, several enabled Remote call control (RCC) users reported that they were having issues making phone calls from Communicator. When they attempted to call a number, they got a “Cannot locate <user>” error message and when they clicked on Retry, they got another error message, “There may be an error in the address. Check the address and then try again.” After some troubleshooting, we found out our CSTA Gateway server was using an expired certificate. For communication to take place, the ...
The new version of Windows Azure Tools for Visual Studio 2010 i.e. the August 2011 release just got out. You can read and download it from http://blogs.msdn.com/b/win... My favorite pick is the ability to add MVC3 Web Roles. In the past we had to do certain work-around for running MVC3 Applications. Now, there is an ability to add MVC 3 Web Role There is now support for Universal ...
In this Issue: Colin Eberhardt, Ollie Riches, Morten Nielsen(-2-), Mike Taulty, Den Delimarsky, Derik Whittaker, Oscar Agreda, Austin Andrews, Manas Patnaik, and Jesse Liberty(-2-). Above the Fold: Silverlight: "Conditional CellTemplete controls at Runtime in Silverlight DataGrid" Manas Patnaik WP7: "Implementing a Windows Phone 7 Conversation View Part Two" Colin Eberhardt Expression Design: "Tutorial: Creating an Icon" Austin Andrews Shoutouts: SilverlightShow has their top 5 from last week listed: ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 1 - 7, 2011. Here are the top 5 news on SilverlightShow for last week: Free Silverlight Show Webinar: Deep-DIVE in Silverlight FIVE Silverlight Menu4U 7 reasons to be a Windows Phone 7 Developer WCF RIA Services Toolkit (August 2011) - And Updated NuGet Packages KinectSDK + Windows Phone 7 Mango Visit and bookmark SilverlightShow. Stay in the 'Light ...
The TFS 2010 Power Tools, August 11 release shortly on its way, read more about the teaser here at Brian Harrys blog http://blogs.msdn.com/b/bha... What feature would you have liked to be included? Share this post : ...
When working on Web Forms and Windows forms, it is useful to be able to measure height and width on the screen. I have used Iconico ruler before and it is a very useful gadget. Download it from http://www.arulerforwindows... Can't code withoutThe best C# & VB.NET refactoring plugin for Visual Studio ...
Its been a while since I played with Web forms, AJAX stuff. I was curious in checking out, particularly how the AJAX Control Toolkit which used to be my favorite in the past is evolving. There is a new release of AJAX Control Toolkit, just hot off the oven. You can download the binaries from http://ajaxcontroltoolkit.c... Now, while the regular way we have downloaded and used AJAX Control Toolkit is by visiting the above codeplex page and download the latest version, there is also a newer ...
In this Issue: Michael Washington, Pontus Wittenmark(-2-), Derik Whittaker, Peter Kuhn, Michael James, XamlNinja, Adam Kinney, Morten Nielsen(-2-), Alex Sorokoletov(-2-), and Den Delimarsky. Above the Fold: Silverlight: "WPF vs. Silverlight - Part 1 - Custom Controls Theme" Morten Nielsen WP7: "New Windows Phone “How Do I” Video Series" Adam Kinney LightSwitch: "The LightSwitch Control Extension Makers Dilemma" Michael Washington Shoutouts: Michael Palermo has his latest Desert Mountain Developers ...
Next Tuesday Microsoft will release patches to fix 22 vulnerabilities in Internet Explorer, Windows, Visio and Visual Studio. Be prepared to patch your PCs. Details are at: http://www.microsoft.com/te... http://www.computerworld.co... Passionate aboutInstant C# and VB.NET code generation in Microsoft Visual Studio ...
In this Issue: Kunal Chowdhury(-2-), Mike Talbot, Michael Washington, Davide Zordan, Pontus Wittenmark(-2-), WindowsPhoneGeek, Pete Brown, Dhananjay Kumar, Erno de Weerd, Jesse Liberty(-2-), Peter Torr, Derik Whittaker, and MIchael Crump. Above the Fold: Silverlight: "Creating a Silverlight 5 Helper for ASP.NET MVC3 Razor" Pete Brown WP7: "Page State–Step by Step" Jesse Liberty LightSwitch: "Using the Telerik Rich Text Editor In Visual Studio LightSwitch" Michael Washington Shoutouts: Laurent Bugnion ...
Just an update .... I'm currently working on the next presentation in the multi-part of a series on the Applied Design Patterns project called “AdventureWorksDesignPatterns” . It has been a busy summer both at work and home. Summer is "DIY" time at my house as I'm building a 16 by 20 foot raised deck. Work wise ..... Some of my team and I have been updating some of our "Demonstration" and "Proof Of Concept" applications to test out Microsoft's Windows Azure, SQL Azure and AppFabric. This is turning ...
For a very (too) long time, the installation procedure for MVVM Light sucked. It involved downloading and unzipping files in various locations. Unfortunately, creating an automated installer is not completely trivial because of the variety of files that are getting installed: Binaries, Code Snippets, Project and Item Templates, all require different locations, and all that for VS2008, VS2010, Blend 4 and Silverlight 3, Silverlight 4, WPF3.5 SP1, WPF4, WP7.0 and now WP7.1 “Mango”. Read the rest of ...
Hey everyone... I'm throwing a Windows Phone Garage event in conjunction with Jacksonville Code Camp!! If you're looking to learn about Making Games for Windows Phone 7 with XNA, this is the place you want to be. Here's the tentative schedule: 9am - 9:55am Intro to WP7 - includes info about the platform and very basic Silverlight & XNA content. 10am - 10:55am Getting familiar with XNA (covers differences in XNA programming model and what's in the framework) 11am - 12pm Using Phone Features w/ ...
If you plan to use Silverlight for Windows Embedded on an i.MX53 from Freescale, give a look at: http://www.adeneo-embedded.... Adeneo Embedded developed an OpenGL rendering plugin that will offload most of the rendering to the dedicate hardware and will provide a more responsive UI leaving plenty of CPU cycles for your own code. This will lead to a better user experience for the end-users of your devices ...
In this Issue: Oren Gal, Oscar Agreda(-2-), Michael Washington, Mike Gold, John Papa, Paul Sheriff, Jesse Liberty(-2-), András Velvárt, and Derik Whittaker. Above the Fold: Silverlight: "here is a Complete Silverlight Business Application using MVVM" Oscar Agreda WP7: "SurfCube on Mango Part 2– The SystemTray" András Velvárt LightSwitch: "WCF RIA Service: Combining Two Tables" Michael Washington Shoutouts: Michael Crump's articles on OData at Silverlight show have been pulled into an eBook: My eBook ...
After a few months of work, I am very happy to announce that the Dallas TechFest Speaker line up and schedule is full and finalized. You can find it on the Dallas TechFest website or on Michael Perry’s Windows Phone 7 app in the marketplace. I am very excited to see some of the more popular speakers such as Denny Cherry, Miguel Castro, Matt Hienze, Chris Koenig, and Caleb Jenkins to name a few. I am also jazzed about some of the new faces like Calvin Carter and Kumar Unnikrishnan and their enthusiasm ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for July 25 - 31, 2011. Here are the top 5 news on SilverlightShow for last week: LightSwitch: We Now Have Our 'Killer App' Fujitsu Toshiba announces au IS12T, the world's first Mango phone (hands-on!) "The Validation Story in Silverlight" - new e-book by Gill Cleeren Visual Studio LightSwitch 2011 Extensibility Toolkit Tower Defense Game Engine for Windows Phone 7 Visit and bookmark SilverlightShow. Stay in ...
Introduction One of the things that I recently had someone show me was using the “Copy Xaml” feature in Expression Design to create HTML5 SVG Path Data. I later found out that this was demoed at MIX11 in a session called HTML5 for Silverlight Developers. So with that said, I don’t take credit for discovering this, just documenting it for others to use. If you want to see the final product then click here. Go ahead and right click on the page and you will see it’s just path data (no image – just straight ...
This is very cool Just found this fab, tool to generate all the insert statements you need from a SQL database. If you have SQL Server 2008 R2 Installed - Run "C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Publishing\... This lets you select individual tables, views, stored procedures and script out both data and schema structures. Perfect for populating SQL Azure, when migrating from on-Premise databases ...
Recently I was working on a project where I needed to implement mapping functionality - I am not new to mapping technology, as a matter fact, a few years back I created my own Winform mapping control which interfaced with yahoo and ArcGIS maps which works great in some of my apps, however, I was looking for something more and didn’t want to re-invent the wheel – so to speak. I stumbled upon GMap.NET and as one user put it, “Absolutely fantastic piece of work”. The only thing lacking is proper documentation. ...
This morning I got the information that the Windows Azure Tools for Visual Studio 2010 - August 2011 Upgrade had been released. The version of this new upgrade is 1.4.40727.1601 with the Windows Azure SDK v1.4.20407.2049. This upgrade includes some awesome features that I was looking forward for a long time, which are: Profiling the application running in Windows Azure. New ASP.NET MVC 3 web role template. Multi-configuration files in one cloud project. More validation in the service package and ...
Recently, I have found myself using Visual Studio LightSwitch more and more. And needless to say, it got me thinking about a strategy for LightSwitch in a SharePoint environment. Yes, the product positions itself as a tool to develop LOB apps in a rather fast fashion. There will be those that will deem it as a prototype tool, many RAD tools end up being that. But, LightSwitch had this “je ne sais quoi” about it. Actually, I feel I know what it is. If you are still with me, step into this thought ...
Keeping things short and simple, here I am will demonstrate on how to setup synchronization between Microsoft Dynamics NAV 2009 R2 and Microsoft Dynamics CRM 2011 using the Connector for Microsoft Dynamics. Configuring Connector for MS Dynamics (Microsoft Dynamics CRM Adapter) Assuming that you had a smooth installation of the Connector, let’s start by configuring the CRM Adapter. For the CRM Online, make the following settings: Domain crm.dynamics.com User Name Windows Live ID for your CRM Online ...
Download Source Code Challenge Just had the first chance to apply PLINQ (Parallel LINQ) to the real task. When I am playing around with some new technology everything works fine, the real understanding comes along with challenges in a real use case. Currently I am working on application which processes large amount of text data gathering statistics on word occurrences (see: Source Code Word Cloud). Here what the simplified core of my code is doing. Enumerate through all files with *.txt extension. ...
I am all set, have my presentation ready. Excited, can hardly wait!! Don’t miss the early bird special for SharePoint Saturday The Conference in DC! Ends Aug 7! http://bit.ly/nXVwgm ...
Ever since I started working with SharePoint, I have always felt the “standard” grouping most training organizations make for people are the same old three: Admins, Devs and Users. True it fits most molds, but not as effective as truly understanding the value of roles. Now, the title of the post is in fact Lync Training Plans. The Lync Team has put together some guidance in the form of (drumroll!) Training Plans based on roles that go beyond your “User” grouping. You can download it here It is an ...
I’ve been slowly creating a new WP7 game over these past few months. In the process, I began experimenting with Dxt compression. It’s a very nice feature, especially on the phone where high DPIs make Dxt’s artifacts less visible. One thing I didn’t like, though, was the way that XNA’s default Texture Processor handles resizing to power of two. When using Dxt compression with the Reach graphics profile, you need to use textures that are power of two sized (e.g. 32x64). Dxt itself requires that the ...
I have to update the windows service.exe and related dll by using console on remote computer. I tried net start <servicename> but it not allowed to query or issue command on the remote computer. then I tried sc & PsService from SysInternals. sc \\<ServerName> stop <ServiceName> PsService \\<ServerName> stop <ServiceName> the problem is both of them issue stop command and returned the control but I want to sure that service is stopped completely so that I can update ...
Initial situation Normally all of our installations are registered to the company name. But now we have the effect that some (developer) tool seems to overwrite this registry entries. That results in the following: License information from operation system in registry If you run winver.exe from a command line you will see this output: Copyright and vendor information from Assemblies And in new projects the information in the AssemblyInfo are: Origin of this problem We don’t know it. Maybe it is a ...
l will show you what I am doing lately with jquery. I started out using the suckerfish menu for a customer app. All went fine for awhile but suddenly the menu started acting weird with problems indenting and such. I finally figured it must be interacting with other css stuff. So, I thought how the heck do I fix this? What if I could just use jquery and keep all of the action in jquery and put the style in in the menu class and just spit it out. Most of the properties would get put into attributes ...