Hello, how can I hide a button after it is clicked and then unhide it the 1st of each month? The button is a standard form button like below. Thanks in advance!
<FORM>
<INPUT TYPE="BUTTON" VALUE="Random Drawing" ONCLICK="window.location.href='../cssopt/random.asp'">
</FORM>
Hello, I need to add a button to my table that will switch between content for the table only. I don't want to have to create a new ASP page in order to display the Forward or Backward data. I thought it was easy but I'm having a hard time getting it to work. Below is my code for my existing...
Hello, I know this is the fastest way to search a large file but how do I display the lines that I am searching for? Thanks!
const ForReading = 1
const TristateFalse = 0
dim strSearchThis
dim objFS
dim objFile
dim objTS
set objFS = Server.CreateObject("Scripting.FileSystemObject")
set objFile...
Hello, can anyone help me with this? I've been turning my wheels and below is what I tried on my last attempt and it isn't working. If anyone knows how to do something like this I would much appreciate it.
I need to from a web page search for text in a text file on a remote computer and then...
Hello, how can I read a text file on an Admin share on a remote computer? I keep getting permission denied. I even tried to create a new share to the C drive and connect to it but it still is giving me permission denied.
Thank you,
acewilli
Hello, I need to add people's name multiple times to pick one of them at random using the Random Number Function in VBScript. I know how to use it using only each person's name one time but how can I add each person multiple times so that they have a better chance of being picked by the Random...
What is the best way to clear the screen on an ASP page when the update button is pressed? I'm using VBScript. I will actually check the fields against a condition when the Update button is pressed and if the condition is true I will clear the screen and make the user start over. If the...
FYI - I've also posted in the ASP forum as I did not know where to post this for sure. Thank you for any help.
Hello,
I need to clear the entries on the screen if a certain condition exists so that it never is updated in the database. Below is my update function and is where I am trying to...
Hello,
I need to clear the entries on the screen if a certain condition exists so that it never is updated in the database. Below is my update function and is where I am trying to make this happen. I need to make sure that the user doesn't use more than 10 points or less than 10 points such as...
I've also posted in the IIS forum with no reply.
Hello, I am need to set the NTFS security on each ASP page which I've done but now I'm not sure how to set IIS Security to check NTFS security and allow access based off of NTFS. I can get it to work and redirect to a custom page if access is...
I've also posted in the IIS forum but no one has replied.
Hello, I am need to set the NTFS security on each ASP page which I've done but now I'm not sure how to set IIS Security to check NTFS security and allow access based off of NTFS. I can get it to work and redirect to a custom page if...
Hello, I am need to set the NTFS security on each ASP page which I've done but now I'm not sure how to set IIS Security to check NTFS security and allow access based off of NTFS. I can get it to work and redirect to a custom page if access is denied but the issue is that IIS pops up a windows...
I am using ASP with VBScript. The code below does not work at all. What is the correct way to use an aggregate function in order to set the results of it to a variable? Please....anyone? I'm begging. I've tried everything. Thank you.
strtotal = "Select cast(sum(npoints) as decimal) from team"...
I need to do the following but I'm not sure how to set the results of the SQL query to a variable that I can use?
strtotal = "Select cast(sum(npoints) as decimal) from team"
Set rsTotal = Server.CreateObject("ADODB.Recordset")
rsTotal.open strtotal, db
db.Execute strtotal
Thanks in advance!
Hello, How can I add all fields in one column of a Microsoft SQL 2000 database? Below is my example. Thank you in advance.
Database:
-------
npoints
-------
3
------
4
------
6
------
8
------
Each one of the numbers in the db are the same variable in my UPDATE ASP code. Is there an...
Hello,
I am creating a site using vbscript that allows people to vote using a points system. Each person gets 10 points a month in which they can give points to any other person that they want to vote for. What is the best way to do the loop code for this? Below is some more detail.
dim points...
Hello,
I am creating a site using vbscript that allows people to vote using a points system. Each person gets 10 points a month in which they can give points to any other person that they want to vote for. What is the best way to do the loop code for this? Below is some more detail.
dim points...
Hello,
I am needing to take the average of a column for the dates that I specify and return the number. See example below.
filelength is data type int and is in seconds in the database.
master_index is the table in the database.
filedatetime is data type (I didn't do this) nvarchar in the...
Hello! This script runs through and deletes files based on older than a certain date. It is on a backup server where files get deleted after 15 days (based on last modified date). I also restore files sometimes that are needed for 7 days and then need to be deleted (based on last accessed date)...
Hello,
Can anyone help me figure out a way to write a script that will help me keep enough data being sent to a specific port each hour before the firewall timeout occurs? I have a system that this happens to each night and I have to restart my applications everyday. I would appreciate any...
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.