Visual FoxPro application does not show mapped drives?

  • Thread starter Thread starter John Hill
  • Start date Start date
J

John Hill

I may be in the wrong newsgroup, but I was not sure where else to post this.
I am having a problem with a Visual Foxpro app. The app asks for a location
of data files with a drive listing. The only drives I see, are local
drives. I do not see any mapped network drives in the list.

Any ideas would be greatly appreciated.

Thanks

John
 
Hi John,

I assume you have a third-party app and you are not the developer. I also
assume you have directory permissions to the mapped drives you are expecting
to see in the dialog.

It's hard to tell whether the application is using Visual FoxPro's GetDir()
function which brings up VFP's own native directory locator (not Windows'
dialog), or if the app is using something built by the developer, in which
case there's no telling what is going on underneath the dialog window. Also,
you haven't said which version of Visual FoxPro the application was built
with.

I personally don't have any direct experience with VFP running under Vista
but it should run the same as on WinXP.

Sorry I can't help more.
 
Thanks Cindy,

Thie app is written with visual foxpro 7.0. I have also been able to
determine that the issues has something to do with
selecting "Run this program as an administrator" checkbox for the
applications shortcut. If I leave this unchecked, the app will run, but the
application tries to write a configuration file to a system folder. This
gives a warning message, but the application will run. Under XP this app
needs be run with administrator priveleges. If I select the "Run this
program as an administrator" option, the app does not give the warning
message, but it gives me the problem listed in the post above.

Thanks,
John
 
So the obvious question is what account the app is actually running under
and does that account have access to the mapped drives? Can you create an
administrator account (or give yourself admin rights) on the computer and
give that account access to the file server and then log into the computer
as that account and test? (I'm not all that great with Windows/Active
Directory security.)
 
Back
Top