Web content in a form

  • Thread starter Thread starter Jason McAdams
  • Start date Start date
J

Jason McAdams

I need to find a way to display web content (i.e. a picture from the
internet) for every record in a form. Currently, I'm using the Microsoft
Web Browser control, but I have to click on the control (with the 'On Focus'
event for that control) for the content to update within the control - and
it will in turn erase all web content from every other record. Is there a
way to have the form autopopulate for every record? My event procedure is
listed below:

Private Sub ActiveXctl0_GotFocus()
If Not IsNull(Me.txtMemberID) Then
With Me.ActiveXctl0
.Navigate "http://opi.yahoo.com/online?u=" & Me.txtMemberID & "&m=g&t=1"
End With
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top