Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 18th, 2005, 05:25 PM
Authorized User
Join Date: Mar 2005
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ensure only one appl. is execution on PC?

Hi there,

Due to my inadequacy, I need some help for one “simple problem”.
(1) Only one copy of the application can be executed at one time on a desk top. One of the solutions I am trying is to check if a “special temporary file” existed when it first invoked. If the “file” existed, message is displayed to alter the user before it aborts itself. Conversely it creates a temporary file which will be deleted when this application is completed by the user. However this approach will cause problem when the system crashes or the user “kills” it. Under this abnormal condition, the temporary file will cause problem. Is there a method that Java provided for detecting this condition?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WORD Compopnent in VB appl. QM VB Components 1 December 19th, 2012 11:52 PM
VC++ 2005 PC ERROR @ PC STARTUP -JUST IN TIME DBUG CPPGUY Visual C++ 2005 0 October 3rd, 2008 12:52 PM
Best way to connect to the data base Is it Appl... jojys Classic ASP Databases 1 October 20th, 2004 09:23 AM
Dynamically Referring Web Services in a Appl. chandramuralis .NET Web Services 7 October 1st, 2004 07:25 AM

All times are GMT -4. The time now is 02:23 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.