PDA

Click to See Complete Forum and Search --> : executing an .exe file on ASP


hellraiser24
Sep 23rd, 2000, 03:03 PM
I have an ASP page which incorporates
many components from a software called
webPLAN. All these components reside on
RAM. Since this program is a memory hug,
I want to calculate the percentage of used and free RAM on the server and display it on the client machine. I have
the VB code for calculating those stuff but I don't know how to display it as an HTML page on client's machine.
Any help is greatly appreciated.

Thanks in advance.

monte96
Sep 23rd, 2000, 04:49 PM
compile the VB code as an ActiveX dll and register it on the server then call it from your ASP page.

asad_s23
Sep 27th, 2000, 11:42 AM
Dear!
if u have the trick as to how to calculate all these stuffs,
then simply create an ActiveX DLL,use private functions
to calculate all the necessary information.
use public functions as class methods.
and expose the results as the properties of the class.

use the asp Server.CreateObject("") to create an instance of the component. and call the appropriate method and get the result from the properties(calculated internally).
It will solve ur problem.