473,511 Members | 17,164 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I assure/be certain/check in ASP that an html element was fully loaded in the client side?

Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser

My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.

My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?

Oct 28 '06 #1
5 1661

"thisis" <he******@web.dewrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser



if its a IMG, use image readystate

example
http://dev.thatsit.net.au/ASP/sample...te/default.htm

>
My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.

My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?

Oct 28 '06 #2

Slim wrote:
"thisis" <he******@web.dewrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser

if its a IMG, use image readystate

example
http://dev.thatsit.net.au/ASP/sample...te/default.htm


My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.

My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?
Hi Slim,
is there a vbscript version - the sample you gave is in javascript?

Oct 28 '06 #3

"thisis" <he******@web.dewrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser

My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
Do not for one second think you are creating files on the client. You are
not. You are creating files on your server to be sent to the client as part
of the http response.

3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
All you need to do is ensure that the image file was sent completely. It is
irrelevant how long it takes the client to display it. Set
Response.Buffer=True, then Response.Flush after step 2. Your for... next
loop in step 4 is horribly CPU intensive and can be done away with.

--
Mike Brind

Oct 29 '06 #4

"thisis" <he******@web.dewrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>
Slim wrote:
>"thisis" <he******@web.dewrote in message
news:11*********************@e3g2000cwe.googlegro ups.com...
Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser


if its a IMG, use image readystate

example
http://dev.thatsit.net.au/ASP/sample...te/default.htm

>
My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.

My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?

Hi Slim,
is there a vbscript version - the sample you gave is in javascript?

the same.

sub dFish_onreadystatechange
rsc.innerText = dFish.readyState
end sub
Oct 29 '06 #5

Slim wrote:
"thisis" <he******@web.dewrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...

Slim wrote:
"thisis" <he******@web.dewrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,

Hi All,

(this is not the same topic as the my previous topic)
What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... / - was FULLY Loaded into web Browser



if its a IMG, use image readystate

example
http://dev.thatsit.net.au/ASP/sample...te/default.htm

My Question is:
describe,

i have a page that does this
a dll thatt does that

the problem temp file
How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg
i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.

My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?
Hi Slim,
is there a vbscript version - the sample you gave is in javascript?


the same.

sub dFish_onreadystatechange
rsc.innerText = dFish.readyState
end sub
ok, slim, thanks for the guidlines - it sure made some order, in the
mess my code was.

Oct 29 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3708
by: Chris | last post by:
Im hoping someone can help me understand why this works? Requirement: Navigate DOM through javascript to perform DHTML actions. Issue: GIANT html document, up to 4MB in size, thousands and...
5
2341
by: A.Dagostino | last post by:
hi i need to update an SQL Table when user select or unselect a checkbox control. How Can i do? Thanks Alex
4
1747
by: vanisathish | last post by:
I am using an ASP to update some table contents on my HTML page by calling the ASP page using hidden frames. But the ASP script seem to get called even before the HTML FRAME is loaded...
16
2015
by: graham.reeds | last post by:
I am updating a website that uses a countdown script embedded on the page. When the page is served the var's are set to how long the countdown has left in minutes and seconds, but the rest of the...
2
8374
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
1
1639
by: baroque Chou | last post by:
the body tag has onload event, I want to make sure that is it a client side scirpt, is it fired completed after the page is rendered, I mean, the meaning of the onload is the browser loading the...
9
2140
by: Phil_Harvey | last post by:
I am redoing my website and trying to get it to do something more exciting using Javascript. I did normal Java at university and code at work in VB.NET. I have got reasonably far into what I want...
1
3130
by: John L. | last post by:
How do I invoke the scroll() method of a window object for a scrollable IFRAME element in an HTML document? I am using IE 7.0, and I thought the following would work: ...
42
8862
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully...
0
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
3227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1577
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.