Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: acewilli
  • Content: Threads
  • Order by date
  1. acewilli

    Hide button after it is clicked

    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>
  2. acewilli

    Forward and Backward button on table

    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...
  3. acewilli

    Read Bytes Method?

    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...
  4. acewilli

    Read text from remote computer and display to ASP

    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...
  5. acewilli

    Read Text file on C$ share

    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
  6. acewilli

    Random Number Generation

    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...
  7. acewilli

    On Update Reset fields

    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...
  8. acewilli

    Clear screen entries if condition exists ASP/vbscript

    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...
  9. acewilli

    Clear screen entries if condition exists

    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...
  10. acewilli

    NTFS Authentication

    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...
  11. acewilli

    NTFS Authentication

    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...
  12. acewilli

    NTFS Authentication

    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...
  13. acewilli

    Setting variables Problem

    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"...
  14. acewilli

    How to set SQL query result to a variable?

    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!
  15. acewilli

    Adding MSSQL DB fields with vbscript

    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...
  16. acewilli

    Looping Problems working with numbers

    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...
  17. acewilli

    Loop Problems

    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...
  18. acewilli

    Average items per month

    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...
  19. acewilli

    Need help with For Each Statement

    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)...
  20. acewilli

    Keep connection alive with WINSOCK?

    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...

Part and Inventory Search

Back
Top