[shell-coding] Newbie question

I have written a program that I am running as the windows shell on win2000, as 
set in the registry.  From this program it is a requirement that I be able to 
launch the control panel applet (ncpa.cpl - network and dial-up connections), 
however when my program is running as the shell I am unable to do this. When I 
launch the network control panel running the application when it is not the 
shell it works correctly, otherwise I receive the error message:

"Access to the specified device, path, or file is denied"

ncpa.cpl seems to be the only control panel applet that is affected by the new 
shell. When i try to open the applet from the command line ( "rundll32.exe 
shell32.dll,Control_RunDLL ncpa.cpl" ) i get the same error.

what am i doing wrong?

Thanks!

 

Other related posts: