473,698 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

lock desktop down in App

Hi,

How can I lock down the desktop stopping end user from getting to
desktop when inside my app until they quit app?

Also how can I start another app from my app?

Thanks,

JJ

Nov 17 '05 #1
7 2699
Well, as far as running other apps, you can take a look at the Process
class.

Now, I don't know if you can prevent access to the desktop and I would not
think you would want to. Consider the usability issues with this.
Computers are multi-process system and as such, it is assumed by the user
that they can run any program they want from the standard interface (you
know, the start menu and maybe a shortcut on the desktop, etc.) Changing
the behavior of the computer will invariantly cause confusion. Just my
thoughts.
<jj****@hotmail .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
Hi,

How can I lock down the desktop stopping end user from getting to
desktop when inside my app until they quit app?

Also how can I start another app from my app?

Thanks,

JJ

Nov 17 '05 #2
Ok then how would I stop a user from accessing the destop toolbar and
ctrl-alt-del to task Manager?

JJ

Nov 17 '05 #3
Why would you want to limit access to this? Unless this is a kiosk
application, I don't think it is a good idea.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

<jj****@hotmail .com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Ok then how would I stop a user from accessing the destop toolbar and
ctrl-alt-del to task Manager?

JJ

Nov 17 '05 #4

<jj****@hotmail .com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Ok then how would I stop a user from accessing the destop toolbar and
ctrl-alt-del to task Manager?

JJ


For XP and higher, take a look at the policy editor (administrative tools -
Security policy).

Willy.


Nov 17 '05 #5
Actually now that I think about it, I have seen my desktop crash and unload.
Normally the OS is suppose to re-launch the desktop, but I have noticed that
if there are other apps already loaded, it does not reload the desktop.

So, one way might be to kill the explorer process and see what happens.

<jj****@hotmail .com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Ok then how would I stop a user from accessing the destop toolbar and
ctrl-alt-del to task Manager?

JJ

Nov 17 '05 #6
VJ
I am not sure why you need to do this.. but we were in sort of similar
situation for a application.... I have done the below

1. Maximize your application Window to occupy entire desktop area, yes this
can be done (using APIs) and yes it does hide the taskbar
2. Prevent user from resizing .., for example you could set broderstyle as
not sizeable for the main form
3. Lock specific key combinations ( or the entire keyboard ), I have blocked
CTL+ALT+DEL , ALT+TAB, SHIFT+ALT+TAB and any key combination me/our testing
team can come up with to prevent access to desktop. You have to make sure
that there is a Dispose() implemented for this component and then that it
gets called when your application exits.. this will make sure that all
combinations are restored..

All this I did as separate modules and then I invoke them one after other
when I need to from my program.

Let me know if you need more info..I am not sure I can share very much
code... but I will do my best to answer any questions u have..

VJ

<jj****@hotmail .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
Hi,

How can I lock down the desktop stopping end user from getting to
desktop when inside my app until they quit app?

Also how can I start another app from my app?

Thanks,

JJ

Nov 17 '05 #7
Bry
The correct way of doing this is as follows

(This doc states Win 2000, but it applies to Win XP also)

http://www.microsoft.com/resources/d...ntry/93488.asp

Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

383
12117
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a poor man's DBMS, a broken email server and various other /application/ servers to try and crack the Internet and IS markets. In the case where they didn't spend their own money to get companies to
4
4368
by: Christoph Zeltner | last post by:
hi, i am writing a thesis on the concurrency control in db2 udb and oracle. I found in the documentary of db2, that a resource holding a (U)pdate-Lock can still be requested by a read-lock (e.g. S). If the U-Lock wants to convert to a write-lock, does the transaction have to wait for the transaction with the S-lock to finish ? Can it starve ? Is this the symmetric RUX-Protocoll ? Questions, so many questions ...
1
15654
by: charlies224 | last post by:
Hi, I am writting a software that requires me to make sure the Num Lock is always on and Caps Lock is always off. First, I know how to detect if Num Lock or Caps Lock is on or off (if someone is interested, let me know and I will send you the codes). Once we know if the stat of Num Lock/ Caps Lock is not what we desired, we just send the Num Lock / Caps Lock key to change the stat. From most of
4
21487
by: brandon | last post by:
Anybody out there know how I could go about handling, in a systray'd app, the windows message that the desktop is going to be locked? This way the application can react whenever the Win+L or Ctrl+Alt+Del+L is used to lock the computer. I realize this will probably involve some Windows API work, and am aware of the LockWorkStation inside the User32.dll which causes the locking of the computer, but don't know where to start to find out how...
5
2507
by: Chakravarti Mukesh | last post by:
Hi, I want to get an event if someone locks her/his computer so that I could do some finalizations before actually locking the system. For example how can I ensure that an user close a particular application before locking her/his PC. Thanks Mukesh
2
3761
by: E C H (He of too much code) | last post by:
I am very weak in VB.NET, I am using VB.NET 2k5 Express. I have only created one program, and heck it was my first ;-) (URL below if it matters). I am trying to create a program that stays resident, and after a period of inactivity on the computer locks the screen, only it can't use the screen saver interface if I understand it correctly (as the screensaver stuff creates an additional desktop virtual desktop that is unable to interact...
3
30814
by: Marco | last post by:
Hi all, with db2 snapshot I know the lock waits number but I can not see the tables with locks an I can not see queries that produces locks. How can I know those details? Thanks Marco Strullato
9
7265
by: Sam Lambson | last post by:
Hi, This is similar to another post, because I still haven't gotten to the bottom of it. I have a back end database on a shared drive. Each (of 4) user has a front end file on their own C: drive. The main form that users have is bound to a query which merges 2 linked tables. It is not an action query. When the query is executed, everyone still has access to the form/query, until somebody makes an update. Or so it seems.
4
2980
by: lily86 | last post by:
i'm using visual studio 2003 - vb to write one printing system.... then i set my system to auto startup now i want lock the desktop when my system is running untill user key in the correct password and username..... now my printing system was done just only the lock desktop code i totally don't know how to start it.... hope you all can help me.... thanks a lot.........
0
8680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7738
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.