Tag | Windows Posts

DECLARE @RegLoc VARCHAR(100) select @RegLoc='SOFTWARE\Microsoft... NT\CurrentVersion' EXEC [master].[dbo].[xp_regread] @rootkey='HKEY_LOCAL_MACHINE', @key=@RegLoc, @value_name='ProductName' The above code will return the installed version of windows on which the current instance of Sql Server is running. references: http://www.mssqlcity.com/Ar... ...

I will be attending Build  Windows next week.

It's a funny thing: there is literally nothing known about the contents. Well, there is: it's going to be about Windows 8 and Touch. When I read that last part (the Touch part) I knew I had to be there...

So, keep an eye on this blog and I will let you know what happens! You can also follow me on twitter @dvroegop for real time information.

Stay tuned!

Para los que quieren smartphones con Mango, cada vez hay más a la venta. La compañía Taiwanesa HTC es la segunda en sacar lanzar smartphones con Windows Mango. Mango es la última versión del sistema operativo para celulares de Microsoft. Este sistema operativo ahora si podrá competir contra iPhones y smartphones con Android. Los dispositivos HTC Radar y Titan saldrán primero a la venta en Europa y Asia, para nuestros países latino americanos Nokia parece prometedora. Microsoft debe ahora apurarse ...
I watched an awesome Channel 9 Visual Studio Tips And Tricks video, so I thought I'd share. Some great VS gems in there. Even a few Windows 7 ones, like using Alt+D to jump to the address bar in Windows Explorer, and… Read more at http://blog.danskingdom.com... ...

This is huge – and a welcomed addition.  Been waiting too long for this.

Bringing Hyper-V to “Windows 8” - Building Windows 8 - Site Home - MSDN Blogs

I went through a lot api's for windows phone 7 and couldnt find a single way to include my unmanaged code in it. Is there any way to do the same. If not why is it so ? Even in .net, microsoft allows unmanaged code to be included.
You ever have an epiphany? Have you ever tried to spell “epiphany” without spell check? So, today I was working on my slide deck for the SharePoint Conference in Anaheim on Best Practices with jQuery and SharePoint and I had a little light bulb moment. jQuery is “Fast Food” development. In those three little words you get an immediate understanding and visual that pretty much hits the nail on the head for what you are getting into with jQuery. I then threw together the following two slides to flesh ...
I have to say that it has been awhile (just over a year actually) since I've updated my blog. I feel embarassed. On the other hand, I have been quite busy - so it's not like I don't do it because I am lazy (well I am somewhat lazy), but it's because time is somewhat a scarce resource. But... I will try to see if I can muster up some moments to be active with my blog. With that said, last month (August 5th and 6th) St. Louis held the 4th annual conference of the St. Louis Day of .NET. It was a rousing ...
I have introduced a method to detect the stack size and other stack info during runtime in this article http://geekswithblogs.net/K... But what if we want to determine the stack size on arbitrary thread or for whatever reason, writing a code is not an option but wish to peek the stack size via debugger? Fortunately, there is a debugger extension (CeDebugX) provides many power tools, such as !stacktrace or !stackeval to get the stack info for ...
In this Issue: Michael Washington, Tony Champion, Ollie Riches, Gill Cleeren, Koen Zwikstra(-2-), Peter Kuhn, Xianzhong Zhu, Mike Taulty, Pete Brown, Sumit Dutta(-2-), Asim Sajjad, Dhananjay Kumar(-2-), Above the Fold: Silverlight: "Silverlight Spy September 2011 Update" Koen Zwikstra WP7: "Windows Phone 7 on-demand training available" Peter Kuhn LightSwitch: "Quick And Easy Data Management With LightSwitch" Michael Washington PivotViewer: "Extending your CXML Trading Cards in Silverlight 5" Tony ...
When developing WCF services that interact with a custom Security Token Service (STS), you will need to create at least one X.509 certificate. If you have access to a trusted certificate authority – e.g. a Windows Active Directory domain – then this task is pretty simple. But if you don’t, or maybe you would just rather create a set of self-signed certificates, here is an approach that works well for me. This particular scenario utilizes three separate certificates. The first one is named “localhost” ...
I received a surprise mail from Microsoft saying that I’ve been recognized as Microsoft Community Contributor for the year 2011. I am delighted that my contributions in TFS and ALM space have been recognised by Microsoft. Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions ...
In this Issue: Lee, Kunal Chowdhury, Peter Kuhn, XamlNinja, Ollie Riches, WindowsPhoneGeek, Jeremy Likness, Pete Brown(-2-, -3-), Dhananjay Kumar, Sumit Dutta, and Asim Sajjad. Above the Fold: Silverlight: "Using PInvoke in SL5 to show MessageBox" Lee WP7: "WP7Contrib: Dialling the phone number shown in a text block" Ollie Riches Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest Visual Studio #LightSwitch Daily is up Laurent Bugnion has some good news ...
In this Issue: Tony Champion, Kevin Hoffman, Pete Brown(-2-), Mike Gold, Jeremy Likness, Xpert360, Den Delimarsky, Sumit Dutta, Asim Sajjad, Vikram Pendse, and Michael Crump. Above the Fold: Silverlight: "Silverlight 5: Remote control and MediaCommand Support" Pete Brown WP7: "Extracting a SQL CE DB from Isolated Storage in WP7 Mango" Michael Crump PivotViewer: "To CXML or not to CXML" Tony Champion Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest Visual ...
I was really excited when I heard Red Gate wanted a review of their memory profiler done. I have been a fan of Red Gate products for years… being first exposed to their products via reflector a few years ago – as someone who has never done memory profiling before, I was also excited to go a bit deeper into .Net memory management. Why Memory Profiler – Isn’t the point of .Net that it manages the memory for you? Before getting into the nuts and bolts of the profiler, you might ask yourself – why use ...
A listbox can be a very boring display surface, but it doesn’t have to be. Ok, so it may never be exciting. At least we can create a more flexible output. The first element you need to learn about his the ItemTemplate which is in turn composed of a DataTemplate. As this combo implies it is bound to each item/data row. We will start organizing your base layout with a Grid control. Within the Grid you can add a RowDefintions group. A RowDefinition helps when you want components to be stacked for a ...
So, I noticed my good buddy Christina Wheeler (@cwheeler76) wrote a little rant post on Twitter and Facebook today: And I thought, here’s a great example where you could use jQuery and SharePoint in the wild. With jQuery you could easily hide the “Upload Multiple Files…” link… well.. I assumed you could.. I mean how hard could it be? Keep in mind that ANYTHING you see on the page that is not Flash, Silverlight, or an Active X control can be manipulated with jQuery. There’s probably a couple of other ...
Today the release candidate of Microsoft’s Silverlight 5 was released to the public. If you want to know “What’s new in Silverlight 5” then check out this page on Silverlight.net and continue reading the article below. Getting Started First, we are going to need to download the required tools to install the Silverlight 5 RC. Before getting started, please note that you can install the Silverlight 5 RC on top of the final release of Silverlight 4. If you have the Silverlight 5 Beta installed, then ...
After I released the MVVM Light installer, I got a note saying that parts of the installation failed on non-English systems (in that case a German installation of Expression Blend and Visual Studio). Specifically, what failed was the code snippets on Visual Studio, and the project and item templates in Expression Blend. After investigating, it is correct that these two particular features of MVVM Light were installed to language-coded folders. Correcting the issue for Expression Blend was easy enough ...
I have recently started to update a very successful SAP CRM integration I originally built 5 or 6 years ago. We have recently started the implementation of CRM 2011 so the business has decided to take the opportunity to change the data that they want to synchronize between the 2 systems. Luckily the integration is both modular and to a large degree dynamic. The core logic should remain relatively untouched and only the SAP and CRM connection dlls should need any real work. The changes to the SAP ...
Introduction By now, most of you have heard that Windows Phone 7 – Mango release will support Local Databases (SQL CE) using Linq to SQL. But what you probably haven’t heard much about is how to extract the .SDF that is created in isolated storage to your local computer and view the contents. I find this extremely important for debugging application and making sure my database is setup exactly like I want it. So, that is what we are going to do today. Getting Started with a sample application: For ...
In this Issue: Alex Golesh(-2-, -3-), Andrea Boschin, Peter Kuhn, Shawn Wildermuth, WindowsPhoneGeek(-2-), Jesse Liberty, Pete Vickers, Sumit Dutta, Asim Sajjad, Chad Campbell, Vikram Pendse, Michael Crump, and David Kelley. Above the Fold: Silverlight: "Silverlight 5 : Low-Latency Sound Effects" Vikram Pendse WP7: "Windows Phone codenamed "Mango" Training Course" Alex Golesh Shoutouts: Michael Palermo's latest Desert Mountain Developers is up My friends at SilverlightShow posted their top 5 for ...
To start, I love Red Gate Software’s Tools. I have loved them since the first time I started using SQL Backup and SQL Compare when I first started Geekswithblogs.net. I think they create quality products and have been a “Friend of Red Gate” for years. So know that this review is coming from a “fan boy” of sorts. What is SQL Compare? Well the name sort of says it all, this product compares SQL databases. But not just databases, but backups, snapshots, and source control using their product SQL Source ...
From Joe Healy’s Dev Fish Blog but worth repeating!! What’s a Windows Phone Camp? For those who went to our "Windows Phone Garage" series last year, its one of those. For those new to the scene, its a free, full day event chocked full of everything you need to know to develop a Windows Phone application. Whether you’re a seasoned veteran or just getting started with phone app development this full-day event is for you. Interested in profit? We’ll also lead discussions on how to monetize your applications ...
Today, I was testing a Web site for deployment and encountered the problem described in the subject of this post. However, the process leading up to realizing the true problem was far from clear. This post describes my initial experience, steps I took to isolate the true problem, and what I did to fix it. To put this in context, My project is an ASP.NET 4.0 Website. Bump! While testing, I encountered a System.Web.HttpException with the following message: File does not exist. with the following stack ...
Having worked with TFS & SVN for a while now, I recently was put in a position where I had to get up to speed with Git. My only experience with Git up to now was attending a brief presentation on the subject and spending a few hours playing around with it – interesting at the time, but foreign enough for me not to hold any strong opinions on the matter. For the last two weeks I have had to get exposure to Git, and after getting over the initial “uncomfortable” stage I must say that Git is seeming ...
Over the past couple of days I have noticed that our time on our computers just keeps getting further and further off. I noticed that our Domain Controller had the incorrect time, so, after doing some research I found a nice solution: 1. Locate the PDC Server. 2. In CMD type C:\net stop w32time 3. To configure the server to and external source type: C:\w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp... 1.pool.ntp.org" 4. Once this command completes, type : C:\w32tm /config /reliable:yes ...
The Team Explorer is a wonderful view of the position of your version control in the team foundation server. However, there is no one window of such truth available for the workspace. I am a very active member of the msdn community and have come across questions on, How do I see a list of all files that are not mapped to TFS but are in my workspace? (Yes, you can use the TFS power tools tfpt.exe /scorch or /treeclean to achieve this) I would like to see all pending changes in just one folder and ...
Introduction Have you ever wondered how to update the Application Tile in your Windows Phone 7 Mango application? Me too. But before we dig in, let’s look at the properties of a Tile. Microsoft defines each one as listed below: Title. A string indicating the title of the application. The Title must fit on a single line of text and should not be wider than the actual Tile. Approximately 15 characters will fit in the title before being truncated. BackgroundImage. An image displayed on the front of ...
I'm glad to see that mounting a VHD file has escaped the Computer Management (Disk Management) administrator console in Windows 7, and made it to Windows Explorer in Windows 8. That should make the feature much more discoverable, as well as making it much easier to use. I think the ability to mount a VHD as a drive, read and write to it and then easily port that VHD to another machine is a great feature that's been hidden in Windows 7. More on the Windows 8 blog here, http://blogs.msdn.com/b/b8/ ...
In this Issue: Gill Cleeren, Shawn Wildermuth, WindowsPhoneGeek, Erno de Weerd, Morten Nielsen, Sumit Dutta, and Asim Sajjad. Above the Fold: Silverlight: "Post Comments Using Silverlight" Asim Sajjad WP7: "Windows Phone 7 Navigation" Erno de Weerd LightSwitch: "Developing real-world applications with LightSwitch - Part 4: To query or to code, that is the question!" Gill Cleeren Shoutouts: Michael Palermo's latest Desert Mountain Developers is up From SilverlightCream.com: Developing real-world applications ...
Recently I was at a client that was experiencing an odd issue: they couldn’t activate the SharePoint Server Publishing Infrastructure site collection feature. In this post I’ll walkthrough some of the processes that we went through to diagnose the error. For those wanting the short version it turns out the web application policy for “Create Subsites” had been disabled. You can jump to the Solution section jump to the solution section below. Diagnose To start we checked the ULS logs to see what showed ...
If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution. Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about. Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered. The first step is to create an application pool. Make sure that for your .NET 3.5 WCF service ...
I recently delivered a Zeollar session on Using HTML5 Local Storage in ASP.NET Applications Following it up with a blog post on the contents, since a few mentioned that the code was not better aligned/readable. Local Storage and Offline Web Applications are 2 promising features of HTML5 going around the web apart from the (already tired of?) Videos. Local Storage (persistent storage) is not entirely new since we had cookies ever since sliced bread (or seems to be so). But, the limitation of 4KB on ...

Well simply put - flat out on a big Government IT project. This is due to go live next month and I'll be writing a number of pieces here on it.

Built on BizTalk, WCF, Windows Foundation, MVC, Entity framework and App Fabric....

In this Issue: Asim Sajjad, Thomas Martinsen, Johan Danforth, Kunal Chowdhury, Loek van den Ouweland, XAMLNinja, WindowsPhoneGeek, Erno de Weerd, Sumit Dutta, and David Yack. Above the Fold: Silverlight: "Update XAP file" Thomas Martinsen WP7: "WP7 Ad Control and OutOfMemoryException" David Yack Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Den Delimarsky is working on an 'alternative non-approval based Marketplace for Windows Phone': [Weekend coding] MetroPack – desktop Cydia ...
I know I haven't been blogging like I should be. Been playing alot of PC games in my free time. I will dial down some of that for some upcoming projects. I will be doing mobile applications in both Android and Windows Phone. I will discuss my Android projects on my personal site blog, which you can access from the link on this post. I currently don't have a Developers account to distribute my applications on the market. My plan as of now is to get my account in January. I will be in a better financial ...
Let’s define what this should mean and be about. How can I as an IT Pro be able to use TFS for the tasks and activities I normally do. Whether it is controlling a project or creating scripts and such. The vision while it goes into execution with TFS, will include a process with SharePoint somewhere in there too. Scenario #1: Change Control, Change Management or Specific no-code Project Control. As an IT Pro, what do I do? Change Control, Change Management, Project Management. The problem? Yes, we ...
It’s been quite a while since I’ve done a GeeksWithBlogs.net Influencers review. This time, I had the opportunity to check out Red Gate’s SmartAssembly 6.1, which is a integrated collection of tools for modifying and manipulating assemblies. Now that phrase, while accurate, is quite a mouthful. So what all does it actually do? SmartAssembly has the ability to: Do strong name signing; Add automated error reporting; Add feature usage reporting; Merge dependencies (e.g. libraries) into the main assembly ...
In my previous post I have shown how we can use a C# function in the XSLT. Now I want to go one step further and use in the transformation the ASP.NET controls along with their events. Let's start from the sample xml data: <files> <file Id="F58C2962-AC0D-4C55-80A8... Name="file 1" Path="D:\Temp\" Extension="iso"/> <file Id="FDC1358E-D9C8-4A70-ABE0... Name="file 2" Path="D:\Temp\" Extension="jpg"/> </files> I want to create a table from it and for each ...
In this Issue: Andrea Boschin, Shawn Wildermuth, Kunal Chowdhury, Peter Kuhn, Loek van den Ouweland, XAMLNinja, Ollie Riches(-2-), WindowsPhoneGeek, John Papa, Den Delimarsky, and Sumit Dutta. Above the Fold: WP7: "Fun With New Live Tile API" Shawn Wildermuth Expression Blend: "Icons or other visuals with XAML instead of bitmaps" Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Gill Cleeren posted his SilverlightShow Advanced Silverlight 5 webinar files From SilverlightCream.com: ...
This blog post is entirely trivial, but I just discovered it! As a keyboard centric guy I like to drive most of windows through the keyboard. One thing that’s always annoyed me in explorer is the difficulty of making a new folder. It used to be ALT-F W F ( and if you have tortisesvn is installed sometimes craziness will happen on certain folders). Basically just driving the folder creating by the menu keyboard shortcuts. Of course the “New” menu takes a while to populate as it works out all the “new” ...
If your question is, what is this? or perhaps more around … what does this mean? Let me explain a bit about it. Microsoft has been providing this type of services through partners within a given competency to clients that are looking to deploy and implement Microsoft products like SharePoint, Exchange or the strategy behind Windows and Office deployments. The way it works, well you purchase your products and perhaps those products come with Software Assurance and they have training/service credits. ...
Excited to come speak at JaxCodeCamp this coming weekend, there are many amazing session and speakers! Jacksonville .NET Code Camp - http://jaxcodecamp.com What: All day geek fest focusing on code and not marketing fluff. When: Saturday, August 27, 2011 All day (registration opens at 7:00am) Where: Univeristy of North Florida - 1 UNF Drive, Jacksonville FL 32246 Cost: Free! Sessions will range from informal "chalk talks", hands on labs, to presentations. All are welcome to attend and speak. We will ...
Introduction: One of the concerns that I keep hearing from customers is, “We can’t deploy Silverlight because it won’t run on a tablet.” I usually reply to that question stating, “What do you mean it can’t run on a tablet?” They usually looked puzzled and say, “You mean Silverlight *CAN* run on a tablet?” Yes, there are many devices that Silverlight can run on. Today we are going to take a look at the Motion CL900 Tablet. FYI: I have no affiliation with Motion Computing. Why this tablet? When I first ...
Here is the screenshot of final output. Here is what PoC is doing 1. There is Silverlight application hosted in CRM on custom area-subarea. This in-turn needs two web resources 2. There is Custom button added in Ribbon 3. Third web resource is hosting JavaScript function 4. On click of Custom Button on CRM Ribbon function in JavaScript web resource is called which in-turn calls the method in C# code of Silverlight application. String input is passed to this method 5. C# method is converting the input ...
I have been very lucky over the span of my career in that every job I’ve had since college has allowed me some flexibility to work from home. Maybe it was just one day a week, maybe a week at home and a week at work, and now I work from home more than 50% of the time. And you know what? It really struck me as totally illogical that more companies don’t allow their employees to do this! Yes, I realize not every industry has the luxury of a remote workforce. It would be kind of hard to build a house ...
In this Issue: Sigurd Snørteland, Kunal Chowdhury, Todd Brix, MIke Ormond, XAMLNinja, Ollie Riches(-2-), WindowsPhoneGeek, John Papa, Jesse Liberty, Morten Nielsen, and Gill Cleeren. Above the Fold: Silverlight: "apps portal – a silverlight based app store" Sigurd Snørteland WP7: "Windows Phone: Adding Mango features to a 7.0 WinPhone App" Morten Nielsen Expression Blend: "Expression Blend Drawing Tips" John Papa LightSwitch: "Cleaning a LightSwitch solution" Gill Cleeren Shoutouts: Michael Palermo's ...
I’ve had a lot of bad things happen to me in my life. The past few weeks I believe have been a huge test I’ve had some problems with my personal life and some natural disasters. I was thinking during this entire experience what doesn’t kill me makes me stronger. I am going through something traumatic, but you know what I can survive it. I am an incredibly durable person. When things suck I go into crisis mode when I’m on my own. I believe that what made this possible is all the traumas in my life. ...
I had a bit a of trouble today getting some classic ASP pages to load in IIS 7. Here is what I had to do: 1. Install ASP Feature for IIS if it is not installed. Server Manager -> Roles -> "Role Services" section : Check ASP under Application Development. 2. Check your application host config file for the line: <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptprocessor="C:\Windows... resourcetype="File" precondition="bitness64" /> ...