BUG: SetupKit: Fuzzy Title Display in Setup Program

Last reviewed: June 21, 1995
Article ID: Q114773
The information in this article applies to:

- Standard and Professional Editions of Microsoft Visual Basic for

  Windows, version 3.0

SYMPTOMS

The title on the background of the SETUP1.EXE is displayed incorrectly.

CAUSE

The ShowMainForm subroutine in SETUP1.FRM of the SETUP1.MAK project incorrectly displays the form and prints a title on the background of the form before it changes the scalemode of the form. Therefore, when the form is refreshed again, the Print statement prints in a slightly different location, giving the "fuzzy" look.

WORKAROUND

To work around the problem, rearrange the order of displaying the form and changing the scalemode of the form by using these steps:

  1. Start Visual Basic and open the SETUP1.MAK project located in the \VB\SETUPKIT\SETUP1 directory (ALT, F, O).

  2. View the code in the SETUP1.FRM form, and go to the ShowMainForm subroutine.

  3. The incorrect code should read as follows:

       Sub ShowMainForm (Caption$)
          Screen.MousePointer = 11
          Setup1.Caption = Caption$
          Setup1.Move 0, 0, Screen.Width, Screen.Height * .85
          Setup1.Show
          Setup1.Refresh
    
          Setup1.ScaleMode = 2
          Setup1.FontSize = 24
          Setup1.FontBold = True
          Setup1.FontItalic = True
    
          DrawBackground
       End Sub
    
       To correct the problem, move the Setup1.Show and Setup1.Refresh
       statements to the end of the subroutine. Also, delete the call to
       DrawBackground. The corrected code should read:
    
       Sub ShowMainForm (Caption$)
          Screen.MousePointer = 11
          Setup1.Caption = Caption$
          Setup1.Move 0, 0, Screen.Width, Screen.Height * .85
    
          Setup1.ScaleMode = 2
          Setup1.FontSize = 24
          Setup1.FontBold = True
          Setup1.FontItalic = True
    
          Setup1.Show
          Setup1.Refresh
       End Sub
    
    

  4. From the File menu, choose Save File to save the changes to the Form. Because the SetupWizard uses the project SETUP1.MAK as its template when creating your distribution diskettes, the change will correct problems for any new setup diskettes.

  5. Press the F5 key to run the program. You should see a clear display of "Loan Application Setup" on the background of the form. Click Exit Setup to exit out of the application.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: buglist3.00 3.00 buglist3.00 setup wizard
setupwizard
KBCategory: kbtool kbbuglist
KBSubcategory: TlsSetWiz


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: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.