Well for a simple script echo doesn't seem to work (this is on Linux, which doesnt include expect)
#!/bin/sh
echo in:
read INPUT
echo out:
read OUTPUT
echo you entered $INPUT and $OUTPUT
echo "2\n4\n" doesnt work.
but printf "2\n4\n" works.
But printf doesnt work for the executable I need it...
Simple question: If my XP box has the cable modem connected through a router, is there any advantage to enabling the XP firewall?
I understand XP's firewall only protects against incoming attacks, which are already protected by the router's NAT, correct?
I wonder what I'm doing wrong?
To experiment, I created another simple web service in VSNET 1.1, and created a simple ConvertTemperature webservice (which is the simple walkthrough in the help file).
The WSDL screen enabled me to test it from there, then I simple added an extra string...
Its a string type. The WSDL works if the parameter is a byval, which can only be used to pass a value TO the webservice, but this method is used to get a value FROM the webservice, hence the param is an "out" param of type string.
I have a webservice with a method that uses "out" parameters to return data to the client.
When a client calls up the WSDL for the webservice and clicks on the method, it says "The test form is only available for methods with primitive types or arrays of primitive types as parameters."
Is...
I am calling a webservice that will return multiple integer values, so I assume the best way to do so is pass the variables by ref, right?
So I define my variables, and call the webservice...
int foo;
ret = mywebservice.mymethod( ref foo);
But I get a compilation error: "use of...
I am using table header cells to hold hyperlinks and am including mouse attributes etc like so:
<th class="subitem" onMouseover="this.className='subhover'" onMouseout="this.className='subitem'">
The subitem class contains a lot of attributes like colors, etc.
Is there a way to store...
I want to change a DHTML button when the mouse rolls over by changing the class, like so:
<div class="normalclass"
onMouseover="this.className='hoverclass'"
onMouseout="this.className='normalclass'" >Testing</div>
So my normal class has several attributes like
.normalclass
{...
On the Kim Kommando show, Kim said that latest statistics reveal that the average computer (without firewall & virus protection) gets infected within 5 minutes after being connected to the internet.
My understanding is that if you don't execute unknown executables (like email attachment), that...
How full of it can he get?
"The whole idea of the H1-B visa thing is, don't let too many smart people come into the country"
Yeah right! I sincerely hope capital hill doesn't buy into that BS. But its amazing what you can do with deep pockets.
Looks like Brother Bill is still busy trying to put American IT workers out of work.
http://www.cnn.com/2005/TECH/biztech/04/27/gates.immigrants.ap/index.html
I need to write a C# webservice containing methods that accept or return numerous parameters, and have heard that the best way to pass the parameters is to use a dataset object, but have yet to find a simple example as such.
I would very much appreciate if anyone could provide a real simple...
I know absolutely nothing about python but I found a cool python script which is a Gmail notifier for KDE under linux (at http://gmail-notify.sourceforge.net )
I want to run this on my knoppix liveCD, which is unfortunately missing some of the import libraries. Specifically, these are...
Thanks for your help. I realize this is not a perl forum and I don't know TCL althought its not the only language that binds to Tk, but I think I figured out the way to do this in perl:
$mw->protocol('WM_DELETE_WINDOW' => sub { cleanup(); exit;} );
Look good?
I'm learning perl/tk programming - what tk binding can I use to call a function that does cleanup before closing the app when clicking on the X in the upper right?
I guess this would be the equivalent of the VB unload method.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.