sposto in scripting (qua in vb siamo decisamente off topic)
per la pop-up:
codice:
<html>
<head>
<script type="text/javascript" language="javascript">
<!--
function create_popup() {
var w = 400;
var h = 200;
// centra la popup
var l = Math.floor((screen.width-w)/2);
var t = Math.floor(((screen.height-h)/2)-60);
// crea la pop-up
popupWin= null;
popupWin=window.open('../smsinvio.asp?x=quello_che_ti_pare',0,'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no,width=400,height=200,left='+l+',top='+t+'');
}
// -->
</script>
</head>
<body onload="create_popup()">
enter
</body>
</html>