Microsoft Knowledge Base Email Alertz

KBAlertz.com: FIX: A Visual Basic 6.0 modal form is no longer modal when the form is displayed from a user control in Internet Explorer 7

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 930828 - Last Review: July 3, 2009 - Revision: 3.0

FIX: A Visual Basic 6.0 modal form is no longer modal when the form is displayed from a user control in Internet Explorer 7

On This Page

SYMPTOMS

In Microsoft Visual Basic 6.0, a modal form is no longer modal when the form is displayed from a user control in Windows Internet Explorer 7.

RESOLUTION

Hotfix information



A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB930828 (http://code.msdn.microsoft.com/KB930828)

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvbvm60.dll6.0.97.981,386,49612-Jan-200704:33x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

Steps to reproduce the problem

  1. Open Visual Basic 6.0.
  2. On the File menu, click New Project.
  3. Click ActiveX Control, and then click OK.
  4. In Project Explorer, right-click Project1, click Add, click Form, and then click Open.
  5. Add a new CommandButton object that is named Command1 to the UserControl1 user control.
  6. In Project Explorer, right-click UserControl1, and then click View Code.
  7. In the UserControl1 code window, add the following code:
    Private Sub Command1_Click()
    	Form1.Show vbModal, Me
    End Sub
  8. Save the new project.
  9. On the File menu, click Make <ProjectName>.ocx.
  10. In the File name box, type Project1.ocx, locate the folder where you saved your project, and then click OK.
  11. Close Visual Basic 6.0.
  12. Open the Package and Deployment Wizard.
  13. Locate the project that you saved in step 9, and then click Package.
  14. In the Package type list, click Internet Package, and then click Next.
  15. Select a directory where the package can be created, and then click Next.
  16. In the Package and Deployment Wizard dialog box that appears, click Yes.
  17. In the Package and Deployment Wizard – Included Files dialog box, click Next.
  18. In the Package and Deployment Wizard – File Source dialog box, click Next.
  19. In the Package and Deployment Wizard – Safety Settings dialog box, click Next.
  20. In the Package and Deployment Wizard – Finished! dialog box, click Finish.
  21. In the <ProjectName>.vbp – Packaging Report dialog box, click Close.
  22. Locate the directory where you created the package.
  23. In Internet Explorer 7, open Project1.htm.
  24. Click the Command1 button. Notice that you can still interact with Internet Explorer.

APPLIES TO
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Studio 6.0 Service Pack 6
Keywords: 
kbvistasp1fix kbvs600sp6fix kbfix kbbug kbqfe kbpubtypekc KB930828
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please