Re: Is there a VFP command without using RUN ?



On May 9, 7:01 am, "WP" <wp_nos...@xxxxxxxxxxxxxxx> wrote:
In my VFP9 application I use    yy='explorer /e,/select, '+x2 where x2 is a
variable folder. Then I issue RUN /N   &yy. I would like to know if there is
another way of invoking the explorer and have it open a given folder. I ask
because my whole application runs with impersonation, that means that the
user behind running the application is not the same as the Windows user.
With that impersonation my command described above does not do anything. It
doesn't give an error, but it does not open any explorer, nothing.

TiA
Walter

Hi, one way I use (from an earlier post) is to call a program with a
parameter for Url as below:

PARAMETER loption
DO CASE
CASE loption=1
MyURL="http://www 1 etc/"
CASE loption=2
MyURL="http://www 2 etc"
ENDCASE

aObj=CreateObject("InternetExplorer.Application")
aObj.visible = .T.
aObj.navigate("&MyURL")
*aObj.quit && will shut down IE

RETURN
.



Relevant Pages

  • Is there a VFP command without using RUN ?
    ... variable folder. ... another way of invoking the explorer and have it open a given folder. ... user behind running the application is not the same as the Windows user. ... With that impersonation my command described above does not do anything. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Is there a VFP command without using RUN ?
    ... invoking the explorer and have it open a given folder. ... application runs with impersonation, that means that the user behind running the ... application is not the same as the Windows user. ...
    (microsoft.public.fox.programmer.exchange)

Loading