
June 14th, 2000, 02:23 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : Mayank Vaish (mayank@mssl.motherson.com)</b></i><br />Hello Senthil<br /><br />Its not necessary that ocx should be in System Path. But you can try this one. You have to make CAB files from PD kit and give the path of the cab file in Codebase tag. i am giving the sample.<br /><br />Cab file will auto uncompress itself and register the ocx on client machine, you don't have to do anything. but for that the browser security settings has to COUSTOMIZE, because the ocx is not signed and may be not from trusted source.<br /><br />the exmpale is as follows.<br />1.<br /><object classid="clsid:8D55E65E-FE01-11D0-9AF5-00805FD9AB07"<br />codebase="qfnlink.ocx#Version=1,0,0,11" <br />id="QFNLink" width="55" height="22" align="center" hspace="0" vspace="0"><br /></object><br /><br />2.<br /><OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"<br /> width="600" height="500" align="baseline"<br /> codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0"><br /><PARAM NAME="code" VALUE="ColorBoxes2.class"><br /><PARAM NAME="codebase" VALUE="."><br /><PARAM NAME="type" VALUE="application/x-java-applet;version=1.2.2"><br /><COMMENT><br /> <EMBED type="application/x-java-applet;version=1.2.2" <br /> width="600" height="500" align="baseline" <br /> code="ColorBoxes2.class" <br /> codebase="."<br /> pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"><br /> <NOEMBED><br /> </COMMENT><br /> No Java 2 support for APPLET!!<br /> </NOEMBED></EMBED><br /></OBJECT><br /><br />Well What type of ocx you have made if it is some generalized one then you can share it with me.<br /><br />Mayank<br /><br /><br /><br /><br />------------<br />Malathi at 6/13/2000 2:08:01 AM<br /><br />Hai Mayank,<br /><br />I'm able to see the ocx on the browser & access the name, width, height props.<br /><br />Its an ocx. ocx needn't reside on the web server. <br /><br />We need the ocx on the client alone. Registry entries (clsid) are in my local client m/c. ocx lies on the network as compiled frm vb6. I have access to that path.<br /><br />A quick question ...<br />Should I have the ocx in system path?<br />Should I create a PD kit & deploy the ocx? If so, for amy minor modi, should I repeat the process?<br /><br /><br />------------<br /> at 6/13/2000 1:56:27 AM<br /><br />Hello Senthil<br /><br />May be you haven't registered the DLL on the machine where web server is, with REGSVR32 utility.<br /><br />Mayank<br /><br />------------<br />Malathi at 6/13/2000 1:09:22 AM<br /><br />I have an activex ctrl developed in vb6. <br />A mthd that works with vb6 front end doesn't work on the web. 'Obj doesn't support this property or mthd' err comes up. Any hlp?<br />Thanks in advance.<br /><br />S.Malathi<br />
|