我觉得可能是你的调用页面的问题。 在调用页面中,至少要包括activex form的classid等信息,否则无法正常调用这个acitvex form
<HTML> <H1> Delphi 5 ActiveX Test Page </H1><p> You should see your Delphi 5 forms or controls embedded in the form below. <HR><center><P> <OBJECT classid="clsid:A31F9C03-6428-4A95-B82E-C2070F95E0C4" codebase="../shpcontrolProj1.inf" width=132 height=509 align=center hspace=0 vspace=0 > </OBJECT> </HTML> 上面的代码,连通ocx控件在一个目录下,我在本机上使用无丝毫问题,但整个copy到其他机器上,就无法使用啊,就这个很恼火~~~
在调用页面中,至少要包括activex form的classid等信息,否则无法正常调用这个acitvex form
<H1> Delphi 5 ActiveX Test Page </H1><p>
You should see your Delphi 5 forms or controls embedded in the form below.
<HR><center><P>
<OBJECT
classid="clsid:A31F9C03-6428-4A95-B82E-C2070F95E0C4"
codebase="../shpcontrolProj1.inf"
width=132
height=509
align=center
hspace=0
vspace=0
>
</OBJECT>
</HTML>
上面的代码,连通ocx控件在一个目录下,我在本机上使用无丝毫问题,但整个copy到其他机器上,就无法使用啊,就这个很恼火~~~