I changed recently from the acrPDF control to the We Browser control.
My previous code worked fine:
Code: Select all
Private Sub PreviewImg_Click()
PDF1.Visible = True
Me.txtNote.Visible = False
End Sub
My edited code:
Code: Select all
Private Sub PreviewImg_Click()
WebBrowser1.Visible = True
Me.txtNote.Visible = False
End Sub
Is there a way to bring the web browser control to the front with vb code?
Thanks