This article lists the aliasses you can use in visual studio when searching with a regular expression.

http://msdn.microsoft.com/en-us/library/2k3te2cs(VS.80,ide).aspx

For example  if you want to find all guids in your solution

  • CTRL-SHFT-F (find in files)
  • Entire Solution
  • check the Use Regular Expressions box
  • type in the find box :h^8-:h^4-:h^4-:h^4-:h^12
  • go

 


Article about how to add a "Get PublicKeyToken" menu item in Visual Studio

http://blogs.msdn.com/b/miah/archive/2008/02/19/visual-studio-tip-get-public-key-token-for-a-stong-named-assembly.aspx

Basic steps:

  • Tools --> External tools..
  • Title: Get PublicKeyToken
  • Command: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SN.exe
  • Arguments: -T $(TargetPath)
  • Check Options: Use Output window

Make sure you build your project before using this new tool.
I love this, and think it should be added on every developers machine.


WSPBuilder extensions for Visual Studio are great. If you use WSPBuilder to create webparts however, you might have run into the fact that by default Visual Studio does not allow you add Web User Controls to a WSPBuilder project.

At the project I'm currently working on, we use WSPBuilder and usercontrols for the visual part of the webparts we create. To make life a bit easier we altered the projectfile of our webparts project.

If you change:

<ProjectTypeGuids>fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

To

<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

Visual Studio wil think it is now a WebApplication, and will allow you to add usercontrols by using Add --> New Item on your WSPBuilder project.


Today, I was looking for a song in my music collection. Because the collection has grown quite a bit lately I could really find the file I was looking for.
I did know it was a 192 kbps file, and the artist name. After a bit of searching the web, I found the following options for windows search that you can use in the search bar.
Using these features, I found the file instantly.

Property   Usage
bitrate      bitrate:>150kbps
artist        artist:U2
year         year:1977..1987
year         year:>1980<1990
album      album:"greatest hits"
genre       genre:rock
lyrics        lyrics:"one"
track        track:12
  
 These are just the music search options. The following page contains all the possible options.

http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx


VS2010 released

Published 4/13/2010 by Jeroen Derde in QNH | SP2010 | VS2010
Tags: ,

I've been using the beta an RC version of Visual Studio 2010 for a while.
Yesterday VS2010 was offically released.

Take a look if there is a launchparty near your location.

http://www.microsoft.com/visualstudio/en-us/visual-studio-events

Enjoy.


Today at a client, we stumbled upon a problem when updating MOSS2007 SP2 with .Net Framework 3.5 SP1. Everything seemed to work fine, but Search & indexing was not working anymore. The error log showed the following: EventID 6482 - Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration. SearchServiceInstance
Indexing and serving search queries is handled by diffetent servers in the clients environment.

After a bit of googling and bingging we foud this exelent post by Andera Glaser that decribes the problem and the solution to the problem.

http://andreasglaser.net/post/2009/09/13/SharePoint-2007-and-EventID-6482-Application-Server-Administration-job-failed-for-service-instance-MicrosoftOfficeServerSearchAdministrationSearchServiceInstance.aspx

More info about how to fix the problem:

http://support.microsoft.com/kb/962928

 


 

Together with 3 colleagues from QNH Business Integration I am currently finishing implementing a already NEN 2082 certified project based on SharePoint 2010.
When SharePoint 2010 hits RTM there will be another audit for this version of SharePoint, because currently the pre release version has been certified.

NEN 2082 is a Dutch standard which is similar the DoD5015 and MoReq standards.

This project was done for the Gemeente Nieuwegein, which is a Dutch local Government.

For this project we have also been nominated for the “Innovation of the year” award:

More information (Dutch)

My colleagues at QNH:


Last week, I removed my VS2010 beta installation and installed VS2010 RC. The RC is much more stable, and as a bonus renaming a feature in a SP2010 project now works.
We have been building lots of features lately, and I was very pleasantly surprised to see this bug already fixed.


   

A collegue created a SP2010 workflow in visio, and imported it into SharePoint Designer 2010.
His flow used the following actions: 

  • AddListItemPermission
  • InheritListItemPermissions
  • RemoveListitemPermission
  • ReplaceListItemPermissions

SharePoint Designer 2010 throws an error when he validates the workflow (check for errors) or tried to deploy it.

The error (for searchablility):
This workflow action is not supported in this region of the workflow.
It can only be inserted in certain types of blocks.

 

SharePoint Designer does not show the actions as available.
After a bit of searching we found that these actions can only be added when inserted in an Impersonation Step.
This is logical as the impersonation step runs as the author of the document, in stead of the workflow starter.

Hope this is helpful.

 


Anti spam

Published 2/25/2010 by Jeroen Derde in Blog | BlogEngine.NET
Tags:

Implemented AkismetExtension on the blog a week ago, and it seems to be working.

Lets hope it lasts.


Jeroen Derde's Blog

My Software Engineering Universe