Creating Some Type Of Hardware Poll
I have a question that may sound stupid, but I want to implement some type of ASP script that can retrieve hardware information of a computer that visits a certain site. I've seen this type of thing before, and I want to do it for a beta-test site I'm planning on running for the ISP I work for. I want to use this type of script that will poll information such as Processor, OS type, Memory, etc. If someone could provide me with some insight on one such script or give me a link to where I can learn how to write this myself, that would be great.
View Replies
ADVERTISEMENT
I need to offer a questionaire to approximately every 10th user of my website when then are leaving.
My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.
View Replies
View Related
I'm pulling from a sql dbase, i want to be able to pull this poll by a specific id. when i do this it just gives me the number 1 for the poll question and only gives me one answer to responde to.
Code:
EnSQL = "select * from poll where id = 1 "
View Replies
View Related
I need help with this scripts! i dont know what to fill in and where.
<%
'Enter the details of your server below
src = Server.MapPath("db/poll.mdb")
Set adoCon = Server.CreateObject("ADODB.Connection")
sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src
adoCon.Open sConnStr
%>
View Replies
View Related
I've been asked about poll engine.How hard would it be to code a poll engine?Does anyone know?
View Replies
View Related
how to write a routine for voting? Like Vote for some thing Yes/No and then it shows graphically in percentage for Yes and for No in ASP.
View Replies
View Related
I only let them vote on my poll once. I set a cookie and put there IP in my database. Then I do a select to see if there IP is in the database and check to see if they have a cookie. Does anyone see a problem with this?
View Replies
View Related
I have a simple poll located at http://nysdelpaso.com/poll/vote_db.asp. The code can be seen at http://nysdelpaso.com/poll/vote_db.txt. The script is very simple one asp file. This script will poll a user and give them 4 possible options.
When they hit submit the script displays the results. Currently,a user can ONLY vote once, due to IP logging. The script stores the users IP address in a Microsoft Access (.mdb) database. I would like to know what needs to be changed in order for someone to vote an unlimited number of times?
View Replies
View Related
My poll's database has a table called "votos". This table as 3 fields: "date", "ip" and "voto". In the field "voto" I will record the option chosen in the previous form (this input may be "01", "02", "03",..., "19" or "20").
Now I want to show the results and for that, I must count the number of time that each option is displayed. Can anyone tell me the count syntax for that? I've tried to change an example I've found in internet, but didn,t achieve it... The code:
View Replies
View Related
what do you prefer ?
1. using session or cookies?
2. why?
3. how long the expired time?
View Replies
View Related
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
View Replies
View Related
Database and all the pieces are in place. On the results page the query returns the % calculation for a question (displayed) options (each individually).
I need to display bar graph, this is here that i am getting into problem. The background color would be #555555. How can i apply this color to certain % of the container as background?
View Replies
View Related
I got a problem while running an application. The code for this is as follows:
aList = Split(strMsg,";")
For nX = 0 to UBound(aList)
strarry=split(aList(nX),"_")
var_year=left(strarry(2),4)
var_month=mid(strarry(2),5,2)
var_day=mid(strarry(2),7,2)
var_date=var_day&"-"&var_month&"-"&var_year
var_time1=mid(strarry(2),9,2)
var_time2=mid(strarry(2),11,2)
var_time=var_time1&":"&var_time2
set rs1=conn.execute("insert into tbl_BackupfileInfo(Filename,Createddate,Createdtim e)values('" &aList(nX)&"','"&var_date&"','"&var_time&"')")
Next
while runnig this application some times it works fine .But some times it giving an error
Error Type:Microsoft VBScript runtime (0x800A000D) Type mismatch: 'UBound'.
View Replies
View Related
I am trying to send a fax from my asp application and am getting the follwoing error on the hghlighted line:
Error Type:
(0x80004005)
Unspecified error
If anyone knows why..Code:
View Replies
View Related
I have a table with four fields, ID (auto increment), question (varchar(200)), answer (Text), and shop (tinyint(3). When I connect to the database in an ASP page and write this code
Response.Write rs("question") & "<br />" & rs("answer")
I get an error that reads "Type Mismatch"
but if I change the type of the answer field to type varchar I don't get the error but am limited in the length of the field's contents. I just also noticed that if I keep the type at TEXT and change the collation to ascii_general_ci I don't get the mismatch error but all the ' characters turn into ? characters? Oh woe is me.
View Replies
View Related
Environment:
Development PC: W2K Professional
WebServer: W2K Server, IIS 5.0
Peer-to-Peer network
I'd like to create a new asp.net project on a remote server (not on the
local (development) machine. I have looked for info on how to do this, but
all I can find are instructions on how to create on localhost, then deploy
later to remote machine.
View Replies
View Related
what's involved in creating an ASP? I need to create a web page where users can check their past history of the account.
View Replies
View Related
So i currently have an asp page that creates an xml document with information from a database. However I need to link to my schema when creating the Root element here,
Set objRoot = objDom.createElement("projects")
this is the link that would go into projects:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="semesters.xsd"
View Replies
View Related
Im trying to create a string from checkboxes that have been checked, but for some reason its not working
strNumbers = ""
for each key in request.form("chkFacility")
strNumbers = strNumbers + "" & key & ","
intCount = intcount + 1
next
So I want to end up with a string like this '3,12,7.' Instead Im just getting a single number. Am I doing this the right way. Any help wud be just fantastic!!
View Replies
View Related
I know how to use ASP to create and write into a .CSV file on the server, but I have a small problem. Every time I write to the file I am adding new lines each time. I don't know how to wipe the previous contents out, and I thought this is probably a no-brainer for you guys ...
So, I'm looking either to delete the file at the start of the process and start from scratch or
* open the file
* wipe all contents from file
* write to the newly cleaned file
View Replies
View Related
How can i create a ZIP file from a folder (full of files) of the server.?
View Replies
View Related
I have an asp page where i created cookies-for admin and for user. The aspx page reads these cookies. Everything seems to work fine but now i have to create a new cookie if cookie has expired or if cookie is null. Also, i am having problems with the expire because if the username belongs to the admin for example and then i want to change
the username that belongs to a normal user the cookie recognises the first (admin) cookie. How do i solve this? .....
View Replies
View Related
I want to create an order form for prints online... I will have up to 200 prints to be selected. What I am thinking is that I will have an HTML Form that has all the 200 thumbnails with a check box next to them. They select the ones they want and push next. Then I would like it to create a set of options for each one they selected.
That basically says the image name then has a check box for 5x7, 8x10 and a text box for the amount for each... I do I create the page what creates these selections and how to I incorporate that into a mail form going to the next page?... it seems like a simple enough idea. Am wondering how the reality of it will be.
View Replies
View Related
I am trying to pass a form value and pull some values from an array. I am getting no errors but no values on this code. Any ideas? Code:
View Replies
View Related
I am using asp and access database. I need to create a menu according each member access. In other words, if member login I need to display the menu according to the services the member selected during registration. Each service contains diff type of products.
Service1
-produc1
-product2
Service2
-produc1
-product2
-product3
..more
Service3
-produc1
-product2
..more
What is the best way to this...
View Replies
View Related
i have website which provide daily news. we store the news into sql database. i want to create a rssnewsfeed which i can provide to other websitemasters. can anyone tell me the asp code or other where i can create rssnewsfeed from my sql data.
View Replies
View Related
I have a problem. I have a database with 1000 e-mails that i use in my
mailinglist. And when i send them mails it takes kinda long since i attach a
..pdf file each time. so i was wondering if there is a way in asp to create a
task on the webserver using asp to trigger a script that sends the mails.
sure i could use server.scripttimeout but the thing is that i dont want to
wait 30 seconds for the page to finish loading. and if there will be 3000 in
near future i'll have to wait for a very loooooong time.
anyone know how to create a task using asp dynamically?
View Replies
View Related
I'm doing a gallery and I need to make some thumbnails of the images, but yeah...I don't know how, especially since I can't access the server to install stuff. And to be honest I wouldn't know how to install them in the first place (linux server)
Now...the best solution I've come up with so far is to send a string to another webserver that runs on a decent platform and use asp.not to make the thumbnail and then link it from there...would be a pain in the butt though, so if anyone has some good advice then I'm all ears (even if the advice is to give up, tbh)
View Replies
View Related
I'm pretty new to the whole concept of Server Side programming and am currently developing some important elements for a site I have made with Classic ASP programming. One of the things my employer wants me to develop is a Server Side script that will allow a report in PDF format to be generated online to customers who make use of the tools.
View Replies
View Related
I need to format each row being returned in a recordset as
a hyperlink. One of the fields being returned is the
subject of a message that my hyperlink will show. When
the hyperlink is clicked then the ASP page loads further
message details of that link. Does anyone know how to do
this?
View Replies
View Related
I have the following graph (see atttached file) and was wondering if it would be possible to create this graph by using ASP and how easy it would be. If it is possible could someone give me a few links to sites where I could get some code to start me off.
View Replies
View Related
Is it possible to create a folder using a virtual path? This is for a site on a shared hosting server.
View Replies
View Related
First, how can I get asp to create a table in en existing DB that is an atuonumber. Meaning.. If say table 56 exists alrady, I want it to create 58 as the name. Along with this, I need to copy the fields from table temp, into the above DB. Can this be done?
View Replies
View Related