VB Instant Change Scroll Custom Control UAE with Drag Method

ID Number: Q80866

1.00

WINDOWS

buglist1.00

Summary:

In the Microsoft Visual Basic Professional Toolkit for Windows version

1.0, using the Instant Change Scroll Bar custom control, you will

receive an "Unrecoverable Application Error" (UAE) when placing a Drag

event in the Change event procedure or the Changing event procedure.

The steps shown further below reproduce the problem.

Microsoft has confirmed this to be a problem in 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

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

Note: This code causes a UAE, which could end your Windows session.

Make sure you save everything you want to before testing this example.

1. In the Visual Basic 1.0 programming environment, choose Add File

from the File menu, and select the INSTSCRL.VBX custom control. The

Instant Scroll Bar tools will appear in the Toolbox.

2. Select either the horizontal or vertical Instant Change Scroll Bar

tool, and place a scroll bar on the form.

3. Press the F7 function key or double-click on the Instant Change

Scroll Bar to bring up the Code window for the control. Add

the following code to the Change event or Changing event procedure:

' InstVScroll1 can be substituted for InstHScroll1

Sub InstHScroll1_Change ( )

InstHScroll1.Drag 1

End Sub

-or-

' InstVScroll1 can be substituted for InstHScroll1

Sub InstHScroll1_Changing ( )

InstHScroll1.Drag 1

End Sub

4. From the Run menu, choose Start to run the example.

5. Click on the right scroll arrow and pause. A UAE will occur.

Additional reference words: 1.00