How To Use Universal Naming Conventions (UNC) w/ Visual FoxPro

Last reviewed: October 18, 1996
Article ID: Q136920
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 5.0

SUMMARY

This article describes the use of Universal Naming Convention (UNC) type path referencing with Visual FoxPro.

MORE INFORMATION

When Visual FoxPro needs to resolve a path (for example with Use C:\Test.dbf), it passes the path to the operating system by using the appropriate API. The same procedure is used with UNC path referencing. Whether it works or not depends on the operating system. If you are running under a 32-bit Microsoft operating system like Windows 95 or Windows NT, direct UNC references will work. With a 16-bit operating environment, such as Windows 3.x, the operating system cannot resolve the UNC path by itself.

In general, with the exception of the SET DEFAULT and CD commands, any command that can take a fully qualified path in Visual FoxPro can support UNC.

There is no delay internal to Visual FoxPro caused by the use of UNC to reference files. There is no proven speed or reliability increase given by connecting a network drive to the server and using conventional reference methods.


Additional reference words: 5.00 3.00 VFoxWin Network Multiuser
KBCategory: kbnetwork kbhowto
KBSubcategory: FxnetworkGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.