Results 1 to 2 of 2

Thread: How to get Security Lock in webbrowser control?

  1. #1

    Thread Starter
    Lively Member Blaster's Avatar
    Join Date
    Jun 2001
    Posts
    70

    Question How to get Security Lock in webbrowser control?

    if you go to a https site, how do you get the security lock in the status bar?
    also how do you get the progress bar in the status bar?

  2. #2
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    Here's some code for detecting a secure web-site. You'll need to alter it a little to display your own security icon in the status bar.

    Progress bar in Status bar: You can either draw the progress bar over a panel in the status bar and deal with it as a seperate control, or make the progress bar a child of the status bar.

    VB Code:
    1. Private Sub WebBrowser1_SetSecureLockIcon(ByVal SecureLockIcon As Long)
    2.     If SecureLockIcon <> 0 Then MsgBox "This site is secure"
    3. End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width