Is there a way to invoke a local program in JSP?
for example, to add a button to a jsp page, and when the user press the button the windows calculator app will be opened.
Thanks
You launch a java program from a console (maybe using a .bat script).
I don't want the console to remain visible, I want to hide it.
Is there a simple way to do this ? Without JNI ?
Thanks.
If a program is executed for the first time in Windows 7, it automatically hides the icon. Is there any manifest setting or option to force Windows 7 to always show the icon by default?
Just a curious question but is there any programs that can help/aid you when you write PHP codes? Say there is an error in your code and using this program it would help you locate it, etc.
I might be thinking too much...
i have a really basic java program just one .java/.class file (.java uncompiled .class compiled i guess) how do i make something that i can have run on someone elses computer?
Hi,
We have discussion in my job place about question (We use 1 of the php frameworks):
Why program with php frameworks big web application if it can be done better with rubi on rails, python or java?
Please say our opinion
thanks
I want to write a plug-in which tracks the updates to a text file and stores them in a separate file.
Should I first write a simple java program which does this and then try to convert it into a plug-in?
I've created a new C++ project in Visual Studio 2008. No code has been written yet; Only project settings have been changed.
When I compile the project, I receive the following fatal error:
fatal error LNK1104: cannot open file 'C:\Program.obj'
Can I use other JVM languages besides Java (e.g. jruby, jython, clojure) to program for android, or is it java only?
There was a similar question asked over a year ago but I wasn't sure if there'd been any change since then.
Hello,
I hear 3 years ago problem and apparently have infinity solutions.
I want to find one of this infinity set.
Problem: Write program (have only one file example "selfsource.c") who printing on stdout self source code and exits.
All techniques all alowed. Anyone can help me?
When I Ctrl C my program on linux I often get output that looks similar to a stack-dump (a crash).
Can I catch the Ctrl-C signal and exit gracefully?
Thanks!
I don't really think there is some method to do this… Anyway… How can I replace one object with another everywhere in the program? It would be like all the references to an old object start to point to a new one.
Suppose I have this program, I want to compare 2 input lists. Assume array A and array B. How do I determine the best case and worst case of the function?
Here is my code in [php]:
foreach($array_1 as $k){
if(!in_array($k, $array_2)){
array_push($array_2, $k);
}
}
What is the best case and worst case of the for loop? Please include some explaination, thank you :)
Consider a situation. We have some specific C++ compiler, a specific set of compiler settings and a specific C++ program.
We compile that specific programs with that compiler and those settings two times, doing a "clean compile" each time.
Should the machine code emitted be the same (I don't mean timestamps and other bells and whistles, I mean only real code that will be executed) or is it allowed to vary from one compilation to another?
Hi,
I am new to Mac OSX, and I wonder if Xcode can generate , for a given C++ source code, the call graph of the program in a visual way.
I also wonder if for each function, and after a run, whether it can also print the %time spent on the function
If so, I would thank really some links with tutorials or info, after googling I did not find anything relevant
Thanks
Recently I opened a .dll file produced by Visual Studio 9 while compiling a native C++ DLL project and was surprised to see the "This program cannot be run in DOS mode" text near the beginning.
Why have this text in .dll files?
How can we get and handle the sftp return codes in a C program if sftp fails to put the file in a server?
We need to transfer the files again if sftp fails to put it in the sftp server.
For the iPhone, is it possible to program applications to translate words from a base language to any of several languages of various users. If so, how?
I need to create a simple Chat system like facebook chat and a twitter-like app.
What is the best concurrent program languages in this case ?
Erlang, Haskell, Scala or anything else ?
Thanks ^_^
Medicine has the term idiopathic cardiomyopathy. Cardiomyopathy means something is wrong with your heart, and idiopathic means "we have no idea why yours isn't working."
I know we have heisenbugs, bohrbugs, mandelbugs, and so on, but I feel I'm lacking one more buzzword: what's the IT cousin to idiopathic cardiomyopathy? What's an elegant word or phrase for "something unknown is wrong with this program"?
I made a prolog program posAt(List1,P,List2) that tests whether the element at position P of List1 and List2 are equal:
posAt([X|Z],1,[Y|W]) :- X=Y.
posAt([Z|X],K,[W|Y]) :- K1, Kr is K - 1, posAt(X,Kr,Y).
When testing:
?- posAt([1,2,3],X,[a,2,b]).
I expected an output of X=2 but instead I got the following error: ERROR: /2: Arguments are not sufficiently instantiated
Why am I getting this error?
Hi
How do I use mqueue (message queue) in a c program on a Linux based system?
I'm looking for some good code examples that can show how this is done in a correct and proper way, maybe a howto.
Thanks
I am making an installer in java swing it almost completed only one thing is left to do
that is to create desktop shortcut of our software.I do not want to copy software on desktop but I want to create instance of that software like other MS software. How it can be done
please help me.
I am already copied my software in c:/Program files by using copy directory and I want to create shortcut on desktop .