HowardW


The statement

lcFile = GETFILE([PDF],[Scanned doc],[Select document])

causes some machines to totally freeze up. Seems to affect Win2k machines and not XP or 2003. Statement is in a command button in a container in my vcx classlib. Used to work fine till I started building exe's on my 2003 server

Any ideas




Re: GetFile

Alex Feldstein


This opens Windows Explorer.

The first question would be: do you see any problems opening Windows Explorer on the same folder, same parameters

Could it be a permissions or access issue The user and credentials within the app may not be the same as when you try it mannually. Just a thought.






Re: GetFile

HowardW

I'm confused - GETFILE is a documented VFP function - no such animal for Windows Explorer.

Behaviour is independent of user & permission levels






Re: GetFile

AndyKr

I think that Alex means that GetFile() is merely a wrapper around the Windows API call that opens Windows Explorer. Therefore the issue is nothing to do with VFP, but more likely to do with the WIndows system






Re: GetFile

Alex Feldstein

AndyKr wrote:
I think that Alex means that GetFile() is merely a wrapper around the Windows API call that opens Windows Explorer. Therefore the issue is nothing to do with VFP, but more likely to do with the WIndows system.

Andy

That's exactly what I meant. Maybe I did not make it clear. In re-reading, I should've said wrapper around the API. It is not Windows Explorer per se. I'm not sure but I think it's part of the Windows Common ActiveX that wraps around the API used by Windows Explorer.

In any case, it seems to be a Windows issue, not VFP.





Re: GetFile

HowardW

All - really appreciate your inputs. Everything seems to point to the Windows configuration as initially suggested. The misbehaving machines may correlate to those rebuilt from Dell media although all have the latest service packs. Simplest solution may be to upgrade to XP...