|
Posted by Chris Lieb on 11/29/05 17:25
Chris Lieb wrote:
> Hi,
>
> I am trying to embed an ActiveX control that handles barcode scanner
> input in a HTML page. It works fine on the computer that I developed
> the control on since VB automatically registers ActiveX controls when
> it builds them. However, when I try to open the page on another
> computer, instead of the control, I get a standard IE placeholder.
> Here is the code that I am using:
>
> <object
> name="barcodeTest"
> classid="clsid:C9575896-B228-4B1C-A854-6B0DA7F9BFD9"
> codebase="http://ilhodsvr02b6/development/phh5cjl/apps/inventory/activex/barcodegetter.cab"
> standby="Loading..."
> type="application/x-oleobject"
> width="350"
> height="25">
> <param name="value" value="param" />
> </object>
>
> The path in the codebase is correct because I tried copying and pasting
> it into a browser and it tried to download it. I am assuming that the
> CLSID is correct because the control displays properly on my
> development machine. I tried setting the codebase to point to the OCX
> and also appending a #version=1,0,0,0 to both the CAB and OCX paths
> (the file is version 1.0.0.0), but this caused no change.
>
> Does anyone know what is going on? This is really bugging me since it
> looks like everything is correct and inline with many examples that I
> have found on the web.
>
> You help is much appreciated
>
> Chris Lieb
After testing on yet another machine, I realized that I was not
distributing all of the DLLs required to run my ActiveX control. I
have now used the VB6 Package and Deployment Wizard to make sure that
all of the run-time dependancies for my ActiveX control are included in
the CAB that I have on the web server. The wizard also generates a
bare-bones HTML page that gives an object tag for the control. This
page works on my computer, but just gives me a placeholder on the other
computers that I have tested it on. All I can say is that I am only
becoming more stumped as time goes by.
Chris Lieb
Navigation:
[Reply to this message]
|