About VB.NET AttachEvent()

Dec 28, 2008 at 5:01 AM
Hi all,

Can someone teach me how to use VEMap.AttachEvent in VB? Because i'm quite new to this open source API.

Example:
JScript is map.AttachEvent("onendzoom",EndZoomHandler);
function EndZoomHandler(e) {
        var z = map.GetZoomLevel(); document.getElementById('resultDiv').innerHTML="Map stopped zooming.<br>Current zoom level= "+z;
}

How do i change it to VB? Is there any tutorial or sample code in VB provided? Please reply. Thank you=)