Win32 ActiveX with COM support

2006-03-20 Thread danbrwn
I am creating a web application where I access a database on a SQL
server machine from local networked PC's via Javascript and HTML.
Unfortunately, Microsoft does not allow the ado intervace to fire
events back using Javascript or VBScript. I am trying to figure out how
to notifiy each client that is connected to the server whenever the
database changes. What I think might work well is to have a client
activeX component built with Python embedded in the html page that
receives event notification from a server component embedded in an ASP
page or maybe an HTML I don't know yet. At any rate, Can I create a COM
server / client component set with Python?

-- 
http://mail.python.org/mailman/listinfo/python-list


Win32 ActiveX with COM support

2006-03-20 Thread danbrwn
I am creating a web application where I access a database on a SQL
server machine from local networked PC's via Javascript and HTML.
Unfortunately, Microsoft does not allow the ado intervace to fire
events back using Javascript or VBScript. I am trying to figure out how
to notifiy each client that is connected to the server whenever the
database changes. What I think might work well is to have a client
activeX component built with Python embedded in the html page that
receives event notification from a server component embedded in an ASP
page or maybe an HTML I don't know yet. At any rate, Can I create a COM
server / client component set with Python?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Win32 ActiveX with COM support

2006-03-20 Thread danbrwn
How would the controls run within a web browser. Would the python
interpreter automatically run after loaded into a browser? Also, the
python controls would be text files?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Win32 ActiveX with COM support

2006-03-20 Thread danbrwn
Thanks to Michel and Larry, very interesting. How about database
access. Can I create a Python component that will run in my browser and
be able to use the ADO (active data objects) activeX interfaces. I am
right now using the ADO activex with javascript but javascript and
vbscript can not subscribe to ADO events. Can the Python component
receive events from the ADO interface within the web browser.Thanks, Dan

-- 
http://mail.python.org/mailman/listinfo/python-list