HI,
if that solution not works try this one
goto control panel-->user accounts-->User Access control
disable the UAC(Unchek the checkbox)
it will prompt for restart,
restart and try your code,
With regards
Venktramasamy SN
venkatramasamy
Junior Poster in Training
71 posts since Aug 2007
Reputation Points: 12
Solved Threads: 12