I have a question, is that any other way to retrieve data from another webpage besides using XML object? Because I am using XML object now but give me so much problems.
If I used MSXML2.ServerXMLHTTP object, it gives me time out error:
msxml3.dll error '80072ee2'
The operation timed out
If I used Microsoft.XMLHTTP object, it will hang IE. In both cases, I have to wait for half an hour or more in order for the XML object to be working again. Actually both webpages that's communicating are hosted at the same machine. The main site (ex. aa.domain.com) points to particular folder under it, while another one (ex. bb.domain.com) points to another folder which is two levels up to the first one.
I have two tables having similiar columns ( i had to do this to compare the values given to me, because both the table data came from different sources)
The tables named are OFFICERS token full_name division EMPLOYEE token full_name division
Now the table EMPLOYEE contains more than 5000 records and the table OFFICERS contains around 2400 records which are already present in the EMPLOYEE table.
Now I want to build a query that will return me all the records in the EMPLOYEE table that are not present in the OFFICERS table. The criteria for comparing 'full_name'. so the query should return me 2600 records that are not present in the OFFICERS TABLE.
I tried doing this " SELECT DISTINCT EMPLOYEE.full_name,EMPLOYEE.token,FROM EMPLOYEE,OFFICERS WHERE EMPLOYEE.full_name<> OFFICERS.full_name"
But this query returns me records that is not present in the OFFICERS table as well as some more 1000 records which are present in both tables. thanks a lot
I am trying to access the following site with an asp page. I am just starting out with XML URL
This is my stats page for battlefield Vietnam. I have managed to get a local verison to work if I save the source code of the page above as an xml file on my server, and I use the following code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Option Explicit %> <% Dim xmlDoc, root Dim success, player, strData, online ,rank, rp, score, kills, deaths, fttk, kdr Dim dpm, ftpm, mppr, medals, gold, silver, bronze, rounds Set xmlDoc = server.CreateObject("msxml2.DOMDocument") '
What I can't figure out is how to access the data from the external site.
This is my code can you fix it if it have an error
<select> <% set rs = Server.CreateObject("ADODB.Recordset") strSQL = "select cat from events" rs.ActiveConnection = conn rs.open strSQL if not (rs.eof or rs.bof) then for i = 0 to rs.eof response.write("<option>" + rs(i) + "</option>") next end if %> </select>
I have problem like that. page1 is sending some variable data to page2 Now page2 have to decide whether it has to redirect it to page10,page20 or page30 basing on the value of a variable1 which is in page1 variable data. I want know how i can access variable data of page1 in page10,page20 or page30.
I'm working with JMailBox app. This is an asp web based pop3 client.
The application has a inconsistency: when forwarded mail arrives, the system transforms the message into a .msg and .eml file, but this cannot be displayed on an ASP page. Some times the forwarded message contains attached files (.doc .xml .pps .pdf .html .zip etc.). These attachments are those that interest to me to recover.
Hopefully that somebody can help me to find the solution to recover the content of a .msg or .eml file, including attachments with pure ASP.
I have 4 ASP pages on my site & a DB for each page has a form pointing at its DB, I thought this would be the simplest way. You can add & submit data and you get the confirmation page, but I am seeing no data in my DB's. Each DB has a CHMOD of 777. Here's the link to what I am doing most of the test just read "SOME TEXT" Code:
my database table have 1 field is use for record the date.Please help me to program the code, so i can retrieve the data recorded from yesterday. That means everyday retrieve yesterday data automatically.
I am trying to retrieve some data from a table which is the link table from another Ms Access database of my network computer but i got a error message "It is already opened exclusively by another user, or you need permission to view its data."
I am using access database to store test results. Each test is asigned a automatic ID number in access. I have all the data collecting fine to the correct columns but had to add a new column named (comments) to the database and this column is made to store students comments on the tests. I created a new, view comments page where the students can view comments on the tests.
The problem I have is, I need to be able to bring up the info from the comment column by that asigned automatic id number thats asigned to the test. I can get it to show all comments on all tests but need to be able to view comments on each seperate test and each test has a diferent automatic id number.
How can I bring up the comments to view by the automatic number thats asigned to each diferent test? We need to view all comments that were made to each individual test by that tests automatic id number and using asp. This has got me puzzled to view comments to each individual test thats asigned with an automatic number generated by access database.
A customer reports a problem with a site that is unable to read utf-8 data from an access data base. The page only shows ? instead of text.
The parameter that turns Unicode support on/off is "on" DRIVER={Microsoft Access Driver (*.mdb)};useUnicode=yes; DBQ=C:Inetpubvhostsdomain.comhttpdocspath_to_dbname.mdb [no spaces, so that's not the problem]
Successfully tested ODBC connection -- but still can't read the data. The site has the content type set to CHARSET=utf-8.
there are specific client of mine and there is a big database which i have to handle it, every time clients want to connect to this specific database it takes long time, this database is a static database it means you dont have to edit or update it by the clients, it is like a dictionary, you type your words/code and you will see some data,
I could not find a way to reduce the time for the clients(due to the big database), I am wondering that is it possible to put a copy of this database on client's computer (I have mentioned that there are specific clients and I have access to their computers) within Access Database so in this way I have to run the connection to the access database at clients side, if so what is the coding for it??
Is there any way by using ASP with MS access to retrieve a specific data from a table and when i retrieve i want to show me the data without repeating the same data or duplicating data and i want instead of this to count for each item how many row is there in a the table ....... loooool i know that most of you will tell me to re-explain what i want to say again ... ? For example i had three rows in the table ... and those rows are the same with 4 attributes ... what i need is to retrieve those rows in the website .. but instead of showing three rows it will show me one and next to this row i want to put 3 which is the number of the rows in the table that are the same and if i have any other rows it will do the same ...
I want to have a form where there is a textfield and a Browse... button to the right of it. I want the user to be able to press the Browse... button and select a file and then that filename be returned to the textfield.
I don't want it to upload it or anything like that...I just want to know the filename that the user has selected. Also, when the user presses the Browse... button, I want it to automatically go to a certain place.
how can i retrieve information on a form page that once previously submitted by the user so that when the user goes back to that form page it will remember what they inputted instead of having them to retype it again? do i have to use session? can somebody please help me... what would be the easiest and most efficient for a newbie to tackle this problem?
Doesn anyyone know the proper lines of ASP code to sucessfully retrieve a pdf file from SQL server. Everytime I run my code I get gibberish all over the screen. I would like it to prompt me to save the file to disk.