Janne Mattila's blog

From programmer to programmer -- Programming just for the fun of it

Browse by Tags

Tagged Content List
  • Blog Post: Internet Explorer 8 and InPrivate Filtering

    I just noticed pretty cool feature which I have previously managed to miss. And that is InPrivate Filtering in IE8. It’s basically mechanism that allows you to filter content from the web pages. Previously I haven’t thought this as “ Adblock functionality ” but I did a test and noticed huge difference...
  • Blog Post: Live Mesh + Visual SourceSafe = Code everywhere!

    For long time I have wanted have my code _ everywhere _. Just because I have 3 different computers that I use to write my own stuff. Obviously it would be nice to have version control system (such as Team Foundation Server) but for my own use it would be quite heavy solution. And many times when I have...
  • Blog Post: Visual Studio 2008: Track Active Item in Solution Explorer

    If you’re working on solution that has many projects and many project items and you tend to get lost between your files ... You might want to go to Tools –> Options –> Projects and Solutions and set Track Active Item in Solution Explorer on. For me it was a big relief that I found it. I’m working...
  • Blog Post: Attaching debugger to w3wp.exe using nice and easy keyboard shortcut

    How many times have you done some web development and used following method to attach your Visual Studio Debugger to w3wp.exe (a.k.a. Debug > Attach to Process –method):   And then you scroll the long list and find your w3wp.exe and press attach: I’ll bet that you have done that a lot :-) At...
  • Blog Post: Web Services and namespaces (or WCF?)

    You might have encountered following situation: 1. You have created class library “MyLibrary” and it contains following class: 1 2 3 4 5 6 7 8 namespace MyLibrary { public class Employee { public string FirstName; public string LastName; } } 2. You have...
  • Blog Post: Tip: Disable RunOnce from Internet Explorer in your VPC images

    If you’re working with VPC images that cannot connect to internet you might have noticed annoying thing at Internet Explorer. IE tries to connect to internet so that it could finish up the setup. It’s good if you CAN connect to internet but it’s really annoying if you won’t ever have network connection...
  • Blog Post: Use LINQ to access CRM objects

    If you have written small console application to check some data from CRM database you have probably already read this article from MSDN: Use Filtered Views . That is okay but honestly I’m currently more into LINQ solution. I’ll show you what I mean... First I'll create new Console Application project...
  • Blog Post: Maximize the use of CPU with parallel extensions (+ some WPF stuff)

    Since this is my 40th post to this blog I decided to go back to square one… or post one actually :-) I’m going to create Windows Presentation Foundation (WPF) application that solves the Knight’s Tour puzzle. I actually didn’t know about this puzzle before I bought book called Puzzles for Programmers...
  • Blog Post: Link: SharePoint slow spin-up times…

    I accidently found myself on this page: SharePoint 2007 Quirks - Solving painfully slow spin-up times . After reading that article I was forced to test that. And my stsadm experience was really fast after that! So this link deserves a link post even if I don’t do those normally :-) Anyways... Happy hacking...
  • Blog Post: Adding CRM 4.0 to your own win app with web form authentication

    Last year I wrote small article Adding MS CRM to your own windows forms applications that demonstrates the usage of CRM in your own custom windows forms applications. In CRM 4.0 the story is pretty much the same but there’re few things that you need to take into account so that everything works as you...
  • Blog Post: CRM 4.0 (or SharePoint or custom application) and DebugView

    Every now and then I’m find myself trying to solve same issues over and over again :-) That’s why I found myself (again) using DebugView as my debugging assistant at remote box. If you don’t know what DebugView is then you should definitely try it out. I’m going to give you few ideas how you could use...
  • Blog Post: Custom SharePoint application and System.IO.FileNotFoundException

    Question: I have normal user access rights at SharePoint but I'm administrator of the physical SharePoint box. I don't have access rights to SharePoint databases but I still need to run few lines of code against SharePoint. I have created small console application but when I run it I get nasty System...
  • Blog Post: CRM 4.0, SharePoint and ASP.NET Trace

    Sometimes I tend to forget how much stuff is built into .NET Framework. Framework gives you nice set of features that you can use without writing a single line of code. ASP.NET Trace is one of them. I know that it's nothing new but I think that it's still used mainly in custom ASP.NET applications. But...
  • Blog Post: Comparing two databases (schema and/or data)

    Quite often people like to know what's happening under the covers when they do something through user interface. For example they use CRM, SharePoint or some other product through user interface and they would like to know what has happened at the database. Normally my answer is that you don't need to...
  • Blog Post: Catching unhandled exceptions in SharePoint

    If you have done some dev stuff with MOSS you have most likely seen this: " An unexpected error has occurred. " is something that you probably don't want to see at your browser.... you want to have customized error page. In ASP.NET application you normally put Application_Error into you global.asax file...
  • Blog Post: Few development tips for CRM 4.0

    If you are working with Microsoft Dynamics CRM 4.0 and your planning to do code customizations then you probably should keep on reading. And why am I talking about code customizations and not just customizations ? Well just because in CRM you can do a lot without a single line of code... and this time...
  • Blog Post: Link: How to: Silverlight Streaming

    I don't normally post links to my blog but this one is so cool and it's really worth it. So here it goes... you should definitely check out How to: Silverlight Streaming . If you don't know what it's for then you _really_ should read it. Anyways... Happy hacking! J
  • Blog Post: CRM 4.0 and ISV.config modifications

    If you want to add custom menuitems, modify navbars, add funtionality to toolbars etc. you need to modify so called ISV.config. In CRM 4.0 it can be done pretty easily with these simple steps: Export current ISV config: Settings -> Customization -> Export Customizations and then select ISV Config...
  • Blog Post: MOSS: Backup and restore and missing Timer job definitions

    If you have your SharePoint application running on Server1 and you decide to move it to Server2 with backup and restore... you'll (may) end up having application at the Server2 that doesn't have all the necessary timer job definitions. There is however way to get those timer job definitions back but...
  • Blog Post: How to install Windows SharePoint Services 3.0 Tools to XP or Vista

    I got email from Philip Edney with a hint that how you can install Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions (VSeWSS) for none-Windows 2003 server OS. Of course since that's not supported you'll have to do small registry hack (but that's what developers do :-): [HKEY_LOCAL_MACHINE...
  • Blog Post: ISA + MOSS: makes life a lot easier for FBA

    I have explained this same story couple of times so I thought that I'll write shortly this to my blog and refer to it whenever needed :-) ( Side note: I have discussed this topic with my colleagues and I think that we share thoughts on this one) Web is full of instructions how to set up Forms Based Authentication...
  • Blog Post: Free the SPWeb!

    Every SharePoint developer knows that you need to free resources that you have used... like SPWeb (and others too!). Most often freeing up the resources are easily managed with the nice using -statement like this: 1 2 3 4 5 6 7 using ( SPSite site = new SPSite ( "http://localhost/" )) { ...
  • Blog Post: Adding functionalities to pages by inheriting PublishingLayoutPage

    If you have worked a lot with MOSS you probably know how to make new page layouts. But if you create new page layouts you might sometimes wonder that how could I add some common functionalities to my page layout pages. One example could be localization. You have decided that Variations isn't the way...
  • Blog Post: Visual Studio Add-in: Use Vista Search directly from Visual Studio

    I have used Windows Vista from last November and now I have noticed that I'm really heavy user of search. Before Vista I had a lot of problems finding my stuff because I just couldn't remember where I have saved my files. I used my own directory structures that would help me to find files easier. But...
  • Blog Post: Transferring attachment file from Web Service to InfoPath

    I previously posted about InfoPath and Web Service data connections. Back then I didn't mention that you could use the same method to transfer InfoPath attachments as well. It's actually pretty straightforward thing. All you need to do at the web service is wrap up you existing file data to InfoPath...
Page 1 of 2 (28 items) 12