Archive for 'Programmieren'
Google Maps Route Planning integrated in your website
It took me some searching to find out how to integrate route planning with a google map into a customers website.
Here is a good tutorial on how to integrate route planning in your website: http://dreamdealer.nl/tutorials/getting_directions_with_google_maps.html
More information on how the programming interface for Google Maps looks at Google. Obviously, much more is possible!
Posted: March 22nd, 2011 under Programmieren.
Comments: none
Where to start an Incremental Crawl in SharePoint
- Go to the central administration of your SharePoint Server
- On the left side under ‘Shared Services Administration’, click on ‘SharedServices1′ or an equivalent of it
- In the area ‘Search’, click ‘Search Settings’
- There, click ‘Content sources and crawl schedules’
- Finally, find the arrow on the right end of the name of ‘Local Office SharePoint Server sites’, click it and start the crawling. Attention: If you start a Full Crawl, it may be that you have to wait a really long time.
Posted: January 22nd, 2009 under Programmieren.
Tags: full crawl, incremental crawl, SharePoint, SharePoint 2007
Comments: none
SharePoint: Adding top bar link
If you want to add a Site/Link to the top link bar, you follow SiteSettings/ Look and Feel/ Navigation and then it is the Global Navigation we are looking for. Mark it, click “Add Heading” and go.
Further advice can be found e.g. at the Microsoft Homepage.
Posted: January 9th, 2009 under Programmieren.
Tags: Global Navigation, SharePoint 2007, top link bar
Comments: none
Restoring Right Click/New/Text Document
Not knowing why, one day the right click/New/Text Document was gone.
I tried solving it with adding the ‘ShellNew’-Key to HKEY_CLASSES_ROOT/.txt as described in many places, but the problem was not resolved.
On http://www.dougknox.com/xp/file_assoc.htm they have registry fixes, the one called “TXT File ASsocation Fix” solved my problem.
Posted: December 12th, 2008 under Programmieren.
Tags: new text document, right click
Comments: none
Where is msbuild on Windows?
Running msbuild on a normal developer pc can be a bit confusing. The shell does not recognise the command and if you do a search you don’t find it. But if you do the search including all non-indexed locations you will it in C:\Windows\Microsoft.NET\Framework. So msbuild is not a program in the programs folder, it is a utility in the .NET folder.
If you want to use it, there is a simpler way, Microsoft Visual Studio 2008 comes with a customized console that you can find here:
And in that console, msbuild is recognised as a command.
Posted: December 11th, 2008 under Programmieren.
Tags: msbuild, Visual Studio 2008
Comments: none
Eine XML-Datei mit einer XSLT-Datei verbinden
Ganz oben im XML die folgende zweite Zeile einfügen:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="docu.xsl"?>
Posted: December 9th, 2008 under Programmieren.
Tags: xml, xslt
Comments: none
Powershell: First thing to do
If you get errors like:
YourScript.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.
or just if Powershell was installed on a new machine you normally have to set to Execution Policy to a reasonable grade.
For home users, just type
Set-ExecutionPolicy Unrestricted
That’s it.
Further information can be found at many places, e.g. here.
And by the way, the path to the Powershell is the following: C:\WINDOWS\system32\windowspowershell\v1.0\
Posted: December 5th, 2008 under Informatik, Programmieren.
Tags: execution policy, first thing, path, Powershell
Comments: none
True and False in the Powershell
How to assign a boolean value to a variable? Easier than you think!
$true und $false are built-in variables. (They are read-only, by the way). So you can write:$yourTrue = $true
Posted: December 4th, 2008 under Programmieren.
Tags: bool, boolean, false, Powershell, true
Comments: none
Powershell comment
#
Posted: December 3rd, 2008 under Programmieren.
Tags: comment sign, Powershell, ps1
Comments: none
Immediate Window (Visual Studio)
A good introduction into the immediate window can be found at the msdn.
Posted: November 6th, 2008 under Programmieren.
Tags: immediate window, msdn, Visual Studio
Comments: none






