Tag | Microsoft Posts

I originally started looking for how to make a TextBox have autocomplete capability. Strangely all the articles said that it couldn’t be done. The last thing you want is for your applications to make your users struggle entering information when every other application gives them a quicker entry method. So what is the solution? The TextBox tag has an InputScope property which if you set it to Text it builds a dictionary list as the user types. For the other InputScope types it mainly changes the ...
I'm not a desktop application developer. I wrote only one app using the WinForms, but I must tell, it was interesting experience. Now I'm writting second WinForms app and second time, I needed the possibility to updating the progress bar in an app. So I think this is a good opportunity to put on the blog the code snippet for that to have a place where I can have some useful code for future references. Ok, so let's go to the solution details. As every desktop application developer know (or should ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 8 - 14, 2011. Here are the top 5 news on SilverlightShow for last week: Understanding the Microsoft Shift on Silverlight and HTML5 Building a CRM Demo using RadControls for Silverlight and OpenAccess ORM Create PDF in Silverlight New book coming soon: Real World .NET 4 and C# Mango RTMs! Now what? Visit and bookmark SilverlightShow. Stay in the 'Light ...
Last month at the Microsoft WPC I had the opportunity to see Richard Branson do a live Q&A during one of the morning keynotes. I honestly knew very little about Branson, other than he headed up Virgin – which was, what, a music, mobile phone, and airline company that was also looking into space travel? My education into all things Branson was about to begin. You can see the entire video of the Q&A from the WPC site here, but what was really awesome was the initial intro video that gave a ...
The protocol 'net.msmq' is not supported If you get this error you need to do the following steps :- You can just do the following if everything is right in place for you :- 1. Open IIS -> Your Website -> Advanced Settings -> Enabled Protocols This will have only http. You need to add net.MSMQ separating it by a comma like this : http,net.MSMQ 2. If it still doesnt work you need to do the following for activating MSMQ in your machine :- Open visual studio command prompt as administrator ...
Drama ensues... For more than a week I have been stressing, sleeping bad and being generally grumpy at the lack of feedback... Hell, even my girlfriend got news that she was accepted for a job in Belfast (Tourism Ireland!) before I got news from Microsoft. I did finally get some feedback but in all honesty it was not what I wanted to hear :). While you interviewed very well and your technical skills were strong we have unfortunately selected another candidate for the position. It was a close call ...
The Microsoft SQL Server team has been interacting on a regular basis with developers and users in the form of surveys. If you have 15mins spare and would like to do your bit to help shape the roadmap for SQL Server then please pop over to http://www.zoomerang.com/Su... And… My own simple one question version if you only have one minute to spare. Apologies in advance for stuff I left out! Related Links: More details of the survey are posted on the ADO.NET team blog ...
When you have an application that navigates to more than one level of pages you find situations where you don’t want to go back to the previous page. Originally I was thinking that the answer was to capture the OnBackButton event and force the navigation back to the main page, but through several posts I found that this would not pass certification. Here is a link that really helped to figure out a more appropriate solution. To be a little more complete here is example code that you can use use for ...
In September we will start to deliver monthly workshops on the Windows Azure Platform to help Microsoft partners who are developing software products and services and would like to explore the relevance and opportunities presented by the Windows Azure Platform for Cloud Computing. Overview: The workshops are designed to help partners such as yourself understand what the Windows Azure Platform is, how it is being used today, what resources are available and to drill into the individual technologies ...
I often get asked about how we are using Windows Azure internally and under NDA I can share some of the details – but its great to be able to point publicly at some of the excellent work that has been going on. And they are genuine technical case studies … hurrah! :-) How Microsoft IT Deployed a Customer Facing Application to Windows Azure in Six Weeks Learn how the Microsoft IT Volume Licensing team gained experience with Windows Azure by focusing on a straightforward, isolated customer-facing application ...
A new blog has appeared from the engineering team to have a two-way dialog with you about design choices, real-world data and usage, and new opportunities that are part of Windows 8. We showed you a preview of Windows 8 in June, demonstrating the user experience and providing an update on ARM SoC support. The next major event for Windows is our BUILD conference in September, where we will provide developers with more details about the full spectrum of tools and capabilities available to make the ...
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 ...
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 ...
At http://john-sheehan.com/blo... is an excellant compendium of cheat sheets. Proud user ofInstant C# and VB.NET code generation in Microsoft Visual Studio ...
At http://computer-forensics.s... there is a free specialised tool for imaging suspect PCs and exmining the image running under VMWare. Proud user ofAdvanced XML support inMicrosoft Visual Studio XML editor ...
There is a misunderstanding about SQL Injection attack in that some people think that that is is restricted to Microsoft. Here is a case where it happened on a PHP system. see http://www.securityfocus.co... Proud fan ofThe best C# & VB.NET refactoring plugin for Visual Studio ...
The origin of the following is now lost in the mists of time but it bears repeating. A big party is being held to honor relational database systems & their impact on the modern society. Outside the venue, the host awaits the guests. The first limousine arrives and out steps Oracle followed by 4 people Host: Who have you brought along? Oracle: I have 4 DBA’s in tow. One to install me, one to design the databases, one to administer me and the other to justify the cost. A second limo arrives and ...
So Microsoft had another Dev4Devs event and I got to present. My topic was an introduction to Reactive Extensions and I really enjoyed preparing for this one. For those who attended and those that are interested please find links to the slides and example code ...
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 ...
Performing Composite Operations on Oracle Database is very similar to SQL Server Database. I just want to point out one mistake developers might easily make during the send port configuration. For any composite operation, the generated binding script doesn't include the composition operation tag in SOAP action header, therefore a new line needs to be manually added for each composite operation during the send port configuration. For WCF SQL Adapter, it looks like <Operation Name="CompositeOperationName" ...
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 ...
I’ve written about Visual Studio LightSwitch several times in this blog and in my Redmond Review column, including this month’s piece, “LightSwitch: The Answer to the Right Question.” All throughout, I’ve been pretty clear in my support of the product. A little over two weeks ago LightSwitch shipped, and I think it’s off to a very good start. To help it along, I wrote a series of five whitepapers on LightSwitch for the product team, and they were just published by Microsoft. You can find them all ...
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 ...
No matter which ORM or data access technology you use, at some point you just need to do some CRUD, and you need to do it fast. In this post, I’m going to show you how to get your CRUD on with the latest version of Entity Framework in no time flat. In fact, I’d be surprised if the code to get your first CRUD operation done takes you more than a few minutes. The one thing the EF team did right with Code-First is make it really easy, but most of the “getting started” videos and documentation is packed ...
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 ...
Recently I was tasked with rebuilding or migrating our Certificate Authority to a new server. The previous server was 8 years old and was holding some pretty critical information. Some of which was a Domain Controller, Certificate Authority, Email, Public Folders, Share Folders, and some Printers. Since our Public Folders were not replicating, that was the first priority. I solved that by changing the IIS port that was configured, once that was solved, the Public Folders took off. Second challenge ...
A couple of other bits of advice about getting Sync. Framework applications up onto Azure. Azure now supports new startup commands. This makes it way easier to install the necessary managed and unmanaged dll’s you need. Based on yesterdays post, I then followed - http://social.msdn.microsof... The other thing I just found out, is that you get GDI+ errors if you try and save a bitmap to a stream as a PNG on Azure. Use JPEG’s instead… ...
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 ...
This is my first post here, and I’m really happy to be a part of this thriving community! I would like to use this post as an introduction to myself. I’m Ahmed Mohamed an Egyptian Mechanical Power Engineering student, and I’m really interested in programming, especially 2D games with Microsoft XNA. I’ve started programming 6 years ago using Visual Basic 6 as a hobby, then learned HTML, .NET, C# and C++. Slowly after getting a good grip of C#, I was very interested in XNA, and soon after it’s launch, ...
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 : ...
So in the process of going live on a mobile solution that uses Microsoft Sync. Framework, on Azure. I came across this really useful guide on how to package up the various elements of the Sync. Framework to get it running on the Azure servers. http://msdn.microsoft.com/e... If you follow it to the letter, you’ll be up and running in no time ...
Update: These have been superseded and included in later Cumulative Updates. See http://wblo.gs/cu8v for checking what you got and updates, or download the tool. Also see info about the updates and extensions here.During the summer Microsoft has released two important hotfixes for the Testing tools. These two hotfixes solves 7 serious problems: # Issue solved Fix in : 1.1 Appdomain error when running a test agent on a computer with Visual Studio installed 1) 1.2 Exception with search error may happen ...
A recent picture taken by the MESSENGER spacecraft in orbit around Mercury, shows a smile! The "smiling crater" can be seen at http://messenger.jhuapl.edu... The Dawn spacecraft is now in orbit around the minor planet Vesta. NASA's web site for Dawn is at http://dawn.jpl.nasa.gov/ There is a video of Vesta rotating at http://www.youtube.com/watc... And where is New Horizons, NASA's Pluto-Kuiper Belt mission? It is now 20.68 AU from the Sun ...
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 ...
The IE6 Countdown continues - two more Countries (Sweden and Denmark) are now below 1%! I congratulate the users in these countries for upgrading their browsers. I note that the Czech Republic and Poland are now at the 1% level. Soon they too will have consigned IE6 the the Museum! So what are you doing to encourage your clients and your friends to upgrade to a more up to date browser? Can't code withoutInstant C# and VB.NET code generation in Microsoft Visual Studio ...
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 ...
One thing I’ve always enjoyed in Silverlight/WPF are the easing functions ( http://msdn.microsoft.com/e... ). The easing functions are commonly used to provide interesting looking animations via key frame-based interpolation. XNA has a few, limited bits of interpolation built in (primarily Lerp (i.e. linear interpolation) and SmoothStep (i.e. cubic interpolation)). For a sprite animation project that I’ve since set aside (it’s not dead, but it’s been back-burnered for a while ...
I had some really great responses to my last post regarding some bad code I've shown to interviewees - pretty much everything I intended to be bad was spotted, as well as some interesting points I hadn't considered. Here's the code again along with the bad bits as I saw them, and then I'll go over the extra points raised in the comments. The bad code: namespace MyNamespace { using System; public class Customer { public void PlaceOrder(string orderReference, OrderedProductData[] orderedProductData) ...
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/ ...
This post is a quick one to post some SharePoint code. This post refers to the post posted by Eric Overfield. Refer to the post to get the full background, but he explains how the OnPreInit event method overrides any MasterPage assignment you might put on your Page Layout. He eludes to the fact that you can use reflector to see that the URL to a master page is overridden. I thought I would post the code. So you understand what is happening in the method and how you can set the master page url. It ...
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. ...
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 ...