Re: VFP: Finding Name of Executable

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.
.



Relevant Pages

  • Re: ? limitation
    ... Gene Wirchenko wrote: ... learning stuff about it. ... have some code in my app for this. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Error 1308 comparing strings
    ... It worked fine for me under VFP 6. ... Gene Wirchenko ... Prev by Date: ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Just an opinion
    ... Microsoft promote VB more than VFP. ... promotion than VFP does. ... Gene Wirchenko ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Foxpro now an "A" language
    ... VFP -- it so much easier it's silly. ... instance that app that I'm still supporting in VFP was done in VFP 8.0, ... designing a large app in C# ... A lot of people *say* they're replacing VFP apps. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Simple Question(s)
    ... client has its own VFP. ... It sounds like you may be running an app in a multiuser setting ... table and record locking are handled in the table ...
    (comp.databases.xbase.fox)