wharrison359
asked on
Pop up capture in Access Web Object
What do I need to change in this code to make a popup appear within the access environment instead of a new internet explorer page?
This link provides more details, the solution there did not work unfortunately.
https://www.experts-exchange.com/questions/22965154/Pop-Up-Windows-in-Access-Web-Object.html
This link provides more details, the solution there did not work unfortunately.
https://www.experts-exchange.com/questions/22965154/Pop-Up-Windows-in-Access-Web-Object.html
Private Sub Form_Load()
On Error GoTo Err_Form_Load
Me.txtURL = "https://vsr.citigroup.net/virtualsecurityrequest"
If Len(Me.txtURL) > 0 Then
Me.ocxWebBrowser.Navigate Me.txtURL
End If
End_Form_Load:
Exit Sub
Err_Form_Load:
MsgBox "Error " & Err.Number & ": " & Err.Description & vbCrLf & _
" in " & Me.Name & ".Form_Load_Click", _
vbOKOnly & vbCritical, "Smart Access Answer Column"
Resume End_Form_Load
End Sub
What do you mean by "a popup in the Access environment"? Are you referring to an IE popup? What's the popup supposed to do?
ASKER
Yes, I would like to capture an IE Popup within access. The code above loads a webpage within access, but when I click on a link that leads to a popup, that popup always ends up outside of the access environment in a normal ie popup. I need the information in the popup to remain within access so that I can program run some code on it to append a database with user records. https://www.experts-exchange.com/questions/22965154/Pop-Up-Windows-in-Access-Web-Object.html gives an example of a webpage you can put in the above code
" Me.txtURL = "insert new webpage here"
That will demonstrate how when you click on the link a new ie webpage opens outside of access.
" Me.txtURL = "insert new webpage here"
That will demonstrate how when you click on the link a new ie webpage opens outside of access.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.