Web Browser

Vb web browser?

Page 1 of 1

1 Replies - 5527 Views - Last Post: 14 June 2007 - 08:55 PM Rate Topic: ***** 1 Votes

#1 FliP1992  Icon User is offline

  • D.I.C Head

Reputation: 14
  • View blog
  • Posts: 200
  • Joined: 14-June 07

Web Browser

Posted 14 June 2007 - 12:01 PM


im am makeing this post to see if eny one can help me with the security, tips, etc for my web browser im makeing in VB

if eny one has eny thing post back A.S.P

this is my code up to now:

Private Sub cmdback_Click(Index As Integer)
On Error Resume Next
End Sub

Private Sub cmdforward_Click(Index As Integer)
On Error Resume Next
End Sub

Private Sub cmdgo_Click()
wbmain.Navigate (cmburl.Text)
cmburl.AddItem cmburl.Text
End Sub

Private Sub cmdhome_Click(Index As Integer)
End Sub

Private Sub cmdref_Click(Index As Integer)
End Sub

Private Sub Form_Load()
wbmain.Navigate ("www.google.com")
End Sub

Private Sub coburl_keydown()
If keycode = vbKeyReturn Then
wbmain.Navigate cmburl.Text
End If
End Sub

Private Function IsPopupWindow() As Boolean
On Error Resume Next
If wbmain.document.activeElement.tagName = "BODY" Or wbmain.document.activeElement.tagName = "IFRAME" Then
IsPopupWindow = True
IsPopupWindow = False
End If
End Function

wbmain.Silent = True

Private Sub Form_Resize()
On Error Resume Next
wbmain.Width = Me.ScaleWidth
wbmain.Height = Me.ScaleHeight - 1680
End Sub


Is This A Good Question/Topic? 0
  • +

Replies To: Web Browser

#2 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: Web Browser

Posted 14 June 2007 - 08:55 PM

What sort of security are you looking for?
And I'm not sure but the amount of security you add through code is extremely limited as you are using a WebBrowser Control that uses Internet Explorer API.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1