on 2007 Jun 20 6:28 PM
Is there a way to open other programs (say VB based .exe file) from xMII screen. I mean could we provide a link in xMII to execute a .bat or .exe program? Any idea would be greatly appreciated...
My requirement here is to have links to various programs in the xMII screen. If the user has to open another application, he would then click one of these links to open and run the program. Thanks...
Request clarification before answering.
Jeremy,
You said - "The assumption from that point would be that the location to the .bat or .exe file is fully pathed or included in the system path somehow, and this would also be entirely dependent upon the client having the associated application locally."
To confirm my understanding - Even if I were to give the full path of the .exe file (exisiting on some system) in the xMII link, the application still needs to reside on the client machine from which xMII link accessed? Pls. confirm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes - I meant that in order for a client computer to launch an application .bat or .exe file it would have to be either installed locally on the client computer or on a network share that the user had access to.
To Sasaha's point - the browser security is quite strict, but maybe with VBScript you could get this to work like the link in Abesh's post.
Yeah, we tried this at a customer site for similar reasons.
Good luck with it. >:*)
In IE's location bar, of course an address with http:// will navigate to the web page. And if you type in an MVC path in the location bar, it will open the folder or application (kind of dynamically switches from IE to Windows Explorer). However, in the content window of the browser, this automatic switching WILL NOT happen.
The best you'll be able to do is put the application in the a web-accessible directory and hope the user's have access to the file and that the browser is able to open it.
Perhaps rewriting this server application in xMII is a good project.?
It's kind of like in chemistry class when the teacher says "Practice safe chemistry: don't mix your solutions with mine" - Keep web applications, web applications and keep desktop applications, desktop applications...
... or sooner or later something will blow up.
Srinivasan,
Any hyperlink (at least one that doesn't look like an activex control or security breach to Internet Explorer) that you put into an html page should be 'clickable' by the user. The assumption from that point would be that the location to the .bat or .exe file is fully pathed or included in the system path somehow, and this would also be entirely dependent upon the client having the associated application locally.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
I'm not too up-to-date on IE's security model, but I quickly tried a very simple HTML page:
<html>
<head><title>test page </title></head>
<body>
<a href="file:///C:/WINDOWS/NOTEPAD.EXE">Try me!</a>
</body>
</html>This works when I open the file from my local file system (not via IIS). However, when I access the file on a remote server via IE, nothing happens when I click on the link.
How did you think this could be done?
Sascha
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.