Click to See Complete Forum and Search --> : Invoking excel .XLM macro from Javascript


anindyab
12-30-2003, 10:26 AM
Hi,
We are currently converting a VB application to a web based one. The following are the requirements:

1. The application should create a flat file in the temp directory of the PC.

2. Next, the application should invoke an excel macro (.XLM file), which will run on the file created in step #1 above.

My question is:
Whether these things are possible from the Javascript? If not, is there any other means by which it can be possible?

Waiting for reply from you guys ...

Regards,
Anindya

olerag
12-30-2003, 01:29 PM
1. No file I/O with JS.
2. I'm not a Visual Basic person so I don't know if it has the
capability to perform client/server web capabilities nor if you
even require it.

A conventional client/server web-based applet is written in
Java and the server-side work (file I/O - database access)
can be handled with Java RMI. This would be one approach
but doesn't really count as a solution as you'd be scrapping
most if not all of your existing application.

Another, and possibly easier approach, would be to use
servlets. This gets away from your application look-n-feel
as your browser represents your GUI. In this manner, your
server will be creating your HTML and processing any file I/O
requirements.

Others may have better/more useful information.