Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171553

From BetaArchive Wiki

Article ID: 171553

Article Last Modified on 6/18/2001



APPLIES TO

  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a



This article was previously published under Q171553

SYMPTOMS

Visual FoxPro v5.0x may crash while running an application that uses the Microsoft Web Browser Control.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Studio 97 Service Pack 3.

For more information, please see the following article in the Microsoft Knowledge Base:

170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a Form.
  2. Add a Microsoft Web Browser Control to the form and set its properties as follows:

       Name: WBCtrl1
       Refresh: NODEFAULT
       Init: This.Navigate("www.microsoft.com")
                                
  3. Add a TextBox to the Form. The TextBox will be used to enter the URLs you want to connect to. Add the following code to the Valid event of this TextBox:

          IF !EMPTY(This.Value)
             ThisForm.WBCtrl1.Navigate(This.Value)
          ENDIF
                                
  4. Run the form, type a valid URL into the TexBox, and then hit the ENTER key to go to and display the URL. Note that repeating step 4 several times may cause Visual FoxPro to crash.


Keywords: kbbug kbfix kbvs97sp2fix KB171553