By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,813 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,813 IT Pros & Developers. It's quick & easy.

Help Only one instance should be open of a chm file...

P: 17
I have created one application as well as i have created help or documentation file in a .chm format for my application.Whenever i click on help menu this documentation file should open but at a time only one instance of help file should open,how to do this...I think it can be done by creating semaphores...but how?
Mar 13 '08 #1
Share this Question
Share on Google+
5 Replies


jlm699
100+
P: 314
I have created one application as well as i have created help or documentation file in a .chm format for my application.Whenever i click on help menu this documentation file should open but at a time only one instance of help file should open,how to do this...I think it can be done by creating semaphores...but how?
So are you saying that when you open the help file multiple instances are popping up? I don't understand quite what you are saying... What environment are you working in here, wxPython? Tkinter?

More details on what your problem is and ways that we can recreate it will help us solve it quickly!
Mar 13 '08 #2

P: 17
So are you saying that when you open the help file multiple instances are popping up? I don't understand quite what you are saying... What environment are you working in here, wxPython? Tkinter?

More details on what your problem is and ways that we can recreate it will help us solve it quickly!
I am using wxpython,I meant to say that if help file is already open then it should not open it till one instance is running...I mean only one instance or only one program should run at a time of help file...
Mar 17 '08 #3

jlm699
100+
P: 314
I am using wxpython,I meant to say that if help file is already open then it should not open it till one instance is running...I mean only one instance or only one program should run at a time of help file...
I still don't understand what you are saying. Can you give an example? If you mean that you don't want the user to be able to open a second instance of the help file, then you could simply set a flag on your main program that vetoes their attempts use the Help system...
Mar 17 '08 #4

P: 17
Hmmm...yes I think u r right...I will try and let u know
Mar 18 '08 #5

P: 17
I still don't understand what you are saying. Can you give an example? If you mean that you don't want the user to be able to open a second instance of the help file, then you could simply set a flag on your main program that vetoes their attempts use the Help system...
Yes,now u got it,i think u r right...i will try and let u know...thnx
Mar 18 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.