How To Add/Remove Network Connections in FoxPro (105042)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q105042 SUMMARY
You can add and remove network connections from within a FoxPro for
Windows application by using the Windows application programming
interface (API) through FOXTOOLS.FLL, a library file included with
FoxPro. To do this, see below.
NOTE: For backward compatibility, Visual FoxPro still supports FOXTOOLS.FLL
(included in earlier FoxPro versions), the Visual FoxPro API library that
allows calls to 16-bit .DLL functions. However, in Visual FoxPro, the
DECLARE command is the preferred method for calling .DLL functions.
REFERENCES
For more information about WNetAddConnection() and
WNetCancelConnection(), see the Microsoft Windows Software Development
Kit (SDK) "Programmer's Reference, Volume 2: Functions," which
contains more information about the functions' return values and their
meanings.
NOTE: These return values will not be interpreted by FoxPro for
Windows.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbcode kbhowto kbnetwork KB105042 |
---|
|