Visual FoxPro application does not show mapped drives?

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
 
C

Cindy Winegarden

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

John C. Hill

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
 
C

Cindy Winegarden

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top