Hello all,

The application I am working in copies files into a PC from a remote
server via pcAnywhere. The problem I have is that a dialog asking the user
for permission is presented. The dialog refers to the pcAnywhere's .CHF file
that the app uses to establish the connection. This occurs in Windows XP
boxes.

I noted that if the Software Restriction Directives branch of the
machine's Local Security is empty the dialog is not launched. How can I
Eliminate the contents of this branch (I mean all the content)?

Any help is a great help.
TIA
Carlos Jones

Re: Communications by mappell917

mappell917
Tue Sep 09 12:34:49 CDT 2003

Carlos - if you are just copying files have you thought about an ftp ActiveX
control instead of pc Anywhere? This of course would require an ftp site but
it could be password protected and the ActiveX control can automatically supply
all that.

Regards,


Mike

Re: Communications by Arto

Arto
Tue Sep 09 14:34:27 CDT 2003

You could search open windows by it's caption (you may check the class too)
see: winapis GetDeskTopWindow, GetWindow, GetWinText and GetClsName (see
http://www.news2news.com/vfp/?example=27). Then when dialog is open you
shoud see it with above APIs and you can just send a message to it with f.ex
PostMessage to close it and continue.

Arto Toikka

"Carlos Jones" <carlosj@farmaciasdesimilares.com.mx> wrote in message
news:u%23r8xCwdDHA.568@TK2MSFTNGP11.phx.gbl...
> Yes, I have. But now I need to solve the current problem because the app
is
> one in production.
> I would appreciate if you can point me to some ActiveX
>
> Thanks
>
> "MAppell917" <mappell917@aol.com> escribió en el mensaje
> news:20030909133449.07565.00000646@mb-m27.aol.com...
> > Carlos - if you are just copying files have you thought about an ftp
> ActiveX
> > control instead of pc Anywhere? This of course would require an ftp
site
> but
> > it could be password protected and the ActiveX control can automatically
> supply
> > all that.
> >
> > Regards,
> >
> >
> > Mike
>
>



Re: Communications (Solved) by Carlos

Carlos
Wed Sep 10 02:08:57 CDT 2003

I solved the problem using ShellExecute API following the code in the class
_shellexecute contained in \microsoft visual studio\vfp98\ffc\_environ.vcx
You really helped me to take a different approach to this.

THANKYOU for your time and concern

Regards

"Carlos Jones" <carlosj@farmaciasdesimilares.com.mx> escribió en el mensaje
news:egDjHSvdDHA.1580@tk2msftngp13.phx.gbl...
> Hello all,
>
> The application I am working in copies files into a PC from a remote
> server via pcAnywhere. The problem I have is that a dialog asking the user
> for permission is presented. The dialog refers to the pcAnywhere's .CHF
file
> that the app uses to establish the connection. This occurs in Windows XP
> boxes.
>
> I noted that if the Software Restriction Directives branch of the
> machine's Local Security is empty the dialog is not launched. How can I
> Eliminate the contents of this branch (I mean all the content)?
>
> Any help is a great help.
> TIA
> Carlos Jones
>
>