Greg's profileGreg Olsen - Yellow Duck...PhotosBlogLists Tools Help

Greg Olsen

Occupation
Location

Certifications

Disclaimer

The views expressed in this blog are those of the individual and do not necessarily represent those of Intergen. This information is provided by way of general information only and should not be relied on without obtaining independent expert advice. These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.
Photo 1 of 48

Greg Olsen - Yellow Duck Guy -

The Yellow Duck will sort it out ..
June 21

Yellow Duck Guy - Blog Hits and Statistics

Microsoft Windows Live tracks the number of hits, page views today and page views this week. Its great to see this blog so active worldwide, mainly as a online 24/7 reference for myself (I think of it as an online technical code library) but also serving up a number of articles and downloadable material for you every month. I try and post something every month.
 
Statistics wise, Microsoft Windows Live is reporting: Total page views: 23,685 !
 
Box.net has reported a LARGE number of downloads for the code postings from http://yellowduckguy.spaces.live.com  The most download file is http://www.box.net/shared/tmm25or137 - seems Windows 7 launch worldwide is MASSIVE!  This is great. I have been using the Release Candidate of Windows 7 since it was release and i'm really really pleased with it. The release of Windows 7 is going to be successful even during the worldwide economic downturn.
 
Till next time, keep watching this space! p.s. big thanks to you!
 
Greg Olsen
Yellow Duck Guy
June 15

Quick Media Converter - Works on Windows 7!

I have been wanting a free tool which can convert video with ease from my digital camera to different formats i.e. for the web or my mobile phone.
Couple of weeks ago I came across Quick Media Converter and really really like it. It's simple to use and works a treat. I have also had it working fine on the latest Windows 7 Release Candidate (RC) operating system.
 
 
Some of the formats supported: Flash, WMV, MOV, DivX, XviD, DVD, VCD, mp4, 3gp, SWF etc. The full list is here: http://www.cocoonsoftware.com/index.php?option=com_content&task=view&id=72&Itemid=73
 
Do try it, it's pretty simple to use!
 
Greg Olsen
Yellow Duck Guy 

FileHelpers - Import/Export Data Files (OpenSource.NET)

This is a great handy framework or .NET library when working with data files in .NET. Info about this below (directly from the site http://www.filehelpers.com/)
 
The FileHelpers are a free and easy to use .NET library to import/export data from fixed length or delimited records in files, strings or streams.
 
The idea is pretty simple:
You can strong type your flat file (fixed or delimited) simply describing a class that maps to each record and later read/write your file as an strong typed .NET array 
 
The Library also has support for import/export data from differents storages like Excel, Access, SqlServer, etc.
 
The FileHelpers are completely free because they are released under the LPGL Licence that allows the use of the code and binaries in all places, also in commercial applications.
 
Enjoy!
Greg Olsen
Yellow Duck Guy
May 25

Windows 7 - Create a Network Bridge

I have two onboard network adapters on my motherboard and for a long time now I have been able to create a bridge between these adapters.  Within Windows 7, especially the latest Release Candidate, this options is a little hidden from the general user. BUT right here you can find that setting with ease.
 
  1. Right-click on your network icon in the taskbar, and select 'Open Network and Sharing Center'
  2. On the left hand menu, select 'Change adapter settings'. Now you should see your list of Network Adapters available.
  3. Select two adapters, right-click and select the option of 'Bridge Connections'. 

Dialog is shown - "Please wait while windows bridges the connections". When this is completed a 'Network Bridge' is created.  From here you will need to set the ip address settings to be used by both adapters or simply use 'Obtain an ip address automatically' option to get an ip address assigned from your DHCP server or device. I normally set the IP v4 settings.

Hope this helps. I have posted it for my future reference because I seem to forget where to find it again after a few months gone by!

Greg Olsen
Yellow Duck Guy

May 22

Internet Explorer - IE7 Compatibility Tag

IE 8 has been released for awhile now. If you create web pages, then you probably should be aware of the IE 7 compatibility meta data tag which can force your pages you have working in IE 7, to be compatible with IE 8.  IE 8 attempts to adhere to the CSS web standards and your old (yeah they are old now) IE 7 pages may not render correctly in IE 8.
 
Below is the meta data tag which you can use to force IE 8 to render the page in IE 7 format.
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />
 
Microsoft have more info here: http://go.microsoft.com/fwlink/?LinkId=120024
 
Greg Olsen
Yellow Duck Guy
May 17

Windows 7 RC - Access is denied patch KB970789

A folder that is created under the root of the system drive is missing entries in its security descriptor, which may cause some application failures on the English version of Windows 7 Release Candidate 32-bit Ultimate
 
In the English version of Windows 7 Release Candidate (build 7100) 32-bit Ultimate, the folder that is created as the root folder of the system drive (%SystemDrive%) is missing entries in its security descriptor. One effect of this problem is that standard users such as non-administrators cannot perform all operations to subfolders that are created directly under the root. Therefore, applications that reference folders under the root may not install successfully or may not uninstall successfully. Additionally, operations or applications that reference these folders may fail.
For example, if a folder is created under the root of the system drive from an elevated command prompt, this folder will not correctly inherit permissions from the root of the drive. Therefore, some specific operations, such as deleting the folder, will fail when they are performed from a non-elevated command prompt. Additionally, the following error message appears when the operation fails - "Access is denied".
 
The above information is sourced directly from the link below and only affects the 32bit (x86) English version of Windows 7 Release Candidate.
 
Greg Olsen
Yellow Duck Guy
May 14

CRM 4.0 2009 VPC - Time Expiry Date

Well I have finally got around to running up the latest time bombed CRM 4.0 2009 VPC and turned it into a Hyper-V image. The date of exipry for the downloadable VPC is August 12th 2010. So if you are using this just remember this date as the software within the VPC will stop executing. However, you will be able to access a "limited" amount of data within the VPC.
 
One thing I had to do to get CRM running within a Hyper-V Virtual Machine was to create an entry in the hosts file of 127.0.0.1 and point it to crm, which is the host header inside IIS.  This may not be required, but for my version it was the quick fix to get the Virtual Machine image running CRM within Internet Explorer.  The entry details enter were: 127.0.0.1           crm
 
I also noticed that SharePoint was writing automatically to the hosts file as well.
 
The hosts file is located at C:\Windows\System32\drivers\etc\hosts  -> just open it with Notepad and add the entry above and save.
 
Greg Olsen
Yellow Duck Guy
April 28

Windows 7 – Release Candidate 1 - Due 30th April

The Windows 7 blog has informed us that Windows 7, Release Candidate 1 will be available to MSDN and TechNet subscribers on April 30th 2009 and to the public from 5th May 2009.

This is great news!  Look forward to downloading the RC1 from MSDN when it lands.

Greg Olsen
Yellow Duck Guy

April 07

Debug ASP Pages with Visual Studio 2005

I was given the task recently to redesign some old classic ASP pages which needed to consume a .NET Web Service. However, I wanted to debug the objects floating around in my ASP code. If you need to do this as well and want to find out how, then keep reading on.
 
Below you will find a document download which outlines the steps required to successfully debug ASP pages within Visual Studio 2005. Make sure you have debugging enabled within IIS as well.
 
Summary of the steps required to debug your ASP Page:
1. View your ASP page within Visual Studio 2005. Open and existing file or view your file within Solution Explorer.
2. Set a breakpoint on the ASP code line where you wish the debugger to hit.
3. View the ASP page in the web browser (without debugging).
4. Download the file listdlls.exe from http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx
5. Run listdlls.exe with the command of listdlls -d asp.dll from command line and find which dllhost.exe loaded the asp.dll.
6. Within Visual Studio, from the toolbar menu select Debug | Attach to Process
a. Locate the process by its process ID and attach to this process.
7. Refresh the page (or F5) in the web browser. You should see the breakpoint get hit.
8. Use QuickWatch within Visual Studio to explore the objects.
 
Here is the detailed steps document download (Microsoft Word 2003 document):
 
Enjoy!
 
Greg Olsen
Yellow Duck Guy
March 26

Windows 7 – Decoder Error

Got this error when attempting to record and play videos with Windows Media Center on Windows 7 Beta of "The video decoder has either malfunctioned or is not installed. Restart Windows Media Center or the computer”.

Decoder Error on Windows 7 Beta

After some initial investigation it seems by simply putting my clock back in time and re-loading Windows Media Center fixed the problem. It’s possible a component, possibly the decoder shipped with the beta of Windows 7 has expired. Correct me if im wrong. Thanks! Not!

So if you get this error, first try putting your clock back.

Also, I have added a new category of Windows Media Center and filed this in here.

Greg Olsen
Yellow Duck Guy