Thursday, 4 November 2010
None of your e-mail accounts could send to this recipient
Tuesday, 17 August 2010
Form_Load and Textbox.Focus()
Me.ActiveControl = Me.Textbox
Monday, 26 July 2010
Firefox "advert" removal Plug-in
Tuesday, 27 April 2010
Free Antivirus
Monday, 26 April 2010
Corrupt profiles Windows 7 (Domain users)
A client has been having some issues with their laptop, installers have been complaining that their ‘My Documents’ folder (redirected to H:\) doesn’t exist. After pushing and poking some settings I decided the quickest and easiest thing to do would be to recreate their user profile.
Tuesday, 20 April 2010
5-Minute Management Course
5 Minute Management Course
Lesson 1 :
A priest offered a Nun a lift.
She got in and crossed her legs, forcing her gown to reveal a leg.
The priest nearly had an accident.
After controlling the car, he stealthily slid his hand up her leg...
The nun said, 'Father, remember Psalm 129?'
The priest removed his hand. But, changing gears, he let his hand slide up her leg again. The nun once again said, 'Father, remember Psalm 129?'
The priest apologized 'Sorry sister but the flesh is weak.'
Arriving at the convent, the nun sighed heavily and went on her way.
On his arrival at the church, the priest rushed to look up Psalm 129. It said, 'Go forth and seek, further up, you will find glory.'
Lesson 2 :
A sales rep, an administration clerk, and the manager are walking to lunch when they find an antique oil lamp.
They rub it and a Genie comes out. The Genie says, 'I'll give each of you just one wish.'
'Me first! Me first!' says the admin clerk.. 'I want to be in the Bahamas , driving a speedboat, without a care in the world.' Poof! She's gone.
'Me next! Me next!' says the sales rep. 'I want to be in Hawaii , relaxing on the beach with my personal masseuse, an endless supply of Pina Coladas, and the love of my life.' Poof! He's gone.
'OK, you're up,' the Genie says to the manager. The manager says, 'I want those two back in the office after lunch.'
Lesson 3
An eagle was sitting on a tree resting, doing nothing.
A small rabbit saw the eagle and asked him, 'Can I also sit like you and do nothing?' The eagle answered: 'Sure, why not.'
So, the rabbit sat on the ground below the eagle and rested. All of a sudden, a fox appeared, jumped on the rabbit and ate it.
Lesson 4
A turkey was chatting with a bull. 'I would love to be able to get to the top of that tree' sighed the turkey, 'but I haven't got the energy.'
'Well, why don't you nibble on some of my droppings?' replied the bull. It's full of nutrients.'
The turkey pecked at a lump of dung, and found it actually gave him enough strength to reach the lowest branch of the tree.
The next day, after eating some more dung, he reached the second branch..
Finally after a fourth night, the turkey was proudly perched at the top of the tree.
He was promptly spotted by a farmer, who shot him out of the tree.
Lesson 5
A little bird was flying south for the winter. It was so cold the bird froze and fell to the ground into a large field.
While he was lying there, a cow came by and dropped some dung on him.
As the frozen bird lay there in the pile of cow dung, he began to realize how warm he was.
The dung was actually thawing him out!
He lay there all warm and happy, and soon began to sing for joy. A passing cat heard the bird singing and came to investigate.
Following the sound, the cat discovered the bird under the pile of cow dung, and promptly dug him out and ate him.
Wednesday, 3 March 2010
Firefox bookmarks recovery
Tuesday, 9 February 2010
PHP is_dir/opendir on UNC under IIS
Been really banging my head against a wall on this problem and last night I finally solved it. I have been trying to open a Windows network share by providing is_dir with a UNC. I got this working under Apache but I couldn’t get it up and running under IIS6.
The solution is really simple;
1. Right click the virtual directory that houses the script running is_dir2. Select ‘Properties’
3. Click the ‘Directory Security’ tab
4. Under ‘Authentication and access control’ click ‘Edit’
5. Make sure ‘Enable anonymous access’ is selected
6. Change the user name and password to a user that has access to the network share
For step 6 above I created a dedicated ‘web user’ that I have given only access to the share I wanted, in theory I think you should be able to use the IUSR_machinename user, but I couldn’t get it to work and as part of my process of elimination creating a ‘web user’ resolved the problem.
As the share I was testing the above setup with resided on a system running F-Secure I had to disable F-Secure so that the web server could access the share, I was quite surprised by this.