473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

PHP to a COM object

Hello,

I'm trying to use a (remote) COM object from a PHP script (4.4, server has
apache2 win32).

The basics seem to work : I instantiate the COM object ($o = new COM"..."),
then I use two of the objects methods to authenticate. In the meantime a
property called "ProjectConnected", passes from 0 to 1. So I think the
object is correctly instanciated and the connection works.

But now, I'm doing a var_dump on my object and I get this :
object(COM)(1) {
[0]=resource(127) of type (COM)
}

Arg. I don't understand this and the PHP manual doesnt help either. I would
have expected to get a list of methods/properties. At least the two I use to
authenticate.

var_dump ($obj[0]) returns null.
Could someone explain me more about this ?

Thanks,
--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #1
16 2063
Alex wrote:
Hello,

I'm trying to use a (remote) COM object from a PHP script (4.4, server has
apache2 win32).

The basics seem to work : I instantiate the COM object ($o = new COM"..."),
then I use two of the objects methods to authenticate. In the meantime a
property called "ProjectConnected", passes from 0 to 1. So I think the
object is correctly instanciated and the connection works.

But now, I'm doing a var_dump on my object and I get this :
object(COM)(1) {
[0]=resource(127) of type (COM)
}

Arg. I don't understand this and the PHP manual doesnt help either. I would
have expected to get a list of methods/properties. At least the two I use to
authenticate.

var_dump ($obj[0]) returns null.
Could someone explain me more about this ?

Thanks,
This is correct; this is an external resource in PHP.

AFAIK, the only way you can get a list of properties and methods of a
COM object is if the COM object itself supports such a request.

And the resource object in PHP isn't an array, which is why you get null
when you try to dump $obj[0].

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 14 '07 #2
On Nov 14, 10:56 am, "Alex" <d_key...@hotmail.comwrote:
....
I'm trying to use a (remote) COM object from a PHP script (4.4, server has
apache2 win32).

The basics seem to work : I instantiate the COM object ($o = new COM"..."),
....
But now, I'm doing a var_dump on my object and I get this :
object(COM)(1) {
[0]=resource(127) of type (COM)
}

Arg. I don't understand this and the PHP manual doesnt help either. I would
have expected to get a list of methods/properties. At least the two I use to
authenticate.
Check out:
http://php.net/com_print_typeinfo

Csaba Gabor from Vienna

Nov 14 '07 #3
....
subsequent question : gettype returns "object". Shouldnt it return
"resource" ?

As a matter of fact get_resource_type returns nothing at all, nor does
com_print_typeinfo .

What can I deduct ? simply that the object just doesnt support some requests
allowing to have this kind of info ?

--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #4
"Steve" <no****@example.comwrote in message
news:Ls*************@newsfe07.lga...
as in, you're a beginner to VB or, a beginner to php?
to COM :) and I havent touched VB since..... Win 3.11. :) I've been coding
in PHP for almost 10 years, but never had to use COM.
i'd create a component if you need to break this and other com objects
apart like this.

if you're using vb classic (the crusty old version), there are several
free and well written libraries that can expose any com object's
interfaces...including types, params, etc.

if you're using vb.net, use it's reflection capabilities to do the same.
give your vb app the path to the dll, let it create it, and then go about
discovering its make-up.

either way, compile it to a com object to make it accessible to php. btw,
if using vb.net, you don't have to create in php the object being exposed.
your reflection-enabled com object can not only break-down the interfaces
for you, but you can also put 'invoke' methods on your object which defers
to the interface of the child object being exposed to php. make sense?
The object is already compiled. It's from a software vendor. I meant to say
that I have doc with the object, but all the examples of object usage are in
VB, which I have long forgotten. They use lists, for example all around the
place, and I don't remember how to translate this to PHP :)

--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #5

"Csaba Gabor" <da*****@gmail.comwrote in message
news:11**********************@57g2000hsv.googlegro ups.com...
Check out:
http://php.net/com_print_typeinfo
I know how to RTFM :)

Things are getting a bit "better" now : I replaced new COM() by com_load()
and voila, I have com_print_typeinfo working. Now I have to understand how
to access those lists they speak about in the doc.

That got rid of the errors "is not a COM object handler" I had in the PHP
log which I just had enabled.

--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #6

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
"Steve" <no****@example.comwrote in message
news:Ls*************@newsfe07.lga...
>as in, you're a beginner to VB or, a beginner to php?

to COM :) and I havent touched VB since..... Win 3.11. :) I've been coding
in PHP for almost 10 years, but never had to use COM.
>i'd create a component if you need to break this and other com objects
apart like this.

if you're using vb classic (the crusty old version), there are several
free and well written libraries that can expose any com object's
interfaces...including types, params, etc.

if you're using vb.net, use it's reflection capabilities to do the same.
give your vb app the path to the dll, let it create it, and then go about
discovering its make-up.

either way, compile it to a com object to make it accessible to php. btw,
if using vb.net, you don't have to create in php the object being
exposed. your reflection-enabled com object can not only break-down the
interfaces for you, but you can also put 'invoke' methods on your object
which defers to the interface of the child object being exposed to php.
make sense?

The object is already compiled.
that wasn't the point i was making above...at all. however, no need to get
into that since that suggestion isn't your intended purpose.
It's from a software vendor. I meant to say that I have doc with the
object, but all the examples of object usage are in VB, which I have long
forgotten. They use lists, for example all around the place, and I don't
remember how to translate this to PHP :)
so, you know the object's interfaces...just not how to code it in php? same
way as any other object...

$o->interface;
$o->interface(param);

etc.

am i missing something?
Nov 14 '07 #7
"Steve" <no****@example.comwrote in message
news:od*************@newsfe06.lga...
>It's from a software vendor. I meant to say that I have doc with the
object, but all the examples of object usage are in VB, which I have long
forgotten. They use lists, for example all around the place, and I don't
remember how to translate this to PHP :)

so, you know the object's interfaces...just not how to code it in php?
same way as any other object...

$o->interface;
$o->interface(param);
etc.

am i missing something?
I'm pretty sure you're missing a lot less than I do :)

But it's getting better. I replaced "new COM()" by com_load() and now I can
use com_print_typeinfo which returns all the innards of the object. I don't
really know why com_load works better, but it is the case.

I also got to access one of the lists in the object. $....->item($i) . I'm
not sure whether it's a special syntax instead of item[$i] or those item()s
are really functions.

So things are getting better :)
However, my next blocking point is something called a factory. It is a
property of my COM object that is itself an ever-existing instance of a
class containing other objects. I think it is instanciated automatically by
the COM server when I create the object.

Everytime I put its name in my code ( $a =$obj->Factory; nothing more ),
Apache bombs with no explanation.

I have put the memory limit for PHP to 128M just to see but it doesnt change
anything.
--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #8

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
"Steve" <no****@example.comwrote in message
news:od*************@newsfe06.lga...
>>It's from a software vendor. I meant to say that I have doc with the
object, but all the examples of object usage are in VB, which I have
long forgotten. They use lists, for example all around the place, and I
don't remember how to translate this to PHP :)

so, you know the object's interfaces...just not how to code it in php?
same way as any other object...

$o->interface;
$o->interface(param);
>etc.

am i missing something?

I'm pretty sure you're missing a lot less than I do :)

But it's getting better. I replaced "new COM()" by com_load() and now I
can use com_print_typeinfo which returns all the innards of the object. I
don't really know why com_load works better, but it is the case.

I also got to access one of the lists in the object. $....->item($i) . I'm
not sure whether it's a special syntax instead of item[$i] or those
item()s are really functions.

So things are getting better :)
However, my next blocking point is something called a factory. It is a
property of my COM object that is itself an ever-existing instance of a
class containing other objects. I think it is instanciated automatically
by the COM server when I create the object.

Everytime I put its name in my code ( $a =$obj->Factory; nothing more ),
try:

$a = $obj->Factory();
Nov 14 '07 #9

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
"Steve" <no****@example.comwrote in message
news:od*************@newsfe06.lga...
>>It's from a software vendor. I meant to say that I have doc with the
object, but all the examples of object usage are in VB, which I have
long forgotten. They use lists, for example all around the place, and I
don't remember how to translate this to PHP :)

so, you know the object's interfaces...just not how to code it in php?
same way as any other object...

$o->interface;
$o->interface(param);
>etc.

am i missing something?

I'm pretty sure you're missing a lot less than I do :)

But it's getting better. I replaced "new COM()" by com_load() and now I
can use com_print_typeinfo which returns all the innards of the object. I
don't really know why com_load works better, but it is the case.

I also got to access one of the lists in the object. $....->item($i) . I'm
not sure whether it's a special syntax instead of item[$i] or those
item()s are really functions.

So things are getting better :)
However, my next blocking point is something called a factory. It is a
property of my COM object that is itself an ever-existing instance of a
class containing other objects. I think it is instanciated automatically
by the COM server when I create the object.

Everytime I put its name in my code ( $a =$obj->Factory; nothing more ),
Apache bombs with no explanation.

I have put the memory limit for PHP to 128M just to see but it doesnt
change anything.
Oh there's something I just realized.

This "factory" object is an instance of a class called Factory. But the doc
also makes mention of something called an interface (IFactory) who has the
same methods/Properties of the class. When I do a com_print_typeinfo on the
Factory, I get almost nothing :
class Factory { /* GUID={F4E856D4-FCD7-11D4-9D8A-0001029DEAF5} */
}When I do it on the interface, I get all my object's properties.

There HAS to be a difference :)

--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #10
"Steve" <no****@example.comwrote in message
news:86*************@newsfe07.lga...
try:

$a = $obj->Factory();
Just did it.... Apache inflates to 51M of RAM usage and bombs. grmf :)

--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 14 '07 #11

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
"Steve" <no****@example.comwrote in message
news:86*************@newsfe07.lga...
>try:

$a = $obj->Factory();

Just did it.... Apache inflates to 51M of RAM usage and bombs. grmf :)
did you say you set your memory limit to -1 (unlimited) in php?

does Factory take a param to just return a single item?

the good new is that it seem to be just a memory issue at this point.
Nov 14 '07 #12

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
>
"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
>"Steve" <no****@example.comwrote in message
news:od*************@newsfe06.lga...
>>>It's from a software vendor. I meant to say that I have doc with the
object, but all the examples of object usage are in VB, which I have
long forgotten. They use lists, for example all around the place, and I
don't remember how to translate this to PHP :)

so, you know the object's interfaces...just not how to code it in php?
same way as any other object...

$o->interface;
$o->interface(param);
>>etc.

am i missing something?

I'm pretty sure you're missing a lot less than I do :)

But it's getting better. I replaced "new COM()" by com_load() and now I
can use com_print_typeinfo which returns all the innards of the object. I
don't really know why com_load works better, but it is the case.

I also got to access one of the lists in the object. $....->item($i) .
I'm not sure whether it's a special syntax instead of item[$i] or those
item()s are really functions.

So things are getting better :)
However, my next blocking point is something called a factory. It is a
property of my COM object that is itself an ever-existing instance of a
class containing other objects. I think it is instanciated automatically
by the COM server when I create the object.

Everytime I put its name in my code ( $a =$obj->Factory; nothing more ),
Apache bombs with no explanation.

I have put the memory limit for PHP to 128M just to see but it doesnt
change anything.

Oh there's something I just realized.

This "factory" object is an instance of a class called Factory. But the
doc also makes mention of something called an interface (IFactory) who has
the same methods/Properties of the class. When I do a com_print_typeinfo
on the Factory, I get almost nothing :
class Factory { /* GUID={F4E856D4-FCD7-11D4-9D8A-0001029DEAF5} */
}When I do it on the interface, I get all my object's properties.

There HAS to be a difference :)
a difference, yes. something that will make your code quit bombing and still
get the Factory functionality...probably not. all an interface (IFactory in
this case) is, is a contract...a definition of what *all usable* objects
that *implement* that interface will provide a caller, i.e. your php code.
make sense? IFactory will provide you no other functionality than that.
here's an example in vb.

public interface iFactory
public property foo as integer
end interface

public class sawMill
implements iFactory
public property get foo() implements iFactory.foo
get
return 666
end get
set (byval value as integer)
# do nothing...however, set is *required*
# because iFactory is read/write
end property
public function saw()
debug.print "sawing..."
end function
end class

public class brewery
implements iFactory
private myFoo as integer
public property get foo() implements iFactory.foo
get
return myFoo
end get
set (byval value as integer)
myFoo = value
end property
public function brew()
debug.print "brewing " & myFoo
end function
end class

in the above, both completely unrelated classes (sawMill and brewery) have
iFactory.foo as part of their definition. how they implement them is
different, but each must have a read and write foo.

if i simply say:

private myFactory as iFactory

and then try:

myFactory.foo()

it will do nothing. myFactory is an interface that has no working parts.
however, if i do:

private myFactory as iFactory = new brewery
myFactory.foo = 15

i'll get somewhere. notice that the above works whether or not i set
myFactory to new brewery OR sawMill. both have a foo interface. however, if
i continue the above code with:

myFactory.saw()

it'll blow up. both saw and brew are specific interfaces defined by each
class respectively...not by iFactory. let's say that myFactory is set
somewhere unbeknownst to me, how would i take specific action?

public function factoryToString(byval factory as iFactory, byval fooValue as
integer)
factory.foo = fooValue
if typeof factory is sawMill then
factory.saw()
end if
if typeof factory is brewery then
factory.brew()
end if
end function

anyway...i think i got off track, but does that help you know that you're
going to have to get at an actual Factory object in the list...which doesn't
solve your memory problem?
Nov 14 '07 #13
"Steve" <no****@example.comwrote in message
news:mK************@newsfe02.lga...
a difference, yes. something that will make your code quit bombing and
still get the Factory functionality...probably not. all an interface
(IFactory in this case) is, is a contract...a definition of what *all
usable* objects that *implement* that interface will provide a caller,
i.e. your php code. make sense? IFactory will provide you no other
functionality than that. here's an example in vb.
OK it's like a class from which another inherits, then ?

(snip the example)
anyway...i think i got off track, but does that help you know that you're
going to have to get at an actual Factory object in the list...which
doesn't solve your memory problem?
Yes, that's very helpful. But it raises a question in PHP. Can I assume that
COM tells PHP what type the objects in a class (or Interface) are ? I don't
have to explicitely instanciate or cast the objects that are childs of a COM
object ?

Now, I tried different values for memory_limit in php.ini and it doesnt
change anything. I had a closer look at the memory usage, and Apache also
takes almost 50M on a working page. So I'm not really sure it's a memory
problem.

Actually, the COM syntax is not really complicated. So I'm beginning to
think of a bug (in the object or PHP).

I'm considering trying a newer version of PHP. But I fear the impacts.

Thank you very much again, things are getting clearer :)
--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org
Nov 15 '07 #14
Steve, thanks for your awesome exposition on VB interfaces, replete
with example. This type of post is all too rare on the web.

Csaba

On Nov 14, 8:10 pm, "Steve" <no....@example.comwrote:
"Alex" <d_key...@hotmail.comwrote in message
....
a difference, yes. something that will make your code quit bombing and still
get the Factory functionality...probably not. all an interface (IFactory in
this case) is, is a contract...a definition of what *all usable* objects
that *implement* that interface will provide a caller, i.e. your php code.
make sense? IFactory will provide you no other functionality than that.
here's an example in vb.

public interface iFactory
public property foo as integer
end interface

public class sawMill
implements iFactory
public property get foo() implements iFactory.foo
get
return 666
end get
set (byval value as integer)
# do nothing...however, set is *required*
# because iFactory is read/write
end property
public function saw()
debug.print "sawing..."
end function
end class

public class brewery
implements iFactory
private myFoo as integer
public property get foo() implements iFactory.foo
get
return myFoo
end get
set (byval value as integer)
myFoo = value
end property
public function brew()
debug.print "brewing " & myFoo
end function
end class

in the above, both completely unrelated classes (sawMill and brewery) have
iFactory.foo as part of their definition. how they implement them is
different, but each must have a read and write foo.

if i simply say:

private myFactory as iFactory

and then try:

myFactory.foo()

it will do nothing. myFactory is an interface that has no working parts.
however, if i do:

private myFactory as iFactory = new brewery
myFactory.foo = 15

i'll get somewhere. notice that the above works whether or not i set
myFactory to new brewery OR sawMill. both have a foo interface. however, if
i continue the above code with:

myFactory.saw()

it'll blow up. both saw and brew are specific interfaces defined by each
class respectively...not by iFactory. let's say that myFactory is set
somewhere unbeknownst to me, how would i take specific action?

public function factoryToString(byval factory as iFactory, byval fooValue as
integer)
factory.foo = fooValue
if typeof factory is sawMill then
factory.saw()
end if
if typeof factory is brewery then
factory.brew()
end if
end function

anyway...i think i got off track, but does that help you know that you're
going to have to get at an actual Factory object in the list...which doesn't
solve your memory problem?
Nov 15 '07 #15

"Alex" <d_******@hotmail.comwrote in message
news:47***********************@news.free.fr...
"Steve" <no****@example.comwrote in message
news:mK************@newsfe02.lga...
>a difference, yes. something that will make your code quit bombing and
still get the Factory functionality...probably not. all an interface
(IFactory in this case) is, is a contract...a definition of what *all
usable* objects that *implement* that interface will provide a caller,
i.e. your php code. make sense? IFactory will provide you no other
functionality than that. here's an example in vb.

OK it's like a class from which another inherits, then ?
kind of. the difference being that there is no functionality given to a
class that implements an interface (ifactory). if i inherit from a class in
the traditional sense, whatever functionality is present in the parent class
will be part of the inheriting class...the inheriting class can add more
interfaces (functions, properties, etc.) or rewrite/override/shadow the
parent class' interfaces (functions, properties, etc.)

other than that, yes, they're pretty similar.
(snip the example)
>anyway...i think i got off track, but does that help you know that you're
going to have to get at an actual Factory object in the list...which
doesn't solve your memory problem?

Yes, that's very helpful. But it raises a question in PHP. Can I assume
that COM tells PHP what type the objects in a class (or Interface) are ? I
don't have to explicitely instanciate or cast the objects that are childs
of a COM object ?
can you assume? no, not really. while COM defines everything about itself
and makes that information know to any callers, php doesn't need to know any
of it. php basically 'invokes' on a com object whatever you tell it to
attempt. it doesn't need to know about sawMill.foo, it simply attempts to
invoke 'foo' on the sawMill object. php only needs to handle errors thrown
from the invocation or supply the results thereof back to the caller.
Now, I tried different values for memory_limit in php.ini and it doesnt
change anything. I had a closer look at the memory usage, and Apache also
takes almost 50M on a working page. So I'm not really sure it's a memory
problem.
hmmm. glad i see in another post that you've got it figured out. i'd have
focused on memory a while longer...and have gotten no where.
Actually, the COM syntax is not really complicated. So I'm beginning to
think of a bug (in the object or PHP).
really? there are only a few ways to call things. what's puzzling you?
I'm considering trying a newer version of PHP. But I fear the impacts.

Thank you very much again, things are getting clearer :)

cheers
Nov 15 '07 #16

"Csaba Gabor" <da*****@gmail.comwrote in message
news:89**********************************@l1g2000h sa.googlegroups.com...
Steve, thanks for your awesome exposition on VB interfaces, replete
with example. This type of post is all too rare on the web.

Csaba
wow! thanks. i'm glad it helped.

cheers.
On Nov 14, 8:10 pm, "Steve" <no....@example.comwrote:
>"Alex" <d_key...@hotmail.comwrote in message
...
>a difference, yes. something that will make your code quit bombing and
still
get the Factory functionality...probably not. all an interface (IFactory
in
this case) is, is a contract...a definition of what *all usable* objects
that *implement* that interface will provide a caller, i.e. your php
code.
make sense? IFactory will provide you no other functionality than that.
here's an example in vb.

public interface iFactory
public property foo as integer
end interface

public class sawMill
implements iFactory
public property get foo() implements iFactory.foo
get
return 666
end get
set (byval value as integer)
# do nothing...however, set is *required*
# because iFactory is read/write
end property
public function saw()
debug.print "sawing..."
end function
end class

public class brewery
implements iFactory
private myFoo as integer
public property get foo() implements iFactory.foo
get
return myFoo
end get
set (byval value as integer)
myFoo = value
end property
public function brew()
debug.print "brewing " & myFoo
end function
end class

in the above, both completely unrelated classes (sawMill and brewery)
have
iFactory.foo as part of their definition. how they implement them is
different, but each must have a read and write foo.

if i simply say:

private myFactory as iFactory

and then try:

myFactory.foo()

it will do nothing. myFactory is an interface that has no working parts.
however, if i do:

private myFactory as iFactory = new brewery
myFactory.foo = 15

i'll get somewhere. notice that the above works whether or not i set
myFactory to new brewery OR sawMill. both have a foo interface. however,
if
i continue the above code with:

myFactory.saw()

it'll blow up. both saw and brew are specific interfaces defined by each
class respectively...not by iFactory. let's say that myFactory is set
somewhere unbeknownst to me, how would i take specific action?

public function factoryToString(byval factory as iFactory, byval fooValue
as
integer)
factory.foo = fooValue
if typeof factory is sawMill then
factory.saw()
end if
if typeof factory is brewery then
factory.brew()
end if
end function

anyway...i think i got off track, but does that help you know that you're
going to have to get at an actual Factory object in the list...which
doesn't
solve your memory problem?

Nov 15 '07 #17

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

Similar topics

1
by: Bijay Kumar | last post by:
Hi Guys, I was going through the source code of Object.cs in rotor. What I found is Equals() implemented as follows: public extern virtual bool Equals(Object obj); What I don't...
28
by: Daniel | last post by:
Hello =) I have an object which contains a method that should execute every x ms. I can use setInterval inside the object construct like this - self.setInterval('ObjectName.methodName()',...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
44
by: Steven T. Hatton | last post by:
This may seem like such a simple question, I should be embarrassed to ask it. The FAQ says an object is "A region of storage with associated semantics." OK, what exactly is meant by "associated...
16
by: sneill | last post by:
How is it possible to take the value of a variable (in this case, MODE_CREATE, MODE_UPDATE, etc) and use that as an object property name? In the following example I want 'oIcon' object to have...
0
by: Bijay Kumar | last post by:
Hi Guys, I was going through the source code of Object class (Object.cs in rotor). What I found is Equals() implemented as follows: public extern virtual bool Equals(Object obj); What...
26
by: yb | last post by:
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...
3
by: User1014 | last post by:
A global variable is really just a property of the "Global Object", so what does that make a function defined in the global context? A method of the Global Object? ...
2
by: Ralph | last post by:
Hi I don't understand why it's not working: function schedule(imTop){ this.tdImagesTop = imTop; } schedule.prototype.selectEl = function() { alert(this.tdImagesTop);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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
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,...
0
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...

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.