473,753 Members | 7,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

window object

yb
Hi,

Is there a standard for the global 'window' object in browsers? For
example, it supports methods such as setInterval and clearInterval, and
several others.

I know that w3c standardized several parts of the DOM, but this does
not include the window object.

Thank you

Mar 2 '06
26 5693
On 04/03/2006 15:44, VK wrote:
Michael Winter wrote:
[snip]
That doesn't prove anything, except that /you/ are unbelievably
incompetent.


As I said: whatever.


The fact that you don't understand your own code is proof.
P.S.
<script type="text/javascript">
var alert = function(m){win dow.alert('bar' );}
(this.alert('fo o'));


This is more interesting, but not for the reason you'd like to think.

It seems that Fx isn't parsing this properly. The following:

var alert = function() {
window.alert('b ar');
};
(this.alert('fo o'));

should be exactly identical; the only significant difference is the
addition of a semicolon at the end of the variable declaration. However,
the change in behaviour is profound: instead of the previous two
dialogue boxes, the code now throws a recursion error.

It seems that the previous code (posted by VK) is equivalent to:

var alert = (function() {
window.alert('b ar');
})(this.alert(' foo'));

That is, the native alert method is called with an argument, 'foo'. The
return value (undefined) is then passed as an argument to a function
expression, which calls the native alert method a second time, with an
argument, 'bar'. The return value from the function expression call
(undefined) is then assigned to declared variable, alert. This final
step can be observed in both cases with a call to the write method:

document.write( typeof alert); /* undefined */
To Randy (if you're reading): I think you asked for an example where
explicit semicolons make a difference. This is a bug, granted, but an
example nevertheless. :)

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Mar 4 '06 #11
On 04/03/2006 16:27, Michael Winter wrote:
On 04/03/2006 15:44, VK wrote:
[snip]
var alert = function(m){win dow.alert('bar' );}
(this.alert('fo o'));


[snip]
var alert = function() {
window.alert('b ar');
};
(this.alert('fo o'));

should be exactly identical [...]


I forgot to mention that removing the parentheses from around the call
(preceding semicolon, or not) also produces the expected recursion error.

[snip]

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Mar 4 '06 #12
On 04/03/2006 16:27, Michael Winter wrote:
On 04/03/2006 15:44, VK wrote:
Michael Winter wrote:

[snip]
That doesn't prove anything, except that /you/ are unbelievably
incompetent.

As I said: whatever.

The fact that you don't understand your own code is proof.
P.S.
<script type="text/javascript">
var alert = function(m){win dow.alert('bar' );}
(this.alert('fo o'));


[snip]
It seems that Fx isn't parsing this properly. [...]


Scratch that. I'm so used to writing:

(function() {
})(...);

that I forgot that:

function() {
}(...);

is perfectly fine as long as 'function' isn't the first token (as in the
Initialiser production, above).

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Mar 4 '06 #13
VK
Michael Winter wrote:
The fact that you don't understand your own code is proof.


I don't understand ECMA/Firefox sometimes - it is true. Their way of
thinking and acting is sometimes too alien to what I used from Netscape
and Internet Explorer.

So I just have to repeat once again: "Bravo Firefox!". Whatever is
strictly spelled, vaguely mentioned or softly murmured in ECMA or W3C
is being implemented at the best of human abilities.

So then we have two scope schemas: one from IE other from FF. Opera is
kind of sitting between two chairs (which is the normal position for
this browser :-)

I'm wandering what my tests would show for Safari/Konqueror.

Mar 4 '06 #14
VK wrote:
Michael Winter wrote:
> The fact that you don't understand your own code is proof.

I don't understand ECMA/Firefox sometimes - it is true.


You have never displayed a blink of understanding of the specification.
Their way of thinking and acting is sometimes too alien to what I used
from Netscape and Internet Explorer.


It is not. You have just still not understood that Netscape 3+ and Internet
Explorer use ECMAScript implementations as primary scripting language, and
that conforming ECMAScript implementations may be extended compared to the
specification, according to its Conformance section.
PointedEars
Mar 4 '06 #15
VK

Thomas 'PointedEars' Lahn wrote:
It is not. You have just still not understood that Netscape 3+ and Internet
Explorer use ECMAScript implementations as primary scripting language
One cannot implement something that has to be written yet (ECMAScript
specs).
Netscape Gold and Internet Explorer 3.02 simply have JavaScript 1.1 and
JScript 1.0 as primary scripting language respectively (Internet
Explorer 3.0 has VBScript as default language).
and
that conforming ECMAScript implementations may be extended compared to the
specification, according to its Conformance section.


What does it have to do with tea and China? IE and Opera have two
separate scopes: Global and enclosing Window. Firefox has (or
pretending to have) only one: Global wich is Window (or Window which is
Global - I'm really lost here). If both allowed by specs so the better.
If one of them is not allowed by specs - it doesn't make it disappear.

One cannot just keep saying "This is so because it is written so". You
need some correlation with the reality, especially if it involves
80%-90% of UA's (?)

Mar 4 '06 #16
VK wrote:
Thomas 'PointedEars' Lahn wrote:
It is not. You have just still not understood that Netscape 3+ and
Internet Explorer use ECMAScript implementations as primary scripting
language
One cannot implement something that has to be written yet (ECMAScript
specs).


One can. It is the idea of the language that counts here, not the written
representation of it.
Netscape Gold and Internet Explorer 3.02 simply have JavaScript 1.1 and
JScript 1.0 as primary scripting language respectively
,-[ECMAScript Edition 3]
|
| Brief History
|
| This ECMA Standard is based on several originating technologies, the
| most well known being JavaScript (Netscape) and JScript (Microsoft). The
| language was invented by Brendan Eich at Netscape and first appeared in
| that company's Navigator 2.0 browser. It has appeared in all subsequent
| browsers from Netscape and in all browsers from Microsoft starting with
| Internet Explorer 3.0.
|
| The development of this Standard started in November 1996. The first
| edition of this ECMA Standard was adopted by the ECMA General Assembly
| of June 1997.
|
| That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the
| fast-track procedure, and approved as international standard ISO/IEC
| 16262, in April 1998. The ECMA General Assembly of June 1998 approved the
| second edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262.
| Changes between the first and the second edition are editorial in nature.

Therefore, and because of the behavior they display, one can say
rightfully that both JavaScript 1.1 (implemented in Netscape 3.0,
August 1996), and JScript 1.0 (implemented in IE 3.0, dito) are
(extended) ECMAScript implementations .
(Internet Explorer 3.0 has VBScript as default language).


I cannot test that, yet both the W3C DOM HTML Specification (in
its reference to DOM Level 0) and the MSDN Library say otherwise.
PointedEars
Mar 4 '06 #17
VK wrote:
Lasse Reichstein Nielsen wrote:
It should be false. In fact is should run slower, if anything.
The global "window" variable name is no different form
"setTimeout ". Both must be looked up in the same scope chain,
ending at the global object. After that, "window.setTime out"
will do one further property lookup on the global object, so
it should take longer than just using "setTimeout " directly.
It is not true at least for IE 5.0 or higher and Opera 8.0
or higher - thus for 80%-90% of the browsers on the market
(grace to IE).


What is not true? That - window.setTimeo ut - should take longer to
resolve than unqualified - setTimeout -? It does take longer, you just
have to time it to see that.
Therefore ECMA-compliant scope schema will be rather a rare
exeption than a rule with your visitors. One can hate it,
scream and cry about it :-) - but at least she should be
aware of it.
So is it the resolution of Identifiers against the scope chain, or the
scope chain itself that you think does not follow the specification?
That should be fairly simple to demonstrate as all you would have to do
is show some code that ECMA 262 says should result in one behaviour that
actually exhibits another. Of course you need to both know what ECMA 262
says the code should do and understand the code written. That is a bit
of a problem for you as you don't understand ECMA 262 or the javascript
you write.
For IE and Opera "Global" object and "window" object
constitute two distinct programming scopes. ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^

And that should be a fairly simple assertion to back-up. Although
"programmin g scopes" is essentially meaningless; another piece of
fictitious jargon from someone more interested in giving the impression
that they know more than they do. On the other hand "two distinct" is
concrete enough for consideration. It implies that the global object and
the window object are two distinct entities.
Again I'm not talking about some
occasional models like Adobe SVG plugin or such.
I'm talking about the standard environment of a HTML page
(XHTML is not supported by IE and interpreted as regular HTML)
with a script running on it.

In such case we have Global scope (level of global variables
ang Global methods like escape, encodeURI etc.) and Window scope
*above* it (level of ID'entified HTML elements and window methods
like setTimeout, open etc.)
The implication if which is that there are two distinct objects on the
scope chain; one the ECMAScript global object with the specification
defined properties and the other a true host object with browser defined
properties.
On lookup the engine search first in the Global scope, if not
found then in the window scope.
So in scope chain resolution the ECMAScript global object is encountered
first on the scope chain and the 'window' object comes after that?

Well, we can test that proposition with a bit of scope chain
augmentation. Suppose we explicitly put the object referred to by -
window - on the scope chain of an inner function (with a - with -
statement) and give the outer function local variables with identifiers
that would mask global properties of interest. Acting upon those
unqualified Identifiers inside the inner function would not involve the
consequences of getting to the end of the scope chain because if not
resolved as propitious of the object added to the scope chain they would
be caught by being resolved as priorities of the Activation/variable
object of the outer function.

If the window and global objects are two distinct entities that have
different sets of properties, Identifiers referring to properties of
the one that had _not_ been added to the scope chain would be
resolved as the outer function's local variables. Finding any single
Identifier that could not be resolved as a property of the object
added to the scope chain would _prove_ that there were two distinct
objects, failing to demonstrate this would suggest a single global
object. E.G:-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<script type="text/javascript">

var globalVar = 'Global Variable';

function getWindow(){
return window;
}
function getGlobal(){
return this;
}

window.onload = (function(){
var localFnc;
/* Identifier corresponding with IDed DIV element */
var testDiv = 'Outer Function variable';

/* Identifiers corresponding with ECMA global object properties */
var Math = 'Outer Function variable';
var Array = 'Outer Function variable';
var Object = 'Outer Function variable';
var eval = 'Outer Function variable';
/* Identifiers corresponding with browser object model global
properties. */
var clipboardData = 'Outer Function variable';
var setTimeout = 'Outer Function variable';
var alert = 'Outer Function variable';
var window = 'Outer Function variable';

/* Identifier corresponding with a declared global variable */
var globalVar = 'Outer Function variable';

/* Explicitly add a property to the - window - object:- */
getWindow()['foo'] = 'Assigned to window object'
/* Identifier corresponding with an property explicitly added
to the window object */
var foo = 'Outer Function variable';

/* Explicitly add a property to the - this - object:- */
this['bar'] = 'Assigned to window object'
/* Identifier corresponding with an property explicitly added
to the window object */
var bar = 'Outer Function variable';

/* Cannot use the - window - reference directly as it is defined
as a local string variable in this scope so call a function
that will return - window - instead:- */
with( getWindow() ){ // Add the - window - object to the inner
// function's scope chain.
localFnc = (function(){
alert(
'*Identifier corresponding with IDed DIV element\n'+
'testDiv = '+testDiv+

'\n\n*Identifie rs corresponding with ECMA global object'+
' properties\n'+
'\nMath = '+Math+
'\nArray = '+Array+
'\nObject = '+Object+
'\neval = '+eval+

'\n\n*Identifie rs corresponding with browser object model'+
' global properties.\n'+
'\nclipboardDat a = '+clipboardData +
'\nsetTimout = '+setTimeout+
'\nalert = '+alert+
'\nwindow = '+window+

'\n\n*Identifie r corresponding with a declared global'+
' variable\n'+
'\nglobalVar = '+globalVar+

'\n\n*Identifie r corresponding with an property explicitly'+
' added to the window object'+
'\nfoo = '+foo+

'\n\n*Identifie r corresponding with an property explicitly'+
' added to the global - this - object'+
'\nbar = '+bar+
''
);
});
}
/* Return the inner function so it can be assigned to
- window.onload -:- */
return localFnc;
})();
</script>
</head>
<body>
<div id="testDiv">XX X</div>
</body>
</html>

It is also possible to repeat that experiment using the - this -
reference as the object added to the scope chain (or any other
candidate for similar consideration).

And the results of running that on IE 6 are that whichever object (-
window - or - this -) is added to the inner function's scope chain that
object has; properties that correspond with IDed DOM elements,
properties that correspond with ECMA 262 defined global properties,
properties that correspond with expected browser object model global
properties, properties that correspond with declared global variables
and properties corresponding with properties added to both the -
window - and - this - object at runtime.

This result shows no evidence of two distinct objects at the end of the
scope chain as the single object that is expected to be at the end of
the scope chain behaves as if it has all the required properties itself.
Therefore if we say declare
var setTimeout = 'foobar';
we shadow window.setTimeo ut reference (engine will find
"setTimeout " in the Global scope first thus will never
look in the window scope above).
No demonstration of 'shadowing' has been made. The behaviour
demonstrated is instead completely in accordance with a single global
object being subject to procedure for variable instantiation as
described in ECMA 262, 3rd ed. sections 10.1.3 and 10.2.1.
Respectively if we declare:
window['foo'] = 'bar';
and later call alert(foo) then engine will look first in
the Global scope, fail on it, then look in
the window scope and find it.
With the implication that the global object does not have an - alert -
property or a - foo - property? Neither have been demonstrated, and the
above test shows that both the - window - object and the global - this -
object behave in isolation as if they have properties corresponding with
ECMA 262 defined global properties, browser global properties, declared
local variables, runtime added properties, etc.
For a non-aware user the fact that:
window['foo'] = 'bar';
alert(foo); // 'bar'
may lead to the conclusion that Global scope and window scope
are the same - but nothing more far from the true than that,
again - at least for IE and Opera.
So far no case has been made for that conclusion.
It also explain the real mechanics of possible circular
reference leaks in IE
You mean the things that you didn't believe existed last week, and still
don't understand?
as well as explains the overall higher memory consumption
by JScript - which is *not* a memory leak but makes nervious
many developers, specially ones coming from a C++ or so
background.
Explaining the circular reference memory leaks in terms of inaccessible
additional objects in the scope chain would be inadequate as then the
problem could not be addressed, due to the inaccessibility of these
additional objects.
As I'm kind of tired of regular hysterics about
"VK unbellyfeels ECMA":
Stop making out that you know something special to people who have a
better understanding of the subject than you and have considerably
greater talent for analysis than you and you may stop people calling you
a fool.
here a sample and I don't care if it trigs the thinking
process or the doublethink will help as usual.
Although writing sentences that make sense would also contribute to your
not being considered quite the fool you currently are.
...
<script type="text/javascript">
Once again you post code without stating what it is you suppose that it
is demonstrating. And in not stating what is supposed to be demonstrated
by this code it becomes difficult to say whether it is demonstrated or
not, but presumably if you are trying to make any point at all your
notion of this code is that it demonstrates something that would differ
from the behaviour predicted by an ECMA 262 conforming implementation.
Well, lets look at the ECMA 262 derived perdition and see if the results
do demonstrate IE differing from that behaviour:-
var v1 = true;
A global variable is declare and assigned a value. Variable
instantiation in the global scope uses the ECMAScript global object as
the variable object so it would be the global object to which a property
would be added with the name 'v1', unless the property already exists in
which case it is left alone. When the global code is executed a value is
assigned to that property of the global object.
function demo() {
var v2 = true;
A local variable is created with the name 'v2' on the function's
execution context's Activation/variable object and when the function
body is executed the boolean value - true - is assigned to that
property.
alert(v1);
Output, now we get to see if behaviour corresponds with expectations.
The Identifier - alert - is resolved into a reference to the global -
alert - function and that function is called with an argument list
consisting of the value read using the Identifier - v1 - . The
Identifier - v1 - is resolved at the end of the scope chain as a
property of the global object that corresponds with the declared global
variable and has the value - true -. The - alert - function
type-converts its boolean - true - argument into the string 'true' and
alerts that.

ECMA 262 predicted outcome: alters the string 'true'.

Observed outcome: alerts the string 'true'.
alert(v2);
Similarly the Identifier - v2 - is resolved as a property of the
function's execution context's Activation/Variable object. That property
has the value - true - and alert type converts that into the string
'true'.

ECMA 262 predicted outcome: alters the string 'true'.

Observed outcome: alerts the string 'true'.
alert(this[v2]);
This time the argument to - alert - is the result of the expression -
this[v2] -. As this function is executed as a method of the - window -
object the - this - keyword is resolved as a reference to the - window -
object. The bracket notation property accessor requires that the - v2 -
Identifier be resolved, evaluated and type-converted into a string that
will be used as a property name in association with the - this - object.
The - v2 - Identifier is resolved as the local variable - v2 - with the
value - true -. That value is type-converted into the string 'true' and
used as the property name to be resolved in association with - this -,
i.e.- this['true'] -.

The expression - this['true'] - returns the value - undefined - because
the window object has no property named 'true', and alert type-converts
undefined into the string 'undefined' and alerts that.

ECMA 262 predicted outcome: alters the string 'undefined'.

Observed outcome: alerts the string 'undefined'.
alert(v3);
As we know IE (and other browsers) make DOM elements with ID attributes
available as global properties under names corresponding with their IDs,
assuming that they do not clash with declared global variables. The
Identifier - v3 - corresponds with the ID of a DOM element and does not
clash with a declared global variable so we can expect - v3 - to resolve
as a reference to that DOM element. The type-conversion of an IE DOM
element to a string is the string '[object]' so that is what will be
alerted.

ECMA 262 predicted outcome: alters the string '[object]'.

Observed outcome: alerts the string '[object]'.
}

window.onload = demo;
</script>
...
<div id="v1">v1</div>
<div id="v2">v2</div>
<div id="v3">v3</div>
...
So once again you post code that is supposed to demonstrate some arcane
'truth' that actually does no more than behave 100% in accordance with
the behaviour that would be expected of a 100% ECMA 262 3rd ed.
conforming implementation. There is certainly nothing happening here
that requires more than one global object, or suggests any additional
objects on the scope chain.

Did you, by any chance, let yourself be fooled by - alert(this[v2]); -
alerting ' undefined'? I think you did, but as has been pointed out so
many times you don't understand the basics of javascript so you don't
understand what the code you write actually does. You probably indented
to write - alert(this['v2']); - or - alert(this.v2); -, but that would
have alerted '[object]' and done nothing but demonstrated more expected
behaviour.
P.S. If it helped to start the thinking process (which
I still hope despite don't care too much anymore):-
It appears that no matter how often you make yourself look a fool in
public it never starts your thinking process. You have made the mistake
of confusing yourself with someone who knows what they are doing and
apparently no amount of evidence to the contrary is capable of enabling
you to rectify that error.
the next question would be: "Is it possible and how in IE's
scope model that a DOM object is still referenced in the
execution context - thus not GC-available - despite
no one JScript variable holds a reference to it?"


Given that you made your original proposition up off the top of your
head without any evidence to back it up and posted a non-demonstration
of it 'in action', the 'next question' is entirely moot. However, that
'next question' hardly qualifies as a question, being the sort of
incoherent rambling that might be expected from the mentally ill.

Richard.
Mar 4 '06 #18
Thomas 'PointedEars' Lahn said the following on 3/4/2006 3:20 PM:
VK wrote:


<snip>
(Internet Explorer 3.0 has VBScript as default language).


I cannot test that, yet both the W3C DOM HTML Specification (in
its reference to DOM Level 0) and the MSDN Library say otherwise.


And those two references are always 100% correct? Think about what MSDN
had to say about IE7 and the XMLHTTPRequest Object before you answer.
And if that doesn't do it, consider what MSDN has to say about toFixed()
and where it is known *not* to work.

MSDN and W3C are not always correct. Doesn't mean I agree with VK (I
don't care what the default language in IE3.0 was), I do disagree with
the notion (and VK pointed it out) that "Just because something says so
doesn't make it right)". And that alone makes me not care what the specs
say as much as I care what the browsers/UA actually *does* with code.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 4 '06 #19
VK wrote:
VK wrote:
RobG wrote:
In user agents that have a concept of a window object,
it is synonymous with the global object.
I'm aware of only one browser where this is true: Firefox.


You lack of awareness of web browsers is becoming legendary.
Actually it is not true for Firefox neither: they just
tryed to *mimic* that ECMA statement as hard as they could,
so it's really difficult to catch them on the act :-)
And particularly difficult when you don't know what the code you write
is supposed to do, have no analytical skills and don't really comprehend
logic.
Nevertheless the test #2 from my previous post gets them
- I just didn't check it first on Firefox:
LOL
function demo() {
/* Test 2 */
var alert = function(m) {window.alert(m +'bar');}
alert('foo'); // 'foobar'
window.alert('f oo'); // 'foo'
// Gocha! :-)
}


So after all this time (what is it, 8-9 years) of supposedly scripting
web browsers you don't actually understand how local variables work? You
create a local variable called - alert - and then assign a reference to
a function object to it and then you don't see why the unqualified
Identifier - alert - is resolved as a reference to that local variable
(and its assigned function) while the property accessor - window.alert -
resolves as a reference to the global - alert - function? How many false
conclusions have you drown over those years form misconceiving the code
that your write?

How can you possibly hope to deduce anything about how web browsers
behave if you don't even know what the code you are writing is supposed
to be doing? Don't you think it would be a good idea to stop bothering
people here with your misconceived nonsense until you have learnt the
basics of the language you are so keen to assert your expertise in?

Richard.
Mar 4 '06 #20

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

Similar topics

3
1840
by: Hermit Crab | last post by:
I'm seeing some unexpected (at least to me) behavior in the 'window' and 'document' objects under Netscape 7.1 and Internet Explorer 6.0. When a property is added to the prototype for 'Object', it was my understanding that it should be visible to all objects. But it appears that it is NOT visible in the 'window' object of either IE or Netscape. It is visible in the 'document' property of Netscape, but not IE. It is visible in...
31
2846
by: Benno Bös | last post by:
If I use the following construct in the frame "main" for a link to an extern site: <A HREF="http://www.any.xy" TARGET="extern"> the Browser is creating the window "extern", loading the page www.any.xy an setting the focus to "extern". But when I go return to "main" without closing "extern", a click to an other link (e.g. www.2nd_any.xy) on "main" does not setting the focus to "extern".
32
2507
by: Eli | last post by:
How can I POST a form into a new window where I control the size and other attributes of the new window? Also. Are there any implications, perhaps due to browser security (Interne Explorer?) that could cause problems if I try to post a form at www.mydomain.com to www.anotherdomain.com?
10
3079
by: soup_or_power | last post by:
The pop up window has several checkboxes. I'm unable to access the checkboxes using the handle from window.open. Any way to do this? var display; function showSugg(but_id, sugg1, sugg2, sugg3, sugg4, sugg5) { display=window.open('','_blank','menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=yes,height=150,width=190')
12
1900
by: Bonj | last post by:
i'm trying to create a class that will contain all the features of instantiating a window and showing it. I've got the SetWindowLong / GetWindowLong pair to succesfully store the 'this' pointer in the hWnd's GWL_USERDATA, but the pointer that it's referring to always seems to point to the base class and never the derived class. I don't know what I'm doing wrong, this has been driving me mad for hours. Consequently, the static WndProc...
1
11581
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx but it was far more complex then I needed. (I got lost trying to figure it all out). Therefore, here goes my simple "web dialog box with parent event handler fireing" solution. ...
4
6408
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database to look a and I am loosing tremendious amounts of time trying to organize it so that I could view it. Regards, Alexandre Brisebois
2
2152
by: KC | last post by:
Hi, Every JavaScript executive context has a top-level window and we can use window.open() to open another window ... Does this related to Windows created by click on "File"->"New Window" or "File" -"New Tab" in browser's menu bar ? I think window created by "File"->"New Window" and "File"->"New Tab" are independent to each other from JavaScript's point of view. Is this correct ?
24
8227
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and seems to have a (tiny) amount overhead since window itself points to the global object, hence, a circular reference. (From everything I am reading, window is just a REFERENCE back to the global object, as opposed to a separate object.)
0
9072
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8896
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9653
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9421
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9333
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8328
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6869
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3395
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 we have to send another system

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.