asp.net - How to execute a URL without running in webbrowser on button click? -
after clicking button in aspx page have execute url
http://127.0.0.1/phptest/sendmail.php?id=+@username
using vb.net. @username
comes textbox.
make http request if need call url vbscript:
username = ... url = "http://127.0.0.1/phptest/sendmail.php?id=+@" & username set req = createobject("msxml2.xmlhttp.6.0") req.open "get", url, false req.send if req.status = 200 'request successful else 'request failed end if
Comments
Post a Comment