Welcome to Microsoft Office
Software: Running Excel with .NET 1.1 Code-Behind
Posted on October 9, 2008 in Microsoft Office (Default) Driving for programmatically with Microsoft Excel is always shot in that it cheap oem software buy softwareTags: software, excel, shot, cheap, oem
An easier way to learn/use PowerShell
Posted on October 2, 2008 in Microsoft Office (Default)When I write PowerShell stuff, I end up typing a lot on the keyboard - and using command recall a lot. When you start doing complex things, that gets quite boring. An alternative is to have a work PS1 file, editing it with notepad (or another tool) and only recall the line, that executes the PS1 file. In this way you 'only' have to ctrl-s, alt-tab, up arrow, return to execute the changes and the alt-tab back to make the next change.As I hate repeating the same actions over and over again - that is the reason I love making computers do just that - why not use PowerShell to help me? This is also an opportunity to use PowerShell for a real thing.
To do just that, I made these two functions -
function workpad {
$global:workpad = "$env:tempworkpad.ps1"
"Start workpad - execute with '. $workpad'"
notepad $workpad
}
function execute-workpad {
param([boolean]$executeFirst=$false) if ($executeFirst) {
$oldLastWriteTime=[datetime]"2000-01-01"
}
else {
$oldLastWriteTime=$(get-childitem $workpad).lastwritetime
"Waiting for change.."
}
while ($true) {
$lastWriteTime=$(get-childitem $workpad).lastwritetime
if ($lastWriteTime -eq $oldLastWriteTime) {
start-sleep -s 1
}
else {
"File changed - executing"
""
. $workpad
""
"Waiting for change.."
$oldLastWriteTime=$lastWriteTime
}
}
}
cheap oem software buy software
Tags: workpad, lastwritetime, oldlastwritetime, powershell, execute
APOD Viewer v1
Posted on October 2, 2008 in Microsoft Office (Default)
I love APOD - Astronomy Picture of the Day - as I'm privately quite interested in the universe and all that stuff. But I do not visit APOD daily, so once in a while I browse the site.
But, wouldn't it be nice to have a slideshow with the pictures?
Surprise! PowerShell to the rescue.
This script really show the power of PowerShell. It has a web client, caculates dates and controls Internet Explorer. Give it a shot. If you make any clever changes, please post those as comments. I have a big wishlist myself, but this got me going.
function apod {
param([int] $days=1) # show latest picture by default
$baseurl="http://antwrp.gsfc.nasa.gov/apod/"
# create IE COM object
$ie = new-object -com internetexplorer.application
# create .net object
$webclient = new-object system.net.webclient
# date manipulation
$date=[datetime]::now
$date.AddDays(1) # start tomorrow as the loops starts by subtracting a day
$ie.fullscreen=$true
$ie.visible=$true
# You may have to press the window in the taskbar to make it appear
# An easy way to do a for loop - could have used for, but as said this is easier
1..$days | % {
# back one day
$date=$date.AddDays(-1)
# construct url
$url=$baseurl+"ap" + $date.tostring("yyMMdd") + ".html"
$url
# get HTML page
$html = $webclient.downloadstring($url)
$html.length
# Pick up the link the picture has - links to the high resolution version
# I want to display
# This is not idiot proff coding - but, hey, scripts are easy to change
$html -match '<a href="([^"]*)">W*<img'
$matches.count
# get the value matching the pattern in parenthesis
$img=$matches[1]
$img
# show high resolution picture
$ie.navigate($baseurl+$img)
# wait for IE to load picture
while ($ie.busy) {sleep -s 1;"busy"}
# give me 10 seconds to enjoy the picture
sleep -s 10
}
# shutdown IE
$ie.quit()
$ie=$null
# wish list: load pictures overlapping (but keep presentation interval)
# wish list: include some kind of fancy transition
# wish list: pick out the explanation and present it in some way
# add our own...
}
Tags: picture, date, html, apod, day
Look & feel of msgoodies
Posted on October 1, 2008 in Microsoft Office (Default)
We are playing a bit with the template used for msgoodies as we are preparing to move to a "Stretched" template and hopefully soon the updated version of Blogger (Check beta..com or msgoodiestest.blogger.com, that better will serve larger postings and postings including code samples. it shouldn't affect our RSS readers, but our web readers probably need some "patience" with the look & feel of msgoodies.
Sorry for the inconvenience !
Tags: blogger, msgoodies, feel, readers, template
Would you like to integrate Asterisk with LCS ?
Posted on October 1, 2008 in Microsoft Office (Default)
Then voipen has created a tutorial on how to do this -
This is a tutorial on how to setup calling to/from MS LCS 2005 using SER and Asterisk. In this case LCS is acting as the IM/Presence/VoIP server, SER converts protocols TCP2UDP and Asterisk is a SIP to ISDN gateway. This setup allows for outbound calls from Microsoft Office Communicator – OC to a normal telephone and inbound calls from a normal telephone to Microsoft Office Communicator - OC. This also allows you to access services provided by Asterisk such as Meetme Conferencing. You can also use Windows Messenger 5.1 instead of OC client.
You can find the tutorial here.
Tags: asterisk, oc, lcs, tutorial, ser
Microsoft Office 07 Details Released
Posted on September 30, 2008 in Microsoft Office (Default)

Looks like Microsoft is bringing out some new branding for their Office Suite for 07. What you see above are just the new icons that they are using for those Microsoft programs that you have grown to love. And now, it would seem that their main marketing point is that they have created totally new interfaces so that anyone can use their programs productively.Here cheap oem software buy software
Tags: microsoft, programs, software, office, totally
Try. Fail. Try again. Fail better...
Posted on September 30, 2008 in Microsoft Office (Default){
After months of neglect, I'm going to try this again. No more epics, just short snippets of developer talk.
}
Tags: fail, software, buy, cheap, oem
Office Developer Center: Branding a SharePoint Portal Server 2003 Site: Part 2, How to Apply Your Own Corporate Brand
Posted on September 29, 2008 in Microsoft Office (Default)Office Developer Center: Branding a SharePoint Portal Server 2003 Site: Part 2, How to Apply Your Own Corporate Brand
Tags: apply, office, corporate, brand, software
Office Developer Center: Branding a SharePoint Portal Server 2003 Site: Part 1, Understanding the Use of a Corporate Brand
Posted on September 29, 2008 in Microsoft Office (Default)Office Developer Center: Branding a SharePoint Portal Server 2003 Site: Part 1, Understanding the Use of a Corporate Brand
Tags: understanding, office, corporate, brand, software
Sample Blog Site: Home Page
Posted on September 27, 2008 in Microsoft Office (Default)
Sample Blog Site: Home Page: "This site has been created using a custom SharePoint Site Definition developed by Collutions, Inc.
The site will be used to show examples of what SharePoint can do and to explain how the site definition works."