From: "frank van nuffel" fvnuffel gmail on
Hi Urs,

in the meantime (not tested though), would "*.???" work (or "?*.?*") ?

just a thought

best regards,

frank

"Urs Eggmann" schreef in bericht news:8c7iofFt6eU1(a)mid.individual.net...
> Karl,
>
>> naturally - the behaviour shown is a bug -forwarded it to VOPS...
>
> Thank you!
> Hope it will give a SP4 (with or without some $$$!! (g) )
> Urs
>


From: Urs Eggmann on
Hi Frank,

I didn't find any combination that worked.

regards
Urs

"frank van nuffel" <fvnuffel (@) gmail (.) com> schrieb im Newsbeitrag
news:pCw7o.56106$cB4.7271(a)hurricane...
> Hi Urs,
>
> in the meantime (not tested though), would "*.???" work (or "?*.?*") ?
>
> just a thought
>
> best regards,
>
> frank
>
> "Urs Eggmann" schreef in bericht news:8c7iofFt6eU1(a)mid.individual.net...
>> Karl,
>>
>>> naturally - the behaviour shown is a bug -forwarded it to VOPS...
>>
>> Thank you!
>> Hope it will give a SP4 (with or without some $$$!! (g) )
>> Urs
>>
>
>

From: Darmadi on
Hi,

It was long time I'm not using File() function:
Replace with this function:

FUNC VOFile( cFile AS STRING ) AS LOGIC PASCAL
LOCAL dwReturn AS DWORD
LOCAL pszFile AS PSZ

cFile := RTrim(cFile)

pszFile := StringAlloc(cFile)

dwReturn := GetFileAttributes( pszFile )

MemFree( pszFile )

IF dwReturn == DWORD(_CAST,F_ERROR) .OR. dwReturn ==
FILE_ATTRIBUTE_DIRECTORY
RETURN FALSE
ENDI

RETURN TRUE

Regards,
Darmadi

"Roger Lawton" <nsproger(a)nspsomax.com> wrote in message
news:i3h6as$fme$1(a)speranza.aioe.org...
> I am (finally) implementing VO 2.8 SP3 and I am having a problem with the
> File() function. In our app we would check for the existance of (any)
> files in a directory using something like the following:
>
> cPath := "C:\MYDIRECTORY\*.*"
>
> If File( cPath )
> // do something
> Else
> // do something else
> Endif
>
> However, with the update to SP3 I have found that File(cPath) never
> returns true when using *.* as the "template". Is there somehing I am
> missing or is this the case?
>
> Thanks
>
> --
> Roger Lawton
> Product Manager
> SOMAX, Inc.