Re: how to block pc



thanks
that is what i need
i used this functions and got what i need

GetCurrentThreadId();
GetThreadDesktop(::GetCurrentThreadId());
OpenInputDesktop( 0, FALSE, DESKTOP_SWITCHDESKTOP );
CreateDesktop(_T("MyDeskTop"), NULL, NULL, 0, GENERIC_ALL, NULL);
SwitchDesktop(CreateDesktop Handle)
and at the end CreateProcess(...) in the new desktop

but steel the user use ctrl alt del i thing i must use PreTranslateMessage
to avoid that

i dont now if i am right until now but its working





"Joseph M. Newcomer" wrote:

Actually, with Excel, Outlook and Explorer, it is hard to stop the user from renaming or
modifying files. But you are still in the domain of kiosk applications and that's what
you should be looking at.
joe

On Wed, 15 Oct 2008 00:51:01 -0700, mido1971 <mido1971@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

thanks for your help, and be pacient with my bad english

yes i am tryoing to do somthing like kiosk applications but somthing easy i
need only to use excel outlook and explorer inside my program

thanks again


"Joseph M. Newcomer" wrote:

The actions which copy files, delete files, etc., are not "commands" and they are
implemented typically via the Explorer shell.

What do you mean by "change the setting of windows"? What windows, what settings?

Are you thinking of something that runs in a public setting and should only run one
program? In that case, you need to look into what are called "kiosk applications", and
there's a whole subculture of how you do those. Try google for a start.
joe

On Tue, 14 Oct 2008 10:35:01 -0700, mido1971 <mido1971@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

thanks for reply

all kind of command that can be used to copy and send and delete ect. In
another way what Group Policy do to stop some command of windows like change
the setting of windows

thanks for help



"Joseph M. Newcomer" wrote:

What do you mean "all kinds ofhttp://www.microsoft.com/wn3/aspx/postui.aspx?mid=f5a64a47-72be-4040-a60d-107a93b87876&cat=en_US_f0847235-3112-4b9a-8717-b82f7898eeea&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.vc.mfc&base=http://www.microsoft.com/communities/newsgroups/en-us/default.aspx&bclr=ececec&fclr=000000&sxml=http://www.microsoft.com/communities/newsgroups/en-us/site.xml&stgxml=http://www.microsoft.com/communities/newsgroups/en-us/settings.xml&sdgloc=en-US&tt=2 commands"? What's a "command"?
joe

On Tue, 14 Oct 2008 09:11:00 -0700, mido1971 <mido1971@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,
i need some help, how can i block all kind of commands in windows xp pro.
when my program is runing where my program can be use excel and outlook and
internal explorer.

or how can i use the Group Policy with mfc to block all kind of command i
need to block like copy delete use usb and save


thanks for help
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

.



Relevant Pages

  • Re: Great SWT Program
    ... Invisible extra things to backspace away are going to trip ... This indicates that Windows is not seeing the same input ... drag and drop oddities in Explorer indicate a similar problem; ... command prompt instead of a different task; ...
    (comp.lang.java.programmer)
  • Re: 3 icons missing from startup
    ... [[Allows you to remove the Run command from the Start menu, ... Explorer, and Task Manager. ... Run dialog box by pressing the Application key (the key with the Windows ... Search does not appear in the context menu when you right-click an icon ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Word Clipboard Toolbar Always Docks Itself
    ... You use the Explorer to Explore. ... Microsoft MVP (Word) ... > Windows Explorer Windows Vista Explorer and> Internet ... >>> Open the Normal template. ...
    (microsoft.public.word.docmanagement)
  • Re: Converting Pictures To Wallpaper
    ... Ramesh, Microsoft MVP ... Windows XP Shell/User ... >> Sorry it failed...the following command may ... >> MS Picture It! ...
    (microsoft.public.windowsxp.photos)
  • Re: hurl.exe
    ... in the normal windows way as it kinda necessary to see the file's icon ... the way around this is to first open up a dos window (command ... tab in the task manager and kill the explorer process (the taskbar your ...
    (microsoft.public.windowsxp.newusers)

Quantcast