SharePoint Development Blog

Nick Boumans
View my LinkedIn Profile Follow me on Twitter View my Profile on FaceBook View my projects on CodePlex View my presentations on SlideShare



Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Outlook 2010 Mark all appointments as private

In Outlook 2010:

  • Press ALT + F11
  • You get A new window: Microsoft Visual Basic For Applications window
  • Past the next code into this window:
Dim myOlApp As New Outlook.Application
Public myOlItems As Outlook.Items
Public Sub MarkCalendarItemsAsPrivate()
Set myOlItems = myOlApp.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items
For Each Appointment In myOlItems
Appointment.Sensitivity = olPrivate
Appointment.Save
Next Appointment
End SubĀ 
  • Save this Macro
  • Go back to Outlook
  • Press ALT + F8 to run this macro
  • Wait for some minutes: all your meetings will be marked as private
Posted: Mar 30 2011, 11:26 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Visual Studio

Developing SharePoint Solutions using Visual Studio 2010

On MSDN you can read about SharePoint 2010 Development walk-throughs: http://msdn.microsoft.com/en-us/library/ee231593%28VS.100%29.aspx

Visual Studio 2010 beta 2 SharePoint Development Samples: http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=SharePointDev2010&ReleaseId=3346

 

Posted: Dec 24 2009, 13:54 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Free Downloadable E-Book Offers from Microsoft Press MCP Flash Feb 2009

Reading the MCP Flash of February 2009 I came to the next three free e-book offers which are a great way to stay up to date on the latest Microsoft technologies.

Posted: Feb 19 2009, 09:02 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Visual Studio

PDF iFilter Battle FoxIT v.s. Adobe iFilter 9

After so long a time Adobe finally released its 64bit version of PDF iFilter! iFilter makes it possible to index PDF files (in SharePoint). Adobe's iFilter is free for download. For FoxIT iFilter you have to pay license costs. However performance tests say that the 32-bit FoxIT iFilter is 4 times faster and the 64-bit is 5 times faster then the free Adobe iFilter.

Links:

Comparison 64 bit: http://blogs.msdn.com/opal/archive/2008/12/10/pdf-ifilter-battle-foxit-vs-adobe-64bit-version.aspx 

Comparison 32 bit: http://blogs.msdn.com/ifilter/archive/2007/11/14/foxit-vs-adobe-pdf-ifilter-32-bit-only.aspx

Adobe PDF iFilter 9 for 64-bit platforms: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025

FoxIT 64bit PDF iFilter: http://foxit.vo.llnwd.net/o28/pub/foxit/ifilter/desktop/win/1.x/1.0/enu/FoxitPDFIFilter10_X64_enu.msi 

Configuring Adobe iFilter 64bit for SharePoint 2007: http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sharepoint_2007.pdf

 

Posted: Dec 16 2008, 07:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

ZoomIt V2.2 for zooming in Technical Presentations

"ZoomIt is screen zoom and annotation tool for technical presentations that include application demonstrations. ZoomIt runs unobtrusively in the tray and activates with customizable hotkeys to zoom in on an area of the screen, move around while zoomed, and draw on the zoomed image. I wrote ZoomIt to fit my specific needs and use it in all my presentations.

ZoomIt works on all versions of Windows and you can use pen input for ZoomIt drawing on tablet PCs."

Download: http://technet.microsoft.com/en-us/sysinternals/bb897434.aspx

Posted: Dec 14 2008, 18:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Microsoft releases the Open Source CMS Oxite

Microsoft releases the first version of the opensource-cms Oxite. This content management system is based on ASP.NET and the Model View Controller (MVC) Framework. This CMS is primary released for blogs. Since the use of ASP.NET this software requirers windows servers (hosting). "Oxite is an open source, standards compliant, and highly extensible content management platform that can run anything from blogs to big web sites."

Download Oxite: http://www.codeplex.com/oxite

Learn More: http://visitmix.com/lab/oxite

Posted: Dec 10 2008, 00:00 by Nick Boumans | Comments (1) RSS comment feed |
  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Visual Studio

First Public Description of the planned language features of C Sharp 4

A first public description of the planned language features of C# 4.0 (Visual Studio 2010) can be found in the next article on MSDN.
Posted: Nov 27 2008, 00:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Visual Studio

Community Kit for SharePoint

However, this tool is on the market for some months I first saw it in action last friday. Especially the blog template is really cool.

"The Community Kit for SharePoint is a set of best practices, templates, Web Parts, tools, and source code that enables practically anyone to create a community website based on SharePoint technology for practically any group of people with a common interest."

Download: http://www.codeplex.com/CKS

Posted: Nov 15 2008, 18:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Problem - Dynamic Load Webservice

After reading this mailthread on MSDN it seems to be possible to dynamically load a webservice (load on demand). However I got the following error on this line of code:

Object response = methodInfo.Invoke(obj, args); 

[/code]

 

Also this tool on CodePlex causes the same error on the same line. Click on the image below for a screenshot of the error. 

Since I get this error in a environment with a domain logon account I tried the following Credentials:

// method 1

webRequest.PreAuthenticate = true;
webRequest.Credentials = new NetworkCredential("username, "password", "domain");

// method 2

System.Net.CredentialCache.DefaultCredentials; 

[/code]

 

All code is executed correctly. If it was really an authentication error I wasn't inpossible to read the webservice stream (in my opinion). So it seems I'm well authenticated.
Is there someone who get this working or have an alternative?
Thanks!! 

Posted: Nov 14 2008, 00:00 by Nick Boumans | Comments (1) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Snippet Creator

In my archive I found this cool snippet tool. I wrote it a long time ago (for Visual Studio 2005) for easily create C# code snippets for Visual Studio 2005. Maybe it would be useful for you as basic application for further development.

Click on the image below for a screenshot. 

// Snippet files are saved in:
// C:\Documents and Settings\<User>\My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code Snippets
// or
// C:\Program Files\Microsoft Visual Studio 8\VC#\Snippets\1033\Visual C#
namespace SnippetCreator
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void WriteSnippetFile(String fileName)
        {          
            FileStream file = File.Create(fileName);
            StreamWriter writer = new StreamWriter(file);
            writer.WriteLine("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
            writer.WriteLine("<CodeSnippets xmlns=\"http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet\">");
            writer.WriteLine("<CodeSnippet Format=\"1.0.0\"><Header><Title>");
            writer.Write(txtTitle.Text);
            writer.WriteLine("</Title><Shortcut>");
            writer.Write(txtShortCut.Text);
            writer.WriteLine("</Shortcut></Header><Snippet><Code Language=\"CSharp\"><![CDATA[");
           
            writer.Write(txtSnippetCode.Text);
            writer.Write("]]></Code></Snippet></CodeSnippet></CodeSnippets>");
            writer.Close();
            file.Close();                       
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(txtTitle.Text) ||
                String.IsNullOrEmpty(txtShortCut.Text) ||
                String.IsNullOrEmpty(txtSnippetCode.Text))
            {
                MessageBox.Show("Some fields are empty! Please fill out them and try again...");
                return;
            }
                           
            SaveFileDialog saveFileDialog = new SaveFileDialog();
            saveFileDialog.Title = "Save a Snippet File";
            saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\Visual Studio 2005\Code Snippets\Visual C#\My Code Snippets";
            saveFileDialog.Filter = "Snippet File|*.snippet";
            saveFileDialog.ShowDialog();

            try
            {
                if (saveFileDialog.FileName != "")
                {
                    WriteSnippetFile(saveFileDialog.FileName);
                }
                MessageBox.Show("Snippet: " + txtTitle.Text + " succesfully added!");
                txtTitle.Clear();
                txtShortCut.Clear();
                txtSnippetCode.Clear();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());               
            }                   
        }
    }
}

[/code]

 

Posted: Nov 12 2008, 12:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Visual Studio