Hi I have a peace of code which checkes my NetworkStatus periodicaly in a C# app.

Now I have to rewrite the app in VB and I can not figure out certain parts.
Could you help please?

Code:
       private void frmMain_Load(object sender, EventArgs e)
        {

            UpdateNetworkStatus(NetworkInterface.GetIsNetworkAvailable());
            NetworkChange.NetworkAvailabilityChanged += new NetworkAvailabilityChangedEventHandler(myNetworkAvailabilityChangeHandler);
        }

        private void UpdateNetworkStatus(object state)
        {
            if ((bool)state)
            {
                this.Text = "True";
            }
            else
            {
                tmrNet.Enabled;
            }
        }

        public void myNetworkAvailabilityChangeHandler(object sender, NetworkAvailabilityEventArgs args)
        {
            this.Invoke(new WaitCallback(UpdateNetworkStatus), args.IsAvailable);
        }
My Problem to get this right in VB is the myNetworkAvailabilityChangeHandler and the Eventhandler in Form_Load

thx in advance