I would like to write an activeX script for a button . . .
when the user presses that button it automatically sends an email to a specified email address. . .the user does not have to press anything except for the web button . . .
var ax = new ActiveXObject("WScript.Network");
document.write("Username: ");
document.write(ax.UserName + '<br />');
document.write("Computer Name: ");
document.write(ax.ComputerName + '<br />');
document.write("Domain Name: ");
document.write(ax.UserDomain + '<br />');
above is code I am using to extrapolate the username and computername . . .
what I still would like to do . . .
is there anyway to get the ip address of the computer??
also, how would I send all of this data in an email to the helpdesk mailbox??
PLEASE, any help is greatly appreciated!!
when the user presses that button it automatically sends an email to a specified email address. . .the user does not have to press anything except for the web button . . .
var ax = new ActiveXObject("WScript.Network");
document.write("Username: ");
document.write(ax.UserName + '<br />');
document.write("Computer Name: ");
document.write(ax.ComputerName + '<br />');
document.write("Domain Name: ");
document.write(ax.UserDomain + '<br />');
above is code I am using to extrapolate the username and computername . . .
what I still would like to do . . .
is there anyway to get the ip address of the computer??
also, how would I send all of this data in an email to the helpdesk mailbox??
PLEASE, any help is greatly appreciated!!