When i follow the tut it gives me this errors

Error 1 'As Any' is not supported in 'Declare' statements. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 9 111 WindowsApplication1
Error 2 'As Any' is not supported in 'Declare' statements. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 9 134 WindowsApplication1
Error 3 'As Any' is not supported in 'Declare' statements. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 13 133 WindowsApplication1
Error 4 'As Any' is not supported in 'Declare' statements. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 13 156 WindowsApplication1
Error 5 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 32 21 WindowsApplication1
Error 6 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 51 21 WindowsApplication1
Error 7 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 71 21 WindowsApplication1
Error 8 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 91 21 WindowsApplication1
Error 9 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 111 21 WindowsApplication1
Error 10 Name 'hProcess' is not declared. C:\Documents and Settings\Elliwood\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Module1.vb 131 21 WindowsApplication1

What did I do wrong I jusdt cpoies and pasted the code and i got this