Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

"freeze" desktop

Thread view: 
max - 21 Mar 2007 06:00 GMT
hi all,

I plan to write a program to execute when the windows start. it's a
compare & update program between server and client. I want it to
freeze the desktop until the process is done. How can i do that??

Thanks.
max - 21 Mar 2007 14:23 GMT
anyone please??

> hi all,
>
[quoted text clipped - 3 lines]
>
> Thanks.
Andrew Thompson - 21 Mar 2007 15:07 GMT
> anyone please??

Please ..
- refrain from top-posting, and
- fix that sticky '?' key.
- be more patient when dealing with usenet*.

* Perhaps if you need answers within a 72
hour time frame, a help-desk or consultant
might be a better way to go.

..
> > I plan to write a program to execute when the windows start. it's a
> > compare & update program between server and client. I want it to
> > freeze the desktop until the process is done.

What do you mean by 'freeze the desktop'?

As little as I understand your question, it
seems you want the user to be 'locked out' of
doing anything (including in other applications)
while this program does its updates.  But that
is just silly.

> How can i do that??

Why would you want to do that?

Andrew T.
Oliver Wong - 21 Mar 2007 18:07 GMT
> anyone please??

   See
http://moinmoin.riters.com/JINX/index.cgi/Suggestions_20for_20Asking_20Questions
_20on_20Newsgroups#BePatient


>> hi all,
>>
>> I plan to write a program to execute when the windows start. it's a
>> compare & update program between server and client. I want it to
>> freeze the desktop until the process is done. How can i do that??

   I suspect that this isn't possible using a pure Java solution. You
might have better luck asking a Windows newsgroup.

   - Oliver
Lew - 21 Mar 2007 19:52 GMT
>> anyone please??
>
[quoted text clipped - 9 lines]
>     I suspect that this isn't possible using a pure Java solution. You
> might have better luck asking a Windows newsgroup.

and be sure to let us know the product name if it is ever generally available.
I want to be sure never to use it.

-- Lew
Joshua Cranmer - 21 Mar 2007 22:32 GMT
> hi all,
>
[quoted text clipped - 3 lines]
>
> Thanks.

A) Use another language like C, C++, (shudders) Visual Basic. To write
this is in Java would require so much native code that it would be
easier to use a native language.

B) Poke around either msconfig or the Registry to find information.
Thomas Kellerer - 21 Mar 2007 23:08 GMT
max wrote on 21.03.2007 06:00:
> hi all,
>
> I plan to write a program to execute when the windows start. it's a
> compare & update program between server and client. I want it to
> freeze the desktop until the process is done. How can i do that??

Simple answer: don't

Users will be quite annoyed if you block their whole computer while you are
synchronizing data. I would de-install this type of program a split second after
it has locked me out of my computer
Chris Uppal - 22 Mar 2007 00:38 GMT
> > I plan to write a program to execute when the windows start. it's a
> > compare & update program between server and client. I want it to
> > freeze the desktop until the process is done. How can i do that??
[...]
> I would de-install this type of program a split
> second after it has locked me out of my computer

Tut, tut, tut; programmers really ought to think with greater precision than
that.  You would de-install the program a split second after it had /let you
back into/ your computer.

;-)

   -- chris
max - 22 Mar 2007 05:21 GMT
thanks for all the concern, i'm smart enough to avoid writing such
annoying software. As what i mention on the first message, I want the
program to run each time when the Windows start, not in the middle.
The user doesn't have a choice, because i'm writing it for my Cyber
cafe, not for the general market.
Andrew Thompson - 22 Mar 2007 05:55 GMT
..
> ..As what i mention on the first message, I want the
> program to run each time when the Windows start, not in the middle.

A web started application, invoked at start-up,
could not only provide a simple splash screen
and messages to indicate progress, but also allow
other applications to continue in their own
threads, unhindered.

> The user doesn't have a choice, because i'm
> writing it for my Cyber cafe, ..

What precisely do you mean by 'my Cyber cafe',
are you referring to a shop with a row of
computers, and staff employed by you, to switch
them on in the morning (or reboot them as needed)?

What does this 'locking of the desktop' offer to
the process, how does it bring any advantage to
the people who are booting the computers?
(And if the answer is 'none', then 'why bother?')

>..not for the general market.

If my understanding of 'Cyber cafe' is correct,
the end users who are paying for computer time
do not need to (re)boot the PC's?  Is that what
you mean?

Andrew T.
Oliver Wong - 22 Mar 2007 15:42 GMT
> ..
>> ..As what i mention on the first message, I want the
[quoted text clipped - 5 lines]
> other applications to continue in their own
> threads, unhindered.

   I think the OP does NOT want to allow other applications to continue
in their own threads, unhindered.

>> The user doesn't have a choice, because i'm
>> writing it for my Cyber cafe, ..
[quoted text clipped - 15 lines]
> do not need to (re)boot the PC's?  Is that what
> you mean?

   A cybercafé is a place where you can rent computers for a few minutes
or hours at a time. The "cafe" part comes into play because you can
usually purchase beverages too.

   I'm guessing the OP wants to completely lock down the system, so that
his main application (e.g. which meters how long the user has been using
the computer, for example) cannot be killed by the user. When time runs
up, the app takes over the system, "freezing" all other applications
(different implementations will implement "freezing" differently --  
perhaps the apps are still running, but all keyboard/mouse input is
captured and prevented from reaching the app), requesting that the user
buys more time.

   - Oliver
Chris Uppal - 22 Mar 2007 17:03 GMT
>     I'm guessing the OP wants to completely lock down the system, so that
> his main application (e.g. which meters how long the user has been using
> the computer, for example) cannot be killed by the user.

That, or something like it, seems quite plausible.  I don't think that Java is
the right language at all for such a program, though (unless perhaps that
feature was just one small feature of a much larger Java-ish "application").

   -- chris
Lew - 23 Mar 2007 13:52 GMT
Oliver Wong wrote:
>>     I'm guessing the OP wants to completely lock down the system, so that
>> his main application (e.g. which meters how long the user has been using
>> the computer, for example) cannot be killed by the user.

> That, or something like it, seems quite plausible.  I don't think that Java is
> the right language at all for such a program, though (unless perhaps that
> feature was just one small feature of a much larger Java-ish "application").

I thought cyber cafes usually did their monitoring from a network or
Citrix[-like] server which timed the period from login to logout of the remote
nodes. Hotels use a Web gateway for Internet access, and you have to pay to
play. None of the billing, access or monitoring software runs on the client
machine, thus the patron has no conceivable access to the master processes.
Such a remote monitor system could indeed be written in Java.

I assess that having the monitor within the system that it monitors to be
fraught with Godelian peril.

-- Lew
Gordon Beaton - 22 Mar 2007 07:47 GMT
> thanks for all the concern, i'm smart enough to avoid writing such
> annoying software. As what i mention on the first message, I want the
> program to run each time when the Windows start, not in the middle.
> The user doesn't have a choice, because i'm writing it for my Cyber
> cafe, not for the general market.

In that case, have a look at http://openkiosk.sourceforge.net/ for one
example. Search for "kiosk systems" for more.

/gordon

--


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.