Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

npNewStream Error loading tcl in html

Status
Not open for further replies.

TRLperformance

Programmer
Jun 25, 2002
2
GB
I've written a few stand alone Tcl scripts which work fine but now I want to load them to my web server and allow others to run the same program.

I tried to start simple and embed a simple "hello world" button, but whatever I do I get the following error message.


npNewStream
in NewStream: invalid url "file//:C:\USERS\test.tcl": non numeric port \USERS\test.tcl

test.tcl only contains
button .b -text "Hello, world!"
pack .b

and I have a test.html file which loads the tclk script with
<embed src=test.tcl width=140 height=30>

So what am I doing wrong?

I can get others code to run from the web (example from the Scriptics site) but nothing I write myself. I know the TCL code works and I think I've done something really silly in the html file to <embed> the code?

Can anyone help me.

Thanks
Pete

 
I should also have said I'm running version 2.0 of the tcl/tk plugin and in Microsoft Explorer under Windows NT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top