Loading Associative Arrays

I am trying to load an associative array from a recordset. Anyone know how to do this?

View Replies


ADVERTISEMENT

Combo Box, Using Hashtable (associative Array)

I have a combobox and a textbox. Everytime the user changes the value in combobox, the value in textbox changes too. The data in both combobox and textbox are retrieved from database. I've tried to solve this problem using hashtable (associative array) but I can't pass the hashtable object from ASP to JScript. Btw, document.form.submit() cannot be used because the other data will be lost from the page. Can anybody give me a solution?

View Replies View Related

Not Loading Asp

We have a web server running IIS 5.0 that will not load
any file with an .asp file extension. The server
loads .html just fine, but all links to an .asp file end
up timing out.

View Replies View Related

Loading Bar

Is it possible to create a loading bar with ASP? I am thinking of displaying the loading bar while my customers' requests are being processed (databse update).

View Replies View Related

Loading .txt

I have a an ASP page on which i wish to load dynamic text by way of a dot text file.
It would be great if something like.-

<txt scr = "MyTextFile.txt">

existed but life aint that simple, or is it?

View Replies View Related

Loading Id From DB

i want to load an id from a table in the db how do i do that?I am scripting in asp?
i tried this but it wont work.

SQL = "SELECT * FROM users WHERE id=Request("id")"

View Replies View Related

Loading

before displaying any page i want to show message pls wait page is loading. its written on browser. i think meta tag will do this?

View Replies View Related

Page Loading

I have an asp page which takes approx 1 min to load over the network due to how much data it has to deal with.
If someone was to press stop on the browser i assume it doesnt close the connection to the database is there anyway to ensure it does?

View Replies View Related

Loading Frames

I've got an asp page that is set up in with two frames. The problem in question pertains to the main frame which contains a simple 'response.redirect' line that redirects the visitor to a different location. Other than this line, everything else are tags and no asp-oriented code.

I've tested this on a couple of computers, and it works fine. However, there are a few other computers in my office where the redirect just hangs and doesn't load the redirected page (i.e. the status bar states 'Open http://someurl.com' and stays like that)

Is this a problem with using the asp line, or is it a computer setting/browser setting I'm overlooking?

View Replies View Related

Loading Time

I have an ASP file that eastablishes two connections to a SQL Server and produces two Record Set objects. I am using IIS to develop and the SQL Server database is on the same computer.What I am developing is a message board, so there is a form on which information is submitted. The first connection and recordset puts information from the form into the database table, and the second connection and recordset pulls out 10 records from that same table and should write out some information from the recordset.
The problem is when the form is submitted, it takes forever for the next page to load. I am not even sure how long it takes, because the longest I waited was about 5-10 minutes for it to load, and it still would not load so I closed the browser.
Are the two connections or two recordsets too much for the server to handle, or am I doing something else wrong?

View Replies View Related

Loading Pages Into A Div

is there a way of loading pages into a div i have created a review server where people can upload folders of work the create a start file, ie an index page on a microsite..

i then want to show this page within my page.,,, i dont want to use frames or i frames, can this be done by loading the page into a div?

View Replies View Related

Loading A File

im not sure if this is possible, but how do you load a file in asp? Basically i want the user to choose a .mdb file from their file system and then set that file as the "master databse" to be used in the website!

View Replies View Related

ASP Script Loading

Is there a way of while the ASP script runs some text is in its place saying Script Loading

e.g.
user click
Script Loading
Message Shown
Script done
Message Dissappear
Script Appear

View Replies View Related

Loading An ActiveX DLL

Why would the following code execute in VB6 but hang indefinately when
exectuted in an ASP 3.0 page?

Set VLReceive = CreateObject("VLCTI.VLReceive")

This line is invoked in the following context:
<%
Dim VLReceive
Set VLReceive = CreateObject("VLCTI.VLReceive")
Set VLReceive = Nothing
%>

Is it the setup of the virtual directory or something?

View Replies View Related

Loading Page

did anyone know how to do the loading page when the page are not load complete?

View Replies View Related

Loading Times

I have a asp page which pulls alot of data back from a SQL database, is thier any way to show the page while its loading.

I did some diging and found this:

<%
response.buffer=true
response.flush
%>

View Replies View Related

Loading Too Slow

in what condition will lead the the ASP page run too slowing.

View Replies View Related

Loading Page

Would like a loading page to appear for asp searchs/form submitions similar to the sheddev search, whilst the results are being returned you go to a different page saying "please wait whilst page is loading" and when the results are returned you are directed back.

View Replies View Related

Page Not Loading

I have put together a logon page and successfully tested it on localhost, but once uploaded, it ceases to behave normally. Instead of displaying the page, Internet Explorer puts up a download file box, asking if I want to Open or Save it. If you'd like to this in action, go to www.bpfe.org.uk/mtdlogon.asp. I'm sure I've seen this before but I can't remember what causes it.

View Replies View Related

Self Loading Page

What I would like to do is having a page on the server that automaticaly load itself every X hours. Is there anyway of doing this? I need this in order to update my database and execute some asp code.

View Replies View Related

Page Loading

I have a HTML Page with iframe in iframe I am loading some another domain website from our webserver but at the client it is taking to load. Can some body let me know how show a loading message for it and when i will know by programming that site fully loaded.

View Replies View Related

ASP Page Not Loading...

I have moved our sebsite to a new 2003 server & now my asp pages won't work.
Where/what do I change to allow asp pages to run?

View Replies View Related

Loading ... Please Wait

I have one ASP page. During opening this page its taking some time to open as its has to process some asp code. I want to display some animated gif or text showing that page is loading or please wait...or some thing like that.

I put image and text on top in file and then asp code but its not showing its only showing non asp part when its finishing the asp processing. I tried with response.buffer = false too. but no luck. Is there any way that I can show some text during asp page is loading or processing.

View Replies View Related

Asp Pages Not Loading

I and running IIS 5.1 on Windows Professional on my home computer. Have been successfully working on and viewing both html and asp pages until tonight.

Tonight I received a message that my webserver had too many connections. I followed the microsoft fix and turned off "Http Keep alives enabled" in the website properties.

That didn't fix my problem. Then I reinstalled IIS from scratch and that didn't work either. Now I can only view html pages and I cannot view asp pages that I write. The asp pages "hang" when they try to load.

View Replies View Related

Arrays

I have trouble working with arrays in asp.. I have the following error :Microsoft VBScript runtime (0x800A0009)
Subscript out of range: '[number: 0]'

the line that gives me the error is the following:
Door_OpeningValH= aDoor_OpeningVal(0)
and my code is this:

Door_OpeningVal= rs("Door_Open_Dimension")
aDoor_OpeningVal = split(Door_OpeningVal, "x", -1, 1)
Door_OpeningValH = aDoor_OpeningVal(0)
aDoor_OpeningValW = split(aDoor_OpeningVal(1)," ",-1,1)
Door_OpeningValW = aDoor_OpeningValW(0)
Door_OpeningValUnit = aDoor_OpeningValW(1)

what i'm doing is recivieng values from 2 textboxes and a combo box.I want it to save in my database like this:
2x5 ft

View Replies View Related

Arrays

I need to create a multidimensional array using another int as one of the criteria but I keep getting probs with my code, what am I doing wrong?
Code:


intMonthName = Cint(Month(field_in_my_database))
Dim myarray(intMonthName,2,5)
I get this error message:

Quote: Microsoft VBScript compilation error '800a0402'

Expected integer constant

View Replies View Related

2D Arrays

I am using ASP with VBScript and I want to know how to seperate a 2 dimensional array into 1 Dimensional arrays:

like if

MyArray is a 2 D array and I want to store the first row of this array in another array , like in C

MyArray[5][5] //this is a 2D array

OneDimArray=MyArray[0] // stores the first row of the 2D array in OneDimArray

is there a way to do it in VBScript ????

I couldn't find a way

I don't want to do it with loops I hate code with too much loops,

View Replies View Related

Arrays

How can display unique values from an array. I dont want to loop thru all the values and do it. Is there a better way?.

View Replies View Related

Arrays

What does the numeral '1' mean in the following statement?

For J = 0 to UBound(QArray, 1)

View Replies View Related

Arrays

I have an array in ASP and I am populating the array with the values from database on checking a condition. Lets say i have array of arr(5). Initially I made all the array items null ...

View Replies View Related

Arrays

I have an array in ASP called WordsArray() which contains several words. What I would like to do is search the array for a word, and if its not there, add it to another array ResultsArray()

So far, a loop in my code only checks the current array value, and not the rest of the array, adding the search word to the end of the resultsArray regardless.

View Replies View Related

Loading Images To Server

Is it possible to load images to a folder in my hosting server?

View Replies View Related

ASP Page Is Not Loading In Frame

I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved