Tag | Visual Studio Posts

Issues Installating BizTalk on Windoes 2007 If you get the following error: Installing BizTalk on the Windows 7 platform, [5:02:36 PM Info SSOServerCfg] (ssoconfigobj2.cpp:5125) Returning error description: <Exception Message="Failed to connect to the SQL database 'SSODB' on SQL Server ''." Source="SSO" HelpID=""><Exception Message="(0x80131700)" Source="Win32" HelpID=""/></Exceptio... 1. You can use the cmd prompt or the visual studio command prompt 2. For command prompt use the ...
Today, at the Silverlight Firestarter event on the Microsoft Campus in Redmond, Scott Guthrie (Microsoft’s Corporate Vice President, .NET Developer Platform) announced Silverlight 5 and introduced us to its features. Among them: 1080p video, GPU-acceleration, "trickplay" (variable speed playback with pitch correction) WS-Trust support, low-latency networking for real time apps Ability to set breakpoints on data binding expressions and debug them Merging into Silverlight of WPF data binding features ...
This is for TFS2008. This is based mainly on this article: http://blogs.msdn.com/b/jpr... But also had input from these: http://www.woodwardweb.com/... http://blogs.msdn.com/b/buc... http://blogs.msdn.com/b/jim... Also the following article discussing upgrading a ...
Few months ago I wrote a series of blog posts about creating a dynamic rows in GridView and Table. In this example I'm going to demonstrate how to build a simple form that allows you to create a dynamic row using the standard ASP Repeater control. To get started, let’s grab a Repeater control from the Visual Studio Toolbox and place it in the WebForm. The mark up should look something like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml... ...
As we have transitioned into a new release of the Azure Platform with added features, like the VM Role among other great things, it is time to get some additional functionality into Visual Studio as well. Below you will find links to the tools refresh and also the new training kit for November. Tools http://www.microsoft.com/do... Training Kit http://www.microsoft.com/do... ...
Setting up a WCF RESTful service is extremely easy to do. In fact, you can do this with no *.svc file and no config file. However, you might run into a situation where your service worked fine during development using the Visual Studio web server but when you deploy to IIS 7.5 it no longer works. Specifically, for a simple request like http://localhost/help you get the error: “HTTP Error 404.0 - Not Found. The resource you are looking for has been removed, had its name changed, or is temporarily ...
All-In-One Interop and Fusion Code Samples Introduction Download Interop and Fusion code samples Request Interop and Fusion code samples Introduction The All-In-One Interop and Fusion code samples demonstrate the typical programming topics about .NET - native interop, COM interop, fusion, .NET Reflection, etc. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration ...
All-In-One Windows Shell Code Samples Introduction Download Windows Shell code samples Request Windows Shell code samples Introduction The All-In-One Windows Shell code samples demonstrate the typical programming topics about extending Windows Shell and using the Windows Shell APIs. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they ...
All-In-One Office Development Code Samples Introduction Download Office development code samples Request Office development code samples Introduction The All-In-One Office development code samples demonstrate the typical programming topics about Microsoft Office. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Office ...
All-In-One Windows Base and .NET General Code Samples Introduction Download Windows Base and .NET General code samples Request Windows Base and .NET General code samples Introduction The code samples demonstrate the typical programming topics about Windows Base and .NET General. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. Visual Studio 2008 Windows Base and .NET General Code Samples Sample ...
All-In-One Data Platform Code Samples Introduction Download Data Platform code samples Request Data Platform code samples Introduction The All-In-One Data Platform code samples demonstrate the typical programming topics about ADO.NET, Entity Framework, WCF Data Services, ADO, and other Data Platform technologies. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration ...
All-In-One Windows 7 Code Samples Introduction Download Windows 7 Code Samples Request Windows 7 Code Samples Introduction Windows 7 provides many new programmable features, e.g. the new Taskbar, the Shell Library, the service trigger-start feature. The All-In-One Windows 7 code samples demonstrate the typical programming topics about Windows 7. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. ...
All-In-One WPF Code Samples Introduction Download WPF code samples Request WPF code samples Introduction Windows Presentation Foundation (WPF) provides developers with a unified programming model for building rich Windows smart client user experiences that incorporate UI, media, and documents. The All-In-One WPF code samples demonstrate the typical programming topics about WPF. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our ...
All-In-One Windows Forms Code Samples Introduction Download Windows Forms code samples Request Windows Forms code samples Introduction The All-In-One Windows Forms code samples demonstrate the typical programming topics about Windows Forms. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Windows Forms projects. Visual ...
All-In-One ASP.NET Code Samples Introduction Download ASP.NET code samples Request ASP.NET code samples Introduction The All-In-One ASP.NET code samples demonstrate the typical programming topics about ASP.NET. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing ASP.NET projects. Visual Studio 2008 ASP.NET Code Samples ...
All-In-One Silverlight Code Samples Introduction Download Silverlight Code Samples Request Silverlight Code Samples Introduction Silverlight is a powerful development platform for creating engaging, interactive applications for many screens across the Web, desktop, and mobile devices. The All-In-One Silverlight code samples demonstrate the typical programming topics about Silverlight. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers ...
· Download Pages: o English: http://go.microsoft.com/fwl... o French: http://go.microsoft.com/fwl... o German: http://go.microsoft.com/fwl... o Italian: http://go.microsoft.com/fwl... o Spanish: http://go.microsoft.com/fwl... · Announcements: o Jason Zander: http://blogs.msdn.com/b/jas... ...
I've gotten used to Resharper's recommendation for defensive coding (see http://en.wikipedia.org/wik... – never trust the client! private void Bar(string x){ if (x == null) return; But how to get this to play with Design By Contract using Code Contracts? I had a look at http://weblogs.asp.net/gunn... - which shows me how to leverage the ContractFailed event and throw my own exceptions. I don't want to throw ...
Whilst this book is about the building of a CMS system, the subtitle of "Advanced Techniques for C# Developers using the .Net 4 Framework" is better. Since the book is based upon a successful C# 2010 solution, it is book of Precept and Example rather than just Precept. Chapter 1 provides examples on how the new features of Visual Studio 2010 provide a real business benefit. Show it to budget holders that are holding out on upgrading to VS2010 - it will encourage them to agree to the upgrade. I am ...
I found this fix online which appears to have resolve this issue, so I wanted to share it here. I take no credit/responsibility for it, except to say that it has resolved the issue for me. Set the 32-bit flag on resgen.exe a. Open a Visual Studio command-prompt as an administrator b. Navigate to the Microsoft SDKs\Windows\v7.0A\bin directory. c. ***SAVE A COPY*** of your original resgen.exe file. This is very important if you want to be able to replace our tweak with the original file without having ...
Sandbox solution is a new feature introduced in SharePoint 2010. It's a secured wrapper around webparts and other elements with limitations. There is no thumb rule that every webpart in SharePoint 2010 belongs to Sandbox Solution. But it's recommended to develop webparts with Sandbox solution. It allows administrators to monitor the solutions and control as required. SharePoint Site Collection administrators can view the resource utilization of each solution and can block if it consumes too much ...
I have been working with infopath 2007 to build an application for SharePoint. I put together a dashboard that pushes and pulls data from lists within SharePoint. With Visual Studio Tools for Applications you can write code that will accompany the form for extra functionality. Part of the code is that you can reference the "Microsoft.SharePoint.dll" to have access to the SharePoint object model and ultimately the data in SharePoint. Part of the architecture decisions I made quite early was to implement ...
I was working on an application at work when I needed to figure out a really trivial case, well, trivial in theory at least. All I wanted to know was if a button was completely inside a rectangle. Could anything else be simpler you think. Just check the button bounds against the rectangle bounds, pseudocode if (Button.Top > Rectangle.Top && Button.Left > Rectangle.Left && Button.Right < Rectangle.Right && Button.Bottom < Rectangle.Bottom) { //Button is inside rectangle ...
Whilst reading through Design Driven Testing (ISBN 978-1-4302, I came across a very telling statement concerning the expansion of use cases. This was in the context of sunny days (default course through the application) and rainy days (the paths travelled when things go wrong). The quote I want to share with you is this: "If the rainy days scenarios are not explored in sufficient depth before coding begins, all sorts of nasty surprises can leap up during coding, often resulting in a need to rethink ...
Is unit testing a difficult thing to ask for? I don't understand why developers try to simply avoid unit testing. We have unit testing integrated to Visual Studio; there is also NUnit. These make life easier, not difficult. Maybe, it needs a little getting used to at first; but eventual benefit simply outweighs all the pains. I have noticed that people try to build unit tests if they are carefully watched; otherwise they tend to skip. It is sometimes difficult to implement strict procedures in a ...
Let’s face it: not everybody can afford a full-blown Surface unit in his or her house. But most of us can afford a windows 7 touch enabled computer. The prices for these kind of devices have dropped a lot since the introduction of Windows 7. Companies such as Dell, HP and others offer notebooks as well as desktop systems that can handle multi-touch for a reasonable price. And with touch you’re halfway there. What you don’t have is the object recognition of the Surface. And the rigidity of the Surface ...
I just got my first WP7 (an LG Quantum) about ten hours ago. Since then I’ve explored it, played games on it, registered it as a dev phone, deployed my project that’s nearest to completion and tested that, taken some pictures, transferred some essential albums to it, downloaded some apps and some trials, and setup my twitter account and several email accounts both standard and custom. Between one thing and another, I never had a chance to use an actual phone until now. So I’ve been running on pure ...
I was lucky enough to attend Visual Studio Live! in Orlando on November 14th-17th. There were so many great speakers and the networking was great. I met a lot of really cool people and we talked about everything .NET (from WP7, Silverlight, C#, ASP.NET WebForms, AJAX, MVC 3.. and so forth). I took a lot of notes during all the sessions and wanted to provide it to those that could not come out. If you follow me on Twitter then you have seen most of these. Most of the authors put slides/source code ...
It's a common question very often I've been asked. Well , Microsoft defines "SharePoint is a Business Collaboration Platform for the Enterprise and the Internet". It's a perfect definition or IT Pros (esp. CXOs), but when it comes to Developers it requires more or different definition. SharePoint first released in the year 2001 as SharePoint Portal 2001. Basically It's a portal which has functionalities for intranet website. The features can be used as it is or can be customized minimum level. SharePoint ...
Even though I'm running Windows 7, I still need to fire up Visual Basic 6 every once in a while to maintain my employer's ancient apps. The steps below were put together from a few posts on different sites; mostly for Vista, but so far everything has been running smoothly on 7 for me. Create a 0-byte file in the C:\Windows directory called msjava.dll. Don't just install via the Autorun executable; instead browse the Visual Studio 6 CD (or folder), right-click Setup.exe and select Run As Administrator. ...
The following issue was encountered on a developers machine when trying to create a SharePoint project using Visual Studio 2010. From the File menu the developer selected New->Project and then selected ‘Empty sharepoint project’ (SharePoint 2010) and then typed in the url into the dialog box that appeared and then hit the Validate button. Upon clicking the button, the following error message was shown: Cannot connect to the SharePoint site: http://serverX:6666/. Make sure that the Site URL is ...
Thanks to everyone who attended my session at PDC10 Reston on Friday. The links to the various code and resources I using during the presentation can be found here: PowerPoint and Main Solution Visual Studio Async CTP WCF Web APIs ...
In this Issue: Brian Genisio, goldytech, Martin Krüger, Shawn Wildermuth, John Papa, Kunal Chowdhury, Michael Washington, Joost van Schaik, Karl Shifflett, Joe McBride, Bruno Terkaly, Xpert360(-2-, -3-), and Brad Tutterow. Above the Fold: Silverlight: "Customized Scrolling in Silverlight using Expression Blend" Kunal Chowdhury WP7: "Windows Phone 7 Development for Absolute Beginners (The parts you care about)" Michael Washington Training: "In the Box – MVVM Training" Karl Shifflett Shoutouts: bspann ...
You are reading an old version of my weblog. Please update your bookmarks to http://www.timmykokke.com If you often use open source libraries you probably have a large library with various tools, like I do. NuGet is an extension for visual studio that enables you to install, uninstall and upgrade open source packages into your application very easily. Say for example you want to use MvvmLight or Ninject in your project, with NuGet it’s nothing more that tell it to add the package to your project. ...
You are reading an old version of my weblog. Please update your bookmarks to http://www.timmykokke.com Intro Visual States are an easy way to change the looks of your controls based on certain states. This state can be something like a mouse hover, some invalid state or any state you need in a control. For this tutorial I chose a traffic light control that can be one of four states. Green, Orange, Red and Inconclusive (blinking orange). In the end I show you how to use behaviors on buttons to set ...
I spent this week in Berlin in company of about 5000+ other geeks at Microsoft’s TechEd Europe. I had experienced the conference for a very short time last year as I spent just 2 days helping on the Silverlight booth at the Technical Learning Center. This year however I was invited to give two talks and participate in a panel of experts. Read the rest of this entry » ...
Readers of my blog and/or column know that I am a big fan of PowerPivot. And because of that, I was excited to see, both at June’s Microsoft BI Conference (part of Tech Ed) and this week’s PASS Summit, that the PowerPivot technology will become more entrenched. What Microsoft showed in June was that the full-fledged SQL Server Analysis Services (SSAS) product would support the in-memory BI (IMBI) engine, known within Microsoft as VertiPaq. This cool columnar, in-memory technology will not be limited ...
I create quite often some small console application to do this or that. But the standard Console Application project is rather … empty. To prevent me from reinventing the wheel over and over again I sat down and created a more usable Console Application skeleton. The features are Functional style command line parser Console Coloring Error Handler set up (try/catch around Main and AppDomain.UnhandledException Handler) Help Clean Code No additional dependencies required. Only 20 KB of additional source ...
Recently we upgraded one of our solutions from Visual Studio 2008 to Visual Studio 2010. After checking in our code to our 2008 Team Foundation Server, the CI build unexpectedly failed. We were getting errors like: c:\build\MyApplication\MyAp... error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\Vis... was not found. Confirm that the path in the <Import> declaration is correct, and that the ...
In this Issue: Katka Vaughan, Jesse Liberty, Kunal Chowdhury, Karsten Januszewski, Michael Crump, Mike Taulty, and Beth Massi. Above the Fold: WP7: "Netflix Browser for Windows Phone 7 - Part 2" Katka Vaughan LightSwitch: "Beginners Guide to Visual Studio LightSwitch (Part–3)" Kunal Chowdhury Shoutouts: Mindscape announced the release of Silverlight Elements 2.0.. great set of Silverlight controls. Check out their post and their Limited time offer: Silverlight Elements 2.0 is here! From SilverlightCream.com: ...
This is the last post in a series of articles detailing the process of building/deploying a WP7 application. I’ve walked you through setting up the tools, to playing with the hardware to deploying your application to the actual hardware. Now I’m going to show you how to submit an app to the market. I’ve provided a link to all the articles mentioned below. From start to finish with the final version of Visual Studio Tools for Windows Phone 7 Hands-on : Windows Phone 7 Review Deploying your Windows ...
If you generate CAML using LINQ to SharePoint in Visual Studio 2010 then you might see this bug popup: If you are writing a CAML query to filter records based on Date and Time, and this query is generated using LINQ To SharePoint then you will get the following CAML query generated: <View> <Query> <Where> <And> <Eq> <FieldRef Name='Title' /> <Value Type='Text'>{0}</Valu... </Eq> <Lt> <FieldRef Name='QuoteTime' IncludeTimeValue='TRUE' /> ...
In Visual Studio 2010, you now have the ability to use optional parameters and named arguments. Optional parameters are declared with a default value in the method signature, and allow you to omit the arguments when invoking the method, while names arguments allow you to provide and argument using the name of the desired parameter, instead of depending on the position. This is the one I'm most interested in, since it's going to make for more readable code and less risk when modifying method signatures. ...
Sample download In Part 1 and Part 2 of the series, we gave an introduction of writing Windows Shell extension in .NET Framework 4, and demonstrated a "skeleton" Context Menu Handler, and a "skeleton" Infotip Handler. - Context Menu Handler - Infotip Handler You are looking at the third part of the series. It introduces writing Windows Shell Thumbnail Handler with .NET Framework 4. CSShellExtThumbnailHandler: Shell thumbnail handler (C#) VBShellExtThumbnailHandler: Shell thumbnail handler (VB.NET) ...
Turns out you can't just move a TFS warehouse/cube from SQL Server 2005 to 2008... Once performed we got the following error on the TFS app server tier - when we tried to update/process the cube (both manually and via the TFS scheduler service): Detailed Message: Failed to load adapter Microsoft.TeamFoundation.Wa... Exception Info: \n Microsoft.TeamFoundation.Se... Error encountered when creating connection to Analysis Services. Contact ...
ShaprBox version 1.0.2 is out and contains some requested community features, changes and a bunch of bugfixes as well. Many thanks to all people who reported issues and feature requests from their projects. Special thanks to Yury who helped out to find the right solution for our performance issues in the GetFolder-API. You will find the new version of SharpBox on the project website at codeplex: http://sharpbox.codeplex.co... The following list gives you a brief overview about the ...
We I first received this book, I was not sure what to expect. When it comes to development topics on debugging the spectrum is very wide. Most developers, including myself, only use basic techniques for day-to-day debugging. These get us through our problems quickly and they work well for 80% of the bugs we encounter. We forgot to close a connection, we didn't set a variable, we forgot to exit a loop, we fat fingered a variable name. All of these are daily errors we as developers face and fix with ...
Microsoft have issued a CTP add-on for Visual Studio 2010 to make Asynchrnous Programming easy! Please see the blog at http://blogs.msdn.com/b/som... The add-on can be downloaded from http://www.microsoft.com/do... Please note that this is a CTP and so should only be used for evaluation of the new technology ...
On Thursday October 28th, 2010, I had the privilege of attending and speaking at the SoFla Local PDC10 hosted by the Gold Coast and Miami .Net User Groups. While most local PDCs focused on viewing the Redmond event, South Florida kicked it up a notch by availing some of the community’s local speakers to comment and address any questions the audience might have. I greatly enjoyed covering and answering audience questions on WebMatrix, Razor Syntax, ASP.Net Web Pages Helpers, IIS Express, ASP.Net MVC ...