Re: Launching an .exe on intranet

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 08/27/04


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
>
>


Relevant Pages

  • Re: Launching an .exe on intranet
    ... wanted to run an executable on the client-side within a browser. ... intact while adding a few asp pages with the scripting code. ... excel file launched withing the browser. ... An Intranet is a network. ...
    (microsoft.public.frontpage.programming)
  • Re: Cannot send mail in Office
    ... Are you opening the Excel file from a link on an intranet page at work? ... Dim iConf As Object ... However you are not using the Outlook Object model to send the email, ...
    (microsoft.public.excel.programming)
  • Re: hyperlink to open an Excel Template as an xls file
    ... it only downloads a COPY of hte document. ... download an Excel file, you might as well link to an Excel document that was ... have a new empty Excel document formatted as the template was). ... A browser is a one-way client. ...
    (microsoft.public.frontpage.programming)
  • Re: stream Excel to browser- Framework 2.0
    ... No, it's not that it is displayed in an excel application, when the excel ... app opens in IE Browser, ... the text is shows in HTML format, instead of the actual text that should ... How to automate Microsoft Excel from Microsoft Visual C# .NET ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: web query with Workbooks.Open("http:// .....
    ... access the browser text from EXCEL ... I added a loop delay of about 10 seconds to avoid "issues" ... excel book which indicates that the server stopped me. ...
    (microsoft.public.excel.programming)