: AGETFILEVERSION Fail - SOLVED!
At 10:18 2018-05-02, "Paul H. Tarver" <p...@tpcqpc.com> wrote:
[snip]
>So I've updated my class method to include the explicit full path which
will
>be backwardly compatible with all my previous code and I learned a valuable
>lesson:
>
&
At 10:18 2018-05-02, "Paul H. Tarver" wrote:
[snip]
So I've updated my class method to include the explicit full path which will
be backwardly compatible with all my previous code and I learned a valuable
lesson:
"When in doubt, get explicit!"
Just like both
Sent: Wednesday, May 02, 2018 12:16 PM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
What is the file name being passed to AGETFILEVERSION() when it fails to
return anything? What is the current directory at this point in time?
I believe there was a WinAPI version of this function, can
hout
error, without creating an array, but it does return a 0 as the number of
elements.
Paul H. Tarver
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul H.
Tarver
Sent: Wednesday, May 02, 2018 11:28 AM
To: profoxt...@leafe.com
Subject: RE: AGET
41 AM
To: profoxt...@leafe.com
Subject: RE: AGETFILEVERSION Fail
After some further testing, I determined that mis-spoke when I said that
AGETFILEVERSION() was returning an empty string and not an array.
What it is actually doing is returning NOTHING. If I remove the LOCAL ARRAY
line from the
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul H.
Tarver
Sent: Wednesday, May 02, 2018 11:28 AM
To: profoxt...@leafe.com
Subject: RE: AGETFILEVERSION Fail
I checked the array generated from ADIR() in my code and it is returning the
proper list of EXE
[mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul H.
Tarver
Sent: Wednesday, May 02, 2018 11:28 AM
To: profoxt...@leafe.com
Subject: RE: AGETFILEVERSION Fail
I checked the array generated from ADIR() in my code and it is returning the
proper list of EXE files found in the folder. But I'm thinking I want
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Gianni
Turri
Sent: Wednesday, May 02, 2018 10:51 AM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
Hi Paul!
If the current directory ( curdir() ) changes to something like
C:\Windows\System32
to identify the INI file.
I'll keep testing, Thanks!
Paul H. Tarver
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Frank
Cazabon
Sent: Wednesday, May 02, 2018 7:01 AM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
Maybe you could break
[mailto:profoxtech-boun...@leafe.com] On Behalf Of
Charlie-gm
Sent: Wednesday, May 02, 2018 8:31 AM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
Maybe take a look at "_VFP.servername". That returns a character string
of the .exe (including path) that is being executed.
Example:
m
ss anyway because of this weirdness.
Paul H. Tarver
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Ted
Roche
Sent: Tuesday, May 01, 2018 2:38 PM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
On Tue, May 1, 2018 at 3:23 PM, Paul H. T
At 06:31 2018-05-02, Charlie-gm wrote:
Maybe take a look at "_VFP.servername". That returns a character
string of the .exe (including path) that is being executed.
Example:
my_exe_file = _vfp.servername
I don't think this will work if you are running ".app" files - in
Maybe take a look at "_VFP.servername". That returns a character string
of the .exe (including path) that is being executed.
Example:
my_exe_file = _vfp.servername
I don't think this will work if you are running ".app" files - in that
case it may always return the path to the VFP9.exe
un...@leafe.com] On Behalf Of Frank
Cazabon
Sent: Sunday, April 29, 2018 4:26 PM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
Paul,
what's the code you are using?
Frank.
Frank Cazabon
On 28/04/2018 02:38 PM, Paul H. Tarver wrote:
Has anyone ever had any problem with AGETFILEVERSION(
Of Ted
Roche
Sent: Tuesday, May 01, 2018 2:38 PM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
On Tue, May 1, 2018 at 3:23 PM, Paul H. Tarver <p...@tpcqpc.com> wrote:
>
> The reason for this code is to identify the application .EXE. Perhaps
there
> is a be
: AGETFILEVERSION Fail
On Tue, May 1, 2018 at 3:23 PM, Paul H. Tarver <p...@tpcqpc.com> wrote:
>
> The reason for this code is to identify the application .EXE. Perhaps
there
> is a better way to identify the application name that will eliminate the
> need to use AGETFILEVERSION() to identify
On Tue, May 1, 2018 at 3:23 PM, Paul H. Tarver wrote:
>
> The reason for this code is to identify the application .EXE. Perhaps there
> is a better way to identify the application name that will eliminate the
> need to use AGETFILEVERSION() to identify the main .exe file for the
the
application.
Paul
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Frank
Cazabon
Sent: Sunday, April 29, 2018 4:26 PM
To: profoxt...@leafe.com
Subject: Re: AGETFILEVERSION Fail
Paul,
what's the code you are using?
Frank.
Frank Cazabon
On
Paul,
what's the code you are using?
Frank.
Frank Cazabon
On 28/04/2018 02:38 PM, Paul H. Tarver wrote:
Has anyone ever had any problem with AGETFILEVERSION() failing to return
values after an ODBC connection is made?
I'm using the Oracle ODBC Driver and until the SQLCONNECT() command
19 matches
Mail list logo