ACC2: Using SHARE.EXE and VSHARE.386 with Microsoft Access 2.0

Last reviewed: April 2, 1997
Article ID: Q112125
The information in this article applies to:
  • Microsoft Access version 2.0

SUMMARY

Moderate: Requires basic macro, coding, and interoperability skills.

Microsoft Access version 2.0 includes a version of VSHARE.386 that is compatible with Microsoft Windows 3.1, Windows 3.11, Windows for Workgroups 3.1, and Windows for Workgroups 3.11.

If you are using applications that support object linking and embedding (OLE) 2.0, you must run either SHARE.EXE or VSHARE.386. VSHARE.386 eliminates the need for SHARE.EXE when you run Windows 3.1 or Windows for Workgroups in 386 enhanced mode. If you run Windows 3.1 in standard mode, you still need to run SHARE.EXE.

MORE INFORMATION

Microsoft Access Setup will automatically install VSHARE.386 by copying VSHARE.386 into the WINDOWS\SYSTEM directory and adding this line to the [386Enh] section of the SYSTEM.INI file:

   device=vshare.386

Setup will not automatically remove SHARE.EXE from the AUTOEXEC.BAT file, because it may still be required by MS-DOS applications running outside of Windows.

If SHARE.EXE is not required for any applications running in MS-DOS out- side of Windows, it can be removed from the AUTOEXEC.BAT file to free up approximate 5K of conventional memory. Leaving SHARE.EXE in the AUTOEXEC.BAT file will not cause any harm.

If Windows is run in standard mode then SHARE.EXE must be in the AUTOEXEC.BAT file. Add the following line to the AUTOEXEC.BAT file to install SHARE.EXE:

   <path>\SHARE.EXE /L:500 /F:5100

In the example above, substitute the drive and directory where the SHARE.EXE file is located for <path>. For example, if the SHARE.EXE file is located in the DOS directory on drive C, add the following line to your AUTOEXEC.BAT file:

   C:\DOS\SHARE.EXE /L:500 /F:5100

After adding SHARE.EXE to the AUTOEXEC.BAT file, restart the computer.


Keywords : EvnOs kbenv
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbinfo


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: April 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.