RE: Disable Mouse When A Form Is Visible...solved...

2008-10-06 Thread Jack Skelley
, Jack From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Jerry Wolper [EMAIL PROTECTED] Sent: Monday, October 06, 2008 2:52 AM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible...solved... > The issue has been solved in disabl

RE: Disable Mouse When A Form Is Visible...solved...

2008-10-05 Thread Jerry Wolper
> The issue has been solved in disabling the mouse and keyboard while sendkeys > is > sending its data to the correct window. > The BlockInput function in user32.dll does the trick perfectly (famous last > words). > VFP declaration:... > I block the input just before the window is created then re

RE: Disable Mouse When A Form Is Visible...solved...

2008-10-03 Thread Jack Skelley
Good Afternoon All: The issue has been solved in disabling the mouse and keyboard while sendkeys is sending its data to the correct window. The BlockInput function in user32.dll does the trick perfectly (famous last words). VFP declaration: DECLARE INTEGER BlockInput IN user32 INTEGER fBlockIt ln

Re: Disable Mouse When A Form Is Visible

2008-10-03 Thread Gérard Lochon
- Original Message - From: "Jack Skelley" <[EMAIL PROTECTED]> To: Sent: Friday, October 03, 2008 3:24 PM Subject: RE: Disable Mouse When A Form Is Visible Gerard: I don't want to disable the mouse permanently only when the send email form is visible. As soo

Re: Disable Mouse When A Form Is Visible

2008-10-03 Thread MB Software Solutions General Account
Jack Skelley wrote: > Michael: > TRUE These guys are great at padding the bill. It's the "padding the bill" folks who make it bad for the rest of us. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/list

RE: Disable Mouse When A Form Is Visible

2008-10-03 Thread Jack Skelley
When A Form Is Visible Maybe they're talking about all the bells and whistles of exchange server, not just the mail part of it. Either way, these consultants seem like they're padding their bill with needless work. ___ Post Messages

Re: Disable Mouse When A Form Is Visible

2008-10-03 Thread Richard Kaye
Maybe you can somehow trap the current mouse coordinates and restrict the mouse movement to your email window? Sounds like a candidate for Whil's user hostile interface session but perhaps it's another way to approach your issue. Jack Skelley wrote: > Gerard: > I don't want to disable the mouse

Re: Disable Mouse When A Form Is Visible

2008-10-03 Thread Paul McNett
Jack Skelley wrote: > Gerard: > I don't want to disable the mouse permanently only when the send email form > is visible. As soon as the mail is sent enable the mouse. > Programmatically there must be a way but I haven't found it. > I looked to see if the mouse is on a service but couldn't find. S

RE: Disable Mouse When A Form Is Visible

2008-10-03 Thread Jack Skelley
03, 2008 9:16 AM To: [EMAIL PROTECTED] Subject: Re: Disable Mouse When A Form Is Visible > My smartass suggestion: display a messagebox: > > "Press Okay once you've unplugged the mouse". > > :) I agree with this opinion. Think about another problem : the computer may ha

Re: Disable Mouse When A Form Is Visible

2008-10-03 Thread Gérard Lochon
> My smartass suggestion: display a messagebox: > > "Press Okay once you've unplugged the mouse". > > :) I agree with this opinion. Think about another problem : the computer may have some physical problem with the keyboard ... how the user will be able to finish / save its work if the mouse i

Re: Disable Mouse When A Form Is Visible

2008-10-02 Thread Michael Madigan
Paul McNett <[EMAIL PROTECTED]> > Subject: Re: Disable Mouse When A Form Is Visible > To: profox@leafe.com > Date: Thursday, October 2, 2008, 8:35 PM > Jack Skelley wrote: > > Paul: > > Port 25 is the setting. > > No SSL. > > Authentication is required on Exchang

Re: Disable Mouse When A Form Is Visible

2008-10-02 Thread Michael Madigan
Paul McNett <[EMAIL PROTECTED]> > Subject: Re: Disable Mouse When A Form Is Visible > To: profox@leafe.com > Date: Thursday, October 2, 2008, 8:35 PM > Jack Skelley wrote: > > Paul: > > Port 25 is the setting. > > No SSL. > > Authentication is required on Exchang

Re: Disable Mouse When A Form Is Visible

2008-10-02 Thread Paul McNett
Jack Skelley wrote: > Paul: > Port 25 is the setting. > No SSL. > Authentication is required on Exchange. > When I asked the question to the consultants as to why can't I use > Thunderbird the response was "Exchange 2007 needs Outlook 2003 (or better) or > OWA to send/receive mail". > I tried Tbi

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Michael Madigan [EMAIL PROTECTED] Sent: Thursday, October 02, 2008 3:49 PM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible This makes me sick. I can't stand when things go backwards for no reaso

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Michael Madigan
ROTECTED]> wrote: > From: Jack Skelley <[EMAIL PROTECTED]> > Subject: RE: Disable Mouse When A Form Is Visible > To: "profox@leafe.com" > Date: Thursday, October 2, 2008, 3:25 PM > Good Afternoon Michael: > Speaking of consultants...I just sent them the detailed &

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
ubject: Re: Disable Mouse When A Form Is Visible I highly recommend Postini. (I don't manage it or know anything on cost, etc.) We use it here and my junk mail is nil and false positives extremely rare. Jack Skelley wrote: > The reason we switched from the POP3 server in Arizona (hosted email b

Re: Disable Mouse When A Form Is Visible

2008-10-02 Thread Richard Kaye
I highly recommend Postini. (I don't manage it or know anything on cost, etc.) We use it here and my junk mail is nil and false positives extremely rare. Jack Skelley wrote: > The reason we switched from the POP3 server in Arizona (hosted email by > LimeLight) to the in house Exchange Server wa

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
D] Subject: RE: Disable Mouse When A Form Is Visible Of course the question is, why was it necessary to upgrade exchange server? The answer is: to give consultants something to bill for. ___ Post Messages to: ProFox@leafe.com Subscription Mainten

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Michael Madigan
Of course the question is, why was it necessary to upgrade exchange server? The answer is: to give consultants something to bill for. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free ver

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
alf Of Paul McNett [EMAIL PROTECTED] Sent: Thursday, October 02, 2008 11:21 AM To: [EMAIL PROTECTED] Subject: Re: Disable Mouse When A Form Is Visible Jack, If you can use Outlook to send mail through your Exchange server, then the problem most certainly isn't with the Exchange server.

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
hould work fine Regards !!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Skelley Sent: Thursday, October 02, 2008 9:07 AM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible Micheal: For years I have used Aspemail and it work

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Efren Pedroza
fine Regards !!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Skelley Sent: Thursday, October 02, 2008 9:07 AM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible Micheal: For years I have used Aspemail and it worked gr

Re: Disable Mouse When A Form Is Visible

2008-10-02 Thread Paul McNett
Jack, If you can use Outlook to send mail through your Exchange server, then the problem most certainly isn't with the Exchange server. You just don't have the client settings correct in blat or whatever. Questions: + port 25 or no? If no, could be 993 or 465 + SSL or no? Probably SSL, probably

RE: Disable Mouse When A Form Is Visible

2008-10-02 Thread Jack Skelley
PROTECTED] Sent: Wednesday, October 01, 2008 6:17 PM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible Well the foreign ISPs sometimes block port 25 to foreign mail servers to lower traffic. IF you can get your consultants to redirect the sendmail port to something other t

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Michael Madigan
> From: Jack Skelley <[EMAIL PROTECTED]> > Subject: RE: Disable Mouse When A Form Is Visible > To: "profox@leafe.com" > Date: Wednesday, October 1, 2008, 5:58 PM > Michael: > Blat does not work. This is one of the many I have tried. I > get a return code of

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Jack Skelley
TECTED] On Behalf Of Michael Madigan [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 5:10 PM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible Then I would try Paul's suggestion and try Blat. ___ Post Messages to: ProF

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Michael Madigan
Then I would try Paul's suggestion and try Blat. --- On Wed, 10/1/08, Jack Skelley <[EMAIL PROTECTED]> wrote: > From: Jack Skelley <[EMAIL PROTECTED]> > Subject: RE: Disable Mouse When A Form Is Visible > To: "profox@leafe.com" > Date: Wednesday, Octobe

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Jack Skelley
in AERROR() for i = 1 to 7 &&clear the error array gaError(i) = "" endfor aerror(gaError) &&load the error parameters ? gaError(3) &&gaError(i,3) will have the simplified error message *_cliptext = gaError(3) return .f. How do the rest send email form VFP to an exchange box? Re

Re: Disable Mouse When A Form Is Visible

2008-10-01 Thread Paul McNett
Jack Skelley wrote: > Paul: > Warning my users would make them want to mess it up all the more! I love > these guys but all have been hit in the head with sticks and pucks their > entire life. > You are absolutely correct about the fragile application. > I tried using CDO to send email to our exc

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Michael Madigan
What about just automating Outlook? --- On Wed, 10/1/08, Jack Skelley <[EMAIL PROTECTED]> wrote: > From: Jack Skelley <[EMAIL PROTECTED]> > Subject: RE: Disable Mouse When A Form Is Visible > To: "profox@leafe.com" > Date: Wednesday, October 1, 2008,

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Jack Skelley
Paul McNett [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 3:01 PM To: [EMAIL PROTECTED] Subject: Re: Disable Mouse When A Form Is Visible Jack Skelley wrote: > This is what modal is for when you have a pure VFP app. But in my case this > is not true. There are other open apps

Re: Disable Mouse When A Form Is Visible

2008-10-01 Thread Michael Madigan
I agree with Paul. I've had shaky apps like this and it is always a problem. Can you give us a hint on what the other windows are actually doing? --- On Wed, 10/1/08, Paul McNett <[EMAIL PROTECTED]> wrote: > From: Paul McNett <[EMAIL PROTECTED]> > Subject: Re: Disab

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Tracy Pearson
A couple of API's that might help: FindWindow and BringWindowToTop Or you can use CreateProcess or ShellExecuteEx to launch a program and wait for it to finish before continuing. (There's a few more API's needed for that trick) If you are talking to the other windows via automation, couldn't you

Re: Disable Mouse When A Form Is Visible

2008-10-01 Thread Paul McNett
Jack Skelley wrote: > This is what modal is for when you have a pure VFP app. But in my case this > is not true. There are other open apps that VFP is 'talking to' as long as > the current window doesn't change all is good. But if user activates another > window and I am trying to load window 'x

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Jack Skelley
ED] On Behalf Of Paul McNett [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 2:32 PM To: [EMAIL PROTECTED] Subject: Re: Disable Mouse When A Form Is Visible Jack Skelley wrote: > Actually is a very good idea...at least in my way of thinking... > I need to be able to prevent the user from cli

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Tracy Pearson
Then you are looking for the System Modal API which doesn't work. http://support.microsoft.com/kb/147817 You can sudo it, but there are drawbacks to it. Better to not do it. -Original Message- From: Jack Skelley Sent: Wednesday, October 01, 2008 1:44 PM Tracy: Actually is a very good

Re: Disable Mouse When A Form Is Visible

2008-10-01 Thread Paul McNett
Jack Skelley wrote: > Actually is a very good idea...at least in my way of thinking... > I need to be able to prevent the user from clicking on a set of windows > (several are VFP windows) and several are Internet Explorer windows. I don't > want to let the user change the window that currently h

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Mike yearwood
Ummm Jack? Disabling the mouse is like disabling the steering wheel in a car. Find a way to let the user do what they do. Mike Yearwood > Message: 8 > Date: Wed, 1 Oct 2008 13:43:43 -0400 > From: Jack Skelley <[EMAIL PROTECTED]> > Subject: RE: Disable Mouse When A Form Is Vi

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Jack Skelley
, Jack Skelley From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Tracy Pearson [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 1:29 PM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible What are you trying to accomplish? Disabling the mous

RE: Disable Mouse When A Form Is Visible

2008-10-01 Thread Tracy Pearson
What are you trying to accomplish? Disabling the mouse sounds like a real bad idea. -Original Message- From: Jack Skelley Sent: Wednesday, October 01, 2008 1:25 PM Good Afternoon All: I need to be able to disable the mouse when a form is active and then be able to enable the mouse when t