Search

You searched for the word(s): userid:2226
Page 1 of 4 (32 items) 1 2 3 4 Next >
  • Fixing the MS Office SP2 "Outlook cannot connect to your incoming POP3 account" error

    Bad Outlook Juju So, when I got up this morning, I noticed my computer had rebooted--my main development machine is a MacBook Pro, and I was booted into Mac OSX rather than Windows Vista where I had left it last night. Step 1: Uninstalling Microsoft Office SP2 I then realized I couldn't send or receive mail--the last mail I received was from last night--so I immediately suspected a problem with a Windows Update. Sure enough, after a quick Google search I determined that others were experiencing
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Sat, Oct 17 2009
  • Visual Studio 2010, .NET 4.0, C# and VB .NET 4 - What's New?

    I'm starting a series of blog posts today on what's new in the following technologies: - Visual Studio 2010 - .NET 4.0 - C# and VB .NET 4 I'll be giving my take on these technologies, grading them, and talk about how they can and should impact your software development. Here's the big picture for Visual Studio 2010...in subsequent posts we will dive down into details of the new features. Visual Studio 2010 Visual Studio itself has changed more than any of the other technologies. Working
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Wed, Oct 14 2009
  • ASP.NET: Storing JavaScript in a separate .js file

    Rather than hard-coding your JavaScript into an aspx page, you can store you JavaScript functions in a separate .js file. This allows your furnctions to be used from multiple pages. For example, you could add a .js file to your project (right-click your project and select Add New Item | JScript File ) from the shortcut menu) and place the following function in it: function isValidEmail(emailAddressControl) { var emailPat = /^(\ ".*\"|[A-Za-z]\w*)@(\[\d{1,3}(\.\d{1,3}){3}]|[A-Za-z]\w*(\
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Sat, Oct 3 2009
  • Entity Framework "Problem in Mapping Fragments" Error

    If you add an entity to the Entity Data Model, then later add another entity that is related in the database to the first entity, Visual Studio will give you a "Problem in Mapping Fragments" error. For example, if you add a Northwind database Orders table using the EDM Update Wizard, it produces an entity that looks has an EmployeeID property that corresponds to the EmployeeID foreign key column of the Orders table. Next, if you add a Northwind database Employees table using the EDM Update
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Mon, May 18 2009
  • Problem: "Mapping URI" errors with WPF Assembly Names that include spaces

    This is a somewhat insidious bug. As it turns out, if you have spaces in your WPF project's assembly name, you can get "Mapping URI" errors in your project's XAML (even if the solution itself builds properly). As you might imagine, you can get around this bug by changing the namespace. For example: Change this: OakLeaf MM WPF To: OakLeaf.MM.WPF Kevin McNeish Microsoft .NET MVP INETA Speaker Chief Architect, MM .NET Application Framework http://www.oakleafsd.com
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Wed, Apr 29 2009
  • Getting Expression Blend to Launch VS 2008

    If you have multiple versions of Visual Studio on your development machine, Expression Blend may launch the older version (for example, VS 2005) rather than VS 2008. To get Expression Blend to launch VS 2008, follow these steps: Run the Windows Registry Editor by launching a Command Prompt window (Windows Key + R), entering regedit and pressing ENTER. Navigate to HKEY_CLASSES_ROOT\VisualStudio.DTE.9.0\CLSID . In the right pane, double-click the (Default) value to edit it. In the Edit String dialog
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Tue, Apr 14 2009
  • DevTeach, 2008 Montreal - Free VS 2008 Pro, Expression Web 2, and Tech-Ed Dev Set

    As if DevTeach 2008 isn't a sweet enough deal, Jean Rene Roy announced today that if you register for the conference, you get Visual Studio 2008 Professional, Expression Web 2, and the Tech-Ed Conference DVD Set for free! I've been speaking at DevTeach since the very first conference, and I have to say that Montreal is my favorite conference city--it's a great vacation spot, a beautiful city, and lots to see and do. I'm giving a "WPF at Work in the Real World" pre-conference
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Fri, Nov 7 2008
  • DevTeach Toronto, 2008 - A Great Conference!

    DevTeach ( www.devteach.com ) is one of the best deals in .NET conferences...it's a great small conference that gives you access to many of the regular .NET speakers but in a much smaller venue. Personally, I'm giving a pre-con called "WPF Meets the iPhone" which elaborates on my article in CoDe Magazine ( http://www.devx.com/codemag/Article/37589 ). In this pre-con you learn a lot about WPF in general as we do something fun--recreate the iPhone user interface in WPF. Kevin McNeish
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Thu, May 8 2008
  • How to select a different WPF TabItem in Visual Studio 2008

    Sadly, Microsoft did not provide a TabControl designer for Visual Studio 2008. If you want to edit a TabItem, you can get around this limitation and select a TabItem other than the default by temporarily changing the TabControl's <<b>>SelectedIndex<</b>> property to the index of the TabItem you want to edit. Kevin McNeish INETA Speaker Microsoft .NET MVP President, Oak Leaf Enterprises, Inc. Chief Architect, MM .NET Application Framework http://www.oakleafsd.com/
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Tue, Mar 25 2008
  • How to apply a WPF style to all elements of a particular type?

    Often, you need to apply the same style to elements of a particular type, such as Button, TextBox, MenuItem, and so on. To do this, specify a style that uses the TargetType attribute. The following example demonstrates specifying Font settings and a Background color for all Buttons on a form: <Window.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="FontFamily" Value="Times New Roman" /> <Setter Property="FontSize" Value
    Posted to Kevin McNeish [C# and .NET] (Weblog) by KevinMcNeish on Mon, Jan 7 2008
Page 1 of 4 (32 items) 1 2 3 4 Next >