Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Vb created Activex dll to instantiate in a sub


Message #1 by "Luca Bianchedi" <ellebi@l...> on Fri, 5 May 2000 18:51:2
From the way you worded your question, it sounds like you are trying to 
instantiate this component (server side) from a button on the page (client 
side) without submitting the page. Without creating a lot of overhead, this 
is not going to happen.

One of the wonderful things about web programming is that it is stateless. 
This means that you will have to take a trip to the server to instantiate 
your component. This can be done in a subroutine or function, but it has to 
be ASP code <% %> and not client side JavaScript or VBScript. You can do 
this via a popup window if you do not want to lose the page the user is 
on.

IF you absolutely must run code without going to another page in the 
browser, consider using either an ActiveX control or Java applet that 
submits to a page and gets the info that way.

GB

  Return to Index