On Wed, 2004-03-03 at 09:35, Bj�rn Eklund wrote:
> Is there a way of starting windowsprograms on the users PC from a
> Unibasic program or do I need Wintergrate or some other tool to do
> that?

this comes up often enough to be a FAQ.  i dumped some ideas in the
following page.  if anyone has additional ideas, or corrections, you can
edit the content of the page by clicking on the link at the bottom that
says "Edit text of this page".  in particular, it would be nice to list
the actual escape sequence used by wintegrate and viaduct...

http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram

Bj�rn, you may find this python program interesting - 

----
import SocketServer
import os

class UrlHandler(SocketServer.StreamRequestHandler):
    def handle(self):
        url=self.rfile.readline(512)
        os.system("start "+url)

server=SocketServer.TCPServer( ('', 79), UrlHandler)
server.serve_forever()
----

the equivalent vbscript program would be a little bigger, and isn't much
of a challenge to write, and you probably already have vbscript
installed on your clients.  there's a sample on the wiki page...

thanks
ian

-- 
Ian McGowan <[EMAIL PROTECTED]>

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to