Re: Is there a VFP command without using RUN ?
- From: brferg@xxxxxxxxxxxxxxx
- Date: Thu, 8 May 2008 17:34:42 -0700 (PDT)
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
.
- References:
- Prev by Date: Is there a VFP command without using RUN ?
- Next by Date: Re: Feature is not available?
- Previous by thread: Is there a VFP command without using RUN ?
- Next by thread: Re: Is there a VFP command without using RUN ?
- Index(es):
Relevant Pages
|
Loading