Re: how to block pc
- From: mido1971 <mido1971@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Oct 2008 08:05:01 -0700
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 englishJoseph M. Newcomer [MVP]
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 replyJoseph M. Newcomer [MVP]
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,Joseph M. Newcomer [MVP]
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
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
- Follow-Ups:
- Re: how to block pc
- From: Joseph M . Newcomer
- Re: how to block pc
- References:
- how to block pc
- From: mido1971
- Re: how to block pc
- From: Joseph M . Newcomer
- Re: how to block pc
- From: mido1971
- Re: how to block pc
- From: Joseph M . Newcomer
- Re: how to block pc
- From: mido1971
- Re: how to block pc
- From: Joseph M . Newcomer
- how to block pc
- Prev by Date: Re: Porting from VC6, Class Wizard Comments
- Next by Date: Re: Difference B/w Cformview and Cdialog
- Previous by thread: Re: how to block pc
- Next by thread: Re: how to block pc
- Index(es):
Relevant Pages
|