ActiveX Microsoft Web Browser problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SwamyKarthik
    New Member
    • Aug 2007
    • 7

    ActiveX Microsoft Web Browser problem

    I am building an MS Access application that has an embedded web browser in a form. The form is linked to a table and the browser navigates to the address in the table. I have used the activeX object: Microsoft Web Browser

    Problem: After I successfully navigate to the new URL and then close the form and try to return to normal duties, the toolbars freezes up. (I can't go from design view to query or form view...etc)

    I noticed this only happens after I use the web browser! The specific tool bar that freezes up is the "query datasheet". I am forced to shut the whole application down and start over.

    I think explorer is causing this or Access doesn't know what to do once the form is closed. I tried adding a close form on exit macro but this still does not work.

    Any idea how to solve this problem or how to simply use a different browser (firefox) as an activeX plug IN??

    Here is my simple code

    Private Sub web_Enter()
    If Len([Link]) > 0 Then

    web.Navigate URL:=[Link]

    Else
    MsgBox ("Record not available!")

    End If

    End Sub
    Last edited by SwamyKarthik; Aug 15 '07, 07:59 PM. Reason: Adding code
  • SwamyKarthik
    New Member
    • Aug 2007
    • 7

    #2
    I found the solution myself!

    Just create a customized toolbar with the buttons you need and don't use
    any of Access default toolbars!

    Got it to work!

    Comment

    Working...