
Passing Values into an ActiveX DLL from ASP ??
Hi:
Thanks for the input, I'm kind of new to ASP and any help is much
appreciated!
Let me explain what I am trying to do:
I'm using the Sheridan ActiveX TreeView control on a webpage. This control
will look into a SQL Server database and load up the various nodes. Now
depending on, which node the user clicks I want to display corresponding
information on the other half of the page ( 2 frames).
I have downloaded the example from the Sheridan site, but there the nodes
are hard coded. In my application the nodes are loaded from a database. So
at run time I need to find out on which node the user has clicked, pass that
value back to a DLL which will process that, talk to the DB and return a
value or a set of values.
I have done this using ActiveX documents, but to make it lighter I'm trying
to do this using ASP's.
Any idea on how I can implement this?
TIA
Rahul
Quote:
> Go to your page and select View->Source from the menu then look at your
> code. You'll see this;
> Private Sub ReadCabinets(myVar)
> msgbox myVar
> End Sub
> There is no code to call any DLL. When you run that sub you'll display
the
> value in a message box then do nothing.
> Get a book on ASP and read the basics. Your ASP code is only ran to
> generate a static page to send to the browser. Once sent the ASP
processing
> ends and the browser has a static page. There is no ASP running inside
the
> browser. ASP is on the server, your VBScript is on the client. The only
> way to interact with the ASP page would be to submit a form with myVar and
> that form will go to an ASP page that will call the DLL function. Or you
> could use RDS straight from the client to achieve what you're trying.