Re: Launching an .exe on intranet
From: Kevin Spencer (kspencer_at_takempis.com)
Date: 08/27/04
- Next message: Mark: "If statement"
- Previous message: MK: "Launching an .exe on intranet"
- In reply to: MK: "Launching an .exe on intranet"
- Next in thread: MK: "Re: Launching an .exe on intranet"
- Reply: MK: "Re: Launching an .exe on intranet"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Aug 2004 15:29:11 -0400
Hi MK,
First, you need to understand that you are not making changes to an
Intranet. An Intranet is a network. You are making changes to a web site
that is on an Intranet. It may seem like I'm nitpicking, but understanding
what you're working with is the first step to working effectively with it.
A link to an Excel file may open in your browser if the browser recognizes
the MIME-Type of the document. Assuming that your Intranet users are using
Internet Explorer, that would be why the Excel documents open in Internet
Explorer. It has the capability of displaying Excel documents, as long as
Excel is installed on the same machine as the browser.
Note that an Excel document is NOT an executable file. It is a document, a
file in Excel format. It requires the Excel application (installed on the
client machine) to be viewed. When you open it in Internet Explorer, IE
launches an instance of the Excel application, which it hosts. Again, this
is only because IE recognizes the MIME-Type of the document and knows how to
display it.
An executable, on the other hand, is NOT a document. It is an application.
Internet Explorer cannot run applications (except for Java applets, SWFs,
and ActiveX controls). If you link to an executable, IE will prompt you as
to whether you want to Save it as a file, or open it. If you choose to open
the executable, here is what happens:
The executable file is downloaded by the browser (that's what browsers do).
It is then loaded into memory and executed. Note that the executable running
on the client is NOT the executable on the server. It is a downloaded copy
of the .exe file. If the executable has any external dependencies, such as
DLLs, config files, or anything else not on the client, it will not run. It
doesn't have a connection to the server (unless someone designed it to
connect to the server by itself).
Finally, chances are, your business requirements don't dictate that you do
this. It isn't very often that they do. If you can tell us what your
business requirements are, perhaps we can help come up with a viable
solution.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP Big things are made up of lots of little things. <MK> wrote in message news:uGnOlyFjEHA.1712@TK2MSFTNGP09.phx.gbl... > Hi. TIA to whomever replys. > > I've been asked to make programming changes to an already existing intranet > someone designed using FP. I do not have FP myself, I'm simply making the > changes directly to the html. > > I noticed that you can use a link for an Excel file that lauches it into the > browser itself instead of a stand-alone run of excel. The link looks > something like <a href="Excell,test1.xls">. (test1.xls obviously being the > XL file) > > Can something like this be done if I wanted to run a compiled VB .exe file > within the browser also? When I try running it locally via html/vbscript - > wshl.run I get the usual IE secruty warning msgs, I click YES and it > runs but as a separate process. I tried running the .exe with the 'Excell' > ref and similar things happen. > > Is there any way to do this? > > thanks > >
- Next message: Mark: "If statement"
- Previous message: MK: "Launching an .exe on intranet"
- In reply to: MK: "Launching an .exe on intranet"
- Next in thread: MK: "Re: Launching an .exe on intranet"
- Reply: MK: "Re: Launching an .exe on intranet"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|