FIX: VB Pro Setup Fails to Correctly Associate .HLP Files

Last reviewed: October 30, 1997
Article ID: Q100191
3.00 WINDOWS kbsetup kbbuglist

The information in this article applies to:

  • Professional Edition of Microsoft Visual Basic programming system for Windows, version 3.0

SYMPTOMS

If you click a file with the .HLP extension from File Manager, you may receive this message:

   Cannot Run Program. There is no application associated with this file.
   Choose Associate from the File menu to create an association.  (This
   error occurs when running Microsoft Windows version 3.11 operating
   system.)

   -OR-

   Cannot access the file at this time. Make sure the file is not in use by
   another program and it is a valid program file. (This error occurs when
   running Microsoft Windows for Workgroups version 3.11.)

CAUSE

The Setup program in the Professional Edition of Microsoft Visual Basic version 3.0 for Windows adds the following problem line to the extensions section of the WIN.INI file if no association for .HLP file currently exists:

   HLP=D:\WINDOWS\SETUPWIZ.INI ^.HLP

If there is already an entry for the .HLP file extension in the WIN.INI file no change is made by the Setup program.

WORKAROUND

Locate the following line in the WIN.INI file in the \WINDOWS directory:

   HLP=D:\WINDOWS\SETUPWIZ.INI ^.HLP

Replace it with the following line:

   HLP=WINHELP.EXE ^.HLP

STATUS

Microsoft has confirmed this to be a bug in Microsoft Visual Basic version 3.0 for Windows. This bug was corrected in Microsoft Visual Basic version 4.0 for Windows.


Additional reference words: buglist3.00 3.00 Help fixlist4.00
KBCategory: kbsetup kbbuglist
KBSubcategory: Setins
Solution Type : kbfix


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