codice:
    
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize

        Web.Height = Form .ActiveForm.Height - 28
        Web.Width = Form1.ActiveForm.Width - 8

    End Sub

Quello in rosso probabilmente è un errore credo che si debba chiamare Form1


Ciao!