I've got an asp page which scans a range of IP addresses and printes the
response to screen.
I've tried loads of methods and ended up with using javascript innerHTML to
try and fill the content
What I'd like is the value to return instantly rather than wait until the
routine has completed and return ALL the results.
if i'm pinging a big range of addresses the page usually times out......
I thought if I could build the page dynamically, one result at a time, the
timeout error wouldn't happen - and users would see that something is
actually happening!!! Code:
I have seen a few articles with a javascript example but it is not working for me. The server side code is processed first and then the javascript so I basically get my page loading splash screen displayed for a split second and then my page I am navigating to.
How do I display the "Please Wait..." before the server side code kicks in ...
I'm running win 2000, I downloaded a calender and put it into my root website folder. the calendar folder contained a file called adovbs.inc . After the insertion of this folder and creating links to it we noticed that when the web page loaded it's home page, another older page that has been deleted is displayed.
This page was located in the calendar folder. So now I've deleted the calendar folder, and restarted the server but this old page is still on display.
is there a way in ASP to automatically submit a form and its values when a page loads ?
if not is there any way round this scenario. i want to have a drop down list of options depending on which is selected will depend on where the form is submitted to.
It all seems to work well, but takes a large amount of time for the entire page to load, I guess due to the amount of records that get displayed, or maybe its the repeat region. So, Is there anything I can do in my asp code to speed these things up. Code:
My boss wants me to develop this page so that users can click on a button alongside an employee's page and this will open up the company Expenses Claim Form with some of the fields automatically filled in, pulled from the same SQL database that the webpage gets its info from.
I have been looking this up for *weeks* now, but the only solutions I can see involve the dot net framework, 3rd-party plug-ins or installing the Microsoft ODBC driver for Excel. My boss will not accept any of these solutions, as we are a huge organisation and this has to work accross the entire system. We're stuck with MS Office 2002, Windows XP and SQL Server 2000.
So far the best I can manage is getting the Excel form to open (but without the fields filled in), which I accomplish using the following code:
I am trying to read webpage content into a string variable to be able to search it for a pattern that I want to be able to display on another ASP page.Is there any obvious method to do this with VB script?It would be something compatible with following PHP script:
<? $fd = fread(fopen("http://www.vedur.is/vedrid/stutt_spa.html?", "r"), 100000); if ($fd) { /* $start = strpos($fd, "<unique HTML tag>">"); */$start = strpos($fd, "Veðurhorfur á landinu til kl. 18 á morgun:"); /* $finish = strpos($fd, "<unique, sem næst lokun HTML tags>"); */$finish = strpos($fd, "Næsta veðurspá er væntanleg"); $length = $finish - $start; $code = substr($fd, $start, $length); echo $code;}?>
i have a web app whereby the content for each page is stored in the database. This content is interweaved in html and saved in the Database. As a result when teh user does a search through the app and searches for say <table it brings back everything with teh table tag in the database
Does anyone know if I can only search the text rather than the html and content in my Database.
Is there a way to save the contents of a web page to a variable? I have some Word docs that have been saved as HTML (yuck!), but I am stuck with them. I would like to create a page that writes out the contents of the word/html document while maintaining the formatting.
If the content of a db field is too long, (like when the web page ends up being 3 A4 page lengths due to alot of content in the db field), is there a way of say, creating a 'next page', thus splitting the data content over 2 pages?
I have a csv file that has 2 columns..."Name" and "Team" I would like to be able to have 2 dropdown menus on a webpage showing both of these and a method (a post I guess) to change which team they are a member off...For example Joe is in Team 1 but moves to Team 2, from this page the user can change Joe to Team 2..
I would also like to be able to add new members and remove existing ones.
I've been putting all my old vinyl into a database for my friends to view. Main problem is, using css, html and asp, the page for displaying the database results loads almost completely before the data is fully received, the top menu is ok, but the next search button (which is actually placed after the recordset loops in the scripting) loads first, then the footer from css then the database results is mixed into the copyright bit at the bottom.
Is there a way to tell the page to wait for the data to be received before loading the page itself?
what I want to make actually is to take the results of a search engine that I use, which are in form of HTML or ASP and transport that results in a DataBase. For example, I wont to place as registrations in the DataBase the equivalents URLs and their descriptions from the results of search. I use MS Access, code asp, HTML , Javascript .
QUESTION! How can I insert the content from an HTML or ASP page into a dataBase? How can I determine from what point to what point a string it will be entered in the first cell of table and afterwards in the next and next ....
How come the asp script was executed first before css. I have this header page with pictures from a database but was seen first before the background that came from css when loading.
am using pws on win 98 and when i try to excute any asp page i got the following error
Response object error 'ASP 0156 : 80004005' The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
I have an ASP page, whisch generates dynamic report for a SQL server DB. Now the users want to have the content in PDF format (not HTML page). The server machine had "adobe acrobat destiller" installed.
How can I print the content of this ASP page to acrobat PDF destiller and send PDF file to browser?
how to print the content of a multiline textbox without taking the content to some other "printer friendly" page. I just wanna send whatevers in the textbox directly to the printer.
Using ASP I'd like to modify a string that contains HTML. I need to modify the content (the bit that the users see) but not the stuff in the tags. For example, if I had the following string Code:
Is it possible in ASP to have an Auto Fill option? For instance, if I am typing in a name and I type in the first few characters, can ASP recognize a similar name in the database and begin filling in the rest of a possible match?
ive got an online system which allows people to enter info into a database about an absence request they have - at the same time this emails the person in charge of absences.
The form is setup now but to make it easier i want to alter the "Name" and "email" fields so they require no filling in ie - a staff members name will be chosen from a drop down list (ive done this bit fine) and then once this is done the relevant email for this person is automatically placed in the email field. This bit i am struggling with - anyone any ideas how this can be done??
I do not have too much experience developping ASP.NET. I need to fill a dropdownlist with all the color of the system, I know how to do it by hands, one by one. : But there are like 200 hundred colors, then
I am currently developing a web form for the transfer of assets between departments, which will store information in an Access database. I currently have the form created and I am working getting the transaction processing portion of it going.
Basically, there is a minimal amount of information that needs to be entered into the form and I would like the rest of the information to auto-fill. So for instance, I would enter the asset number of the asset to be transferred, and said asset's serial number and description would fill in automatically. I have go this working in Access, but I'm at a loss for how to do it with ASP.
I think that I need the script to execute after a change is made to the AssetNo field, but I have not been able to get it to work how I want. Code:
I have created a word template(.dot) with several bookmarks but know I don't know how to fill this information from the asp page. I have to retrieve the information from the database and fill the information in the word document Code:
I would like to make a form that multiple people can access and update at same time with their web browser. The form would have fields that each wouldfill in and I would like for all to see what the others fill in. Is there an automatic way or would they have to refresh?
I am setting up a asp page so that a database can be added, updated, and deleted from, when the user choses to update and already existing record is there a way to search and get the information to fill the form with the current information so then you can just change what needs to be and click update.
I am still also trying to figure out how exactly to make the sql statements for the update and delete buttons.
I have an asp page right now and I want to fill a drop-down list with information like a persons name from an xml file. Once the user picks a person from the drop down list I want it to go back to the xml file and load the information about the person into textboxes. Does anybody have an example for something like this in asp?
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?
i have three boxes to display date.dd/mm/yyyy format.1 box for dd 2 for mm 3 for yyyy.suppose today's is 25 july 2005.now i want to fill this box date from 24 july 2005 to prevous month 25 june 2005 .means each time one month back of current date.
how can i get two text boxes to fill from a users selection from a dynamically filled drop down list.(called from a database)
i can create the drop down no problem and call the data from the database just how do i getthe page to refresh and auto fill the other two fields depending on the users selection
I have all data already collected on the current page? I want to open another window with the form, fill the fields and submit that form. So basically the question is how can I fill all fields and submit the form on another window.
I have an access database called contact.mdb and I have linked to it just fine and used the records held in it to populate a datagrid and can update and delete records.
I don't understand databases that much but I would like to read the values into a drop down menu which are held in the field 'ID' from a table called 'courses'. I have a feeling it is something to do with data sets but am not too hot on these either.