PRB: VB UserControls Within UserControls Do Not Print in IE

ID: Q183979

The information in this article applies to:

SYMPTOMS

Visual Basic UserControls that are contained in Visual Basic UserControls will not print in the versions of Internet Explorer (IE) listed above.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

1. Create an ActiveX Control Project in Visual Basic.

2. Place a Frame in UserControl1 and change the caption property of the

   Frame to "Control1."

3. Add a second control (UserControl2) to the project. (This will be the
   inner control)

4. Add a Label control to the upper-left hand corner of UserControl2 and
   change the Caption Property to "Control2."

5. Put a "UserControl2" control inside the Frame created on the first
   control.

6. Create an Internet Download setup with the Setup Wizard.

7. From within Internet Explorer, navigate to Project1.htm that was

    created by the Setup Wizard. You should see UserControl1 with a
    UserControl2 on it.  There will also be a UserControl2 beside
    UserControl1 because the Setup Wizard creates <OBJECT> tags for both
    controls in Project1.htm.

8. From the Internet Explorer File menu, click Print.

The outer control will be printed, but the inner control (UserControl2) will not.

Additional query words: UserControl Active Document Server docobj

Keywords          : AXSDKControls 
Version           : WINDOWS:3.01,3.02,4.0,4.01,5.0
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbprb

Last Reviewed: April 15, 1998