Hi Dian and idarke,
Thanks for your prompt replies. Actually I've found what was wrong and it was much more due to the fact I'm used to developping in C++ and wanted to implement things like in C++ .... One problem is now solved and I have to read tutorials now to be able to manage graphical...
Hi all,
I've to modify an existing Java application and I'm a bit lost ...
Actually one public class manages 2 tables and one of its methods calls the constructor of another public class and passes those tables as parameters.
The constructor of this second public class does several things and...
Thanks a million theniteowl, BabyJeffy and tsuji for your very kind help ! You're simply the best !!!
As for security, I'm perfectly aware it isn't the best solution (to keep a .html and to avoid getting the message "an ActiveX component can't create an object", I had to change my internet...
Oups ... a bad copy/paste that I haven't noticed myself ... thanks tsuji !
still an error msg, but an incredible one: "can't find the specified file" ! if I open a DOS window and enter the complete path of the application followed by the parameter, it works ...
investigating ...
Actually, when I create an HTML test page as below:
<HTML>
<HEAD>
<SCRIPT LANGUAGE=javascript>
function Click(param1)
{
var ws = new ActiveXObject("WScript.Shell");
ws.run("file:///D:\myFolder\myApp.exe",param1);
return;
}
</SCRIPT>
</HEAD>
<BODY>
...
<a href="#"...
The feature 'click to call' or 'click to dial' seems to be very famous nowadays and the company would like to implement it on its intranet. All users have already a multimedia application installed on their computers, allowing them to have voice and multimedia calls. Now a click-to-call from the...
Thx Jeff and Dan for your very prompt answers !
I've just tried with %20 or a space, and it doesn't work better ...
Dan, when you mentioned "Windows Shell Control", did you think about creating a function in javascript like:
function Click(param1)
{
var ws = new ActiveXObject("WScript.Shell")...
Had to move to another project ... but back now to the one needing to run a .exe !
Well, to better explain why I need to pass parameters: depending on the web page (of the intranet of course) one user is looking at and click on, one parameter is different.
So, I've tried to call one .bat file...
Thanks Dan for this useful tip ! I've just asked the customer and the answer is: 'a signed ActiveX might be acceptable'. I keep my fingers crossed this solution will be really approved.
cbweb2
Hi all,
I've to develop a small software (C++) which will be loaded on several computers inside a company. This development is only one part of the project. The 2nd part is: launching this software (with one parameter) from the company's intranet: the user (having a computer with my software)...
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.