PRB: Visual Basic UserControls Within UserControls Do Not Print in Internet Explorer
ID: Q183979
|
The information in this article applies to:
-
Microsoft Internet Explorer (Programming) versions 3.01, 3.02, 4.0, 4.01
-
Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0
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
- Create an ActiveX Control Project in Visual Basic.
- Place a Frame in UserControl1 and change the caption property of the
Frame to "Control1."
- Add a second control (UserControl2) to the project. (This will be the
inner control)
- Add a Label control to the upper-left hand corner of UserControl2 and
change the Caption Property to "Control2."
- Put a "UserControl2" control inside the Frame created on the first
control.
- Create an Internet Download setup with the Setup Wizard.
- 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.
- 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 : kbActiveX kbDSupport AXSDKControls kbIEFAQ
Version : WINDOWS:3.01,3.02,4.0,4.01,5.0
Platform : WINDOWS
Issue type : kbprb