Re: VFP: Finding Name of Executable
- From: Gene Wirchenko <genew@xxxxxxxx>
- Date: Wed, 25 Oct 2006 20:45:26 -0700
Gene Wirchenko <genew@xxxxxxxx> wrote:
I am using Adobe Acrobat to print to PDF. To do this, I have to
write to the Registry the name of the executable. How do I determine
this? My thoughts so far:
If the app is running as a collection of .fxp files under VFP,
then VFP is the actual executable. How do I find out the name of the
VFP executable? (I mean the name of the .exe that is VFP.)
After more hunting in the docs, I dragged out a tidbit called
_vfp.fullname. This works when running under full VFP. Under the
runtime, use sys(16,1). (Do not use _vfp.fullname then as it returns
a DLL name which is not what is wanted.)
[snip]
I think there might be other possibilities such as .app. (I have
never used a .app, nor do I even know how they are created.) There is
also the possibility of one .exe calling another and on and on. If I
have the first three above, that should do it for my case, and I need
them anyway before experimenting with the rest.
I still do not know about this. Any light?
[snip]
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.
.
- Prev by Date: Re: Coming from FPW 2.6 (2nd part)
- Next by Date: Killing a process
- Previous by thread: Coming from FPW 2.6 (2nd part)
- Next by thread: Killing a process
- Index(es):
Relevant Pages
|