Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent multiple sessions of FoxPro 1

Status
Not open for further replies.

Menglish

Programmer
Jun 22, 2001
66
I have a client who daily opens multiple sessions of FoxPro with obvious results. What is the procedure (through the registry?) of preventing this.

Any and all help will be appreciated.

Millard
 
Menglish

FoxPro or an application written in FoxPro? If its the second one, there are a least three solutions in the FAQ in this forum. Example is faq184-1767. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Mike,

They are loading FoxPro over and over. When I got to their office Monday, the guy was complaining that the program was "frozen". A quick check revealed he had opened FoxPro about 7 times.

Is there a way to remove the icon from the desktop when FoxPro is running and return it when he exits?

I read of a procedure for preventing multiple sessions in that past but have no idea if it was FoxPro or MSDN or from a periodical.

Thanks again,

Millard
 
Millard,
Does this user also require a fix to Word or Excel because he opens it multiple times? Why is someone this "computer unsophistocated" running the VFP Developer Environment? Why not provide an application using Mike's FAQ code?

Of course, if none of the above makes a difference, why not add an explicit reference to a CONFIG.FPW file in his shortcut. In this file include a _STARTUP line that points to a program that uses Mike's FAQ code.

Rick
 
Rick

Does this user also require a fix to Word or Excel because he opens it multiple times? Why is someone this "computer unsophistocated" running the VFP Developer Environment? Why not provide an application using Mike's FAQ code?

Excellent point!
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Does this user also require a fix to Word or Excel because he opens it multiple times?

Old developer to me as young man when talking about user interface.

"Try as you might, there is just no coding for stupidity!"

sig_jugler.gif
...all this and tap dancing too!
 
Millard,

I totally agree with Mike and Rick, and I hope you are able to follow their advice.

For your information, there is another way of detecting multiple instances that you might find useful. See my article at:

Mike
Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top