Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: ocx in .cab file on web page


Message #1 by "Tom Carr" <tom@s...> on Thu, 20 Dec 2001 22:22:57
I have a web page with an activeX control (.ocx) written in VB
that I install to a client machine from a cab file with the following
HTML code:

<OBJECT id=Blue1 codeBase=blue1.CAB#version=1,2,0,8
classid=CLSID:1F52438D-C18F-42E5-B364-35DA662FE16E>

There are lots of .dlls in the .cab for this control.  It is used to set
up everything needed to run SOAP on a customers machine.

Anyway, this worked fine an hour ago. I just recompiled the .ocx and 
rebuilt the .cab file using package and deployment wizard. It all works 
fine on my development machine. There is nothing wrong with the .ocx, but 
when I use it on my test machine I get the little square with the dot in 
it, instead of the control. This happened once before when I had the wrong 
version number in the Html code where it 
says "codeBase=blue1.CAB#version=1,2,0,8".  I have double
checked version number. What else could I be doing wrong to cause this to
happen ?


  Return to Index