
QUESTION: Deploying an ActiveX Control on a Web Page
Ok, here is some more detail....
The path for the image will be set in client side script, so the
grahpic/images will need to be downloaded to the client's PC, since
initially they only exist on the server. (I can't write server side script
to do this since you can't refer to the <OBJECT> since it doesn't exist
yet). So I was thinking the graphics could be downloaded as part of the CAB
file for the OCX.
But in order to set the path, I need to know the path which they were
downloaded to. And since it can vary on different PCs, different Operating
Systems, etc... I will need to have a way to determine where the files were
download to.
I don't want to be able to modify any of these images, or change anything on
the client PC, just determine the path where they exist so I can set this
property in the client side script.
Thanks!
Debbie Cruz
Quote:
> I think, Debbie, we are talking about sandboxing issues and the activex
> control will go into the user's internet cache. Then, when it installs,
it
> may go into the directory 'Downloaded Program Files' under the Winnt or
> Windows directory depending.
> Is the path set from script in the client page to the graphic? Is the
> graphic on the client's machine already, or is it on the server? There
are
> multiple alternatives depending on the answer, but they may not be easy.
> Let me know, if I can help, but I need to know a little more.
> J. Huffer
> http://www.techno-babble.com
> > When you include an ActiveX control on a web page, that gets downloaded
> when
> > the user visits the site, is there anyway in VBScript (or JavaScript) to
> > determine where this file was downloaded to on the client PC?
> > The reason I need to do this is that I'm using a control (ProtoView's
> > InterAct Diagrmming tool) where I need to set the path for a graphic to
be
> > displayed. And I can't use a URL, it must be an actual path on the pc.
> And
> > since the code to populate the ActiveX control is writen on the client
> side
> > I can't refer to server path either.
> > Any help is appreciated.
> > Thanks!
> > Debbie