Wondering if anyone can point out what I may be doing wrong here.
'function code
Function passTwoValues(val1,val2)
Response.write val1
Response.write val2
end function
'call code
passTwoValues("abc","xyz")
I get this response:
Microsoft VBScript compilation (0x800A0414)
Cannot use...
Problem:
I have a number of systems that are used in a laboratory by users. these systems require users to log into AD in order to edit patient data. The problem come when a user leaves without logging off. The system will lock and then an IT staff member will need to remote in and unlock the...
I have a script that passes parameters just fine, however i cannot remember the commands to get user input and assign it to a variable in VBS. I need to get a server name which i can pass but it would work better if it asks for it as i am using it in multiple domains.
Thanks
I do not have a 24/7 help desk. Over the last few months all machines have been added to a 2003 domain and screen savers have been set to require passwords to unlock systems after 10 minutes. I have users who work different shifts each week so time outs cannot be used.
If a user leaves for home...
I transfered a web site that uses asp to gather survey info for new employees and then e-mails the correct people so they can work on thier pieces of the info. I changed the object from CDONTS to the CDOSYS syntax, so that works. All the code is correct. DNS is correct.
If I am not logged into...
Currently we have to separate businesses and therefor two separate ADs and Exchange Groups. Since we communicate very frequently between all of our users I would like to be able to sync both sites global address lists. Right now we call each other and add the contacts in each system, but that is...
Here goes. I need to record a user name and ip info to a text file. from a command line i would just type echo %username% >> textfile.txt etc.
I want to be able to run that command and a few other when a user clicks OK in the VB form. I know that ther eis a pretty simple way to do this, but i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.