Instant Scroll Bar, Changing Event: UAE Showing Modal Form

ID Number: Q80937

1.00

WINDOWS

buglist1.00

Summary:

An "Unrecoverable Application Error" (UAE) can occur if you try to

show a modal form in the Changing event procedure for the Instant

Change Scroll Bar custom control. The steps further below demonstrate

the problem.

The problem does not occur if the form being shown is not a modal form

or if you click the scroll arrows on the Instant Change Scroll Bar

control instead of the scroll box (the thumb bar) to cause the

Changing event to occur.

Microsoft has confirmed this to be a problem with the Instant Change

Scroll Bar custom controls supplied with Microsoft Professional

Toolkit for Microsoft Visual Basic programming system version 1.0 for

Windows. We are researching this problem and will post new information

here as it becomes available.

More Information:

Steps to Reproduce Problem

--------------------------

1. Run Visual Basic, or from the File menu, choose New Project (ALT,

F, N) if Visual Basic is already running. Form1 is created by

default.

2. From the File menu, choose Add File. In the Files box, select the

INSTSCRL.VBX custom control file. The Instant Change Scroll Bar

tools will appear in the Toolbox.

3. Select an InstHScroll or InstVscroll control from the Toolbox and

place it on Form1.

4. Press the F7 function key to open the Code window, select the

InstHScroll1_Changing event procedure, and enter the following

code:

Sub InstHScroll1_Changing ( )

MsgBox "Stopping"

End Sub

5. From the Run menu, choose Start.

6. Click and drag the scroll box (thumb bar) to generate a Changing

event. Performing this several times can generate a UAE.

Additional reference words: 1.00