Help!!!怎样让IE自动注册OCX中的OCX

PD 2000-07-19 05:13:00
我在Activeform中使用了VTChart控件,deploy后在没有注册过VTChart
的机器上访问,IE不显示Activeform。后来我在Activeform的OnCreate
事件中用程序注册vcfi32.ocx,还是不成功,请教各位,怎样才能实现
ActiveForm和vtchart同时注册?
...全文
302 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
ezhb 2001-11-21
  • 打赏
  • 举报
回复
能在JSP或静态的HTML中自动注册ActiveX控件吗?
PD 2000-07-26
  • 打赏
  • 举报
回复
Sorry,刚收到,马上给分
Michaelyfj 2000-07-26
  • 打赏
  • 举报
回复
皮冻:
你好,aspexec已经发给你了,为什么不给我加分呢!
PD 2000-07-24
  • 打赏
  • 举报
回复
我在ChinaAsp上没有找到此组件,麻烦Michaelyfj给我发一份到p_dong@263.net
再次感谢!
Michaelyfj 2000-07-23
  • 打赏
  • 举报
回复
AspExec是能在asp中执行外部应用程序,用法如下:

<html>
<head><title>ASPExec Samples (运行外部程序)</title><head>
<body bgcolor=white text=black>
<H3>ASPExec ExecuteWinAppAndWait Test</H3>
<%
Set Executor = Server.CreateObject("ASPExec.Execute")

Executor.Application = "regsvr32 vcfi32.ocx"
Executor.Parameters = ""
Executor.TimeOut = 9000
Response.Write "Attempting to execute " & Executor.Application & "<br>"

intResult = Executor.ExecuteWinAppAndWait
if intResult = 0 then
Response.Write "Execution successful"
else
Response.Write "The result of this call was: " & intResult
end if
%>

</body>
</html>
PD 2000-07-23
  • 打赏
  • 举报
回复
感谢Michaelyfj
请问AspExec是何组件,有何用途?
Michaelyfj 2000-07-23
  • 打赏
  • 举报
回复
到chinaAsp下在组件AspExec,把regsvr32 vcfi32.ocx的命令行作为aspexec的参数
执行该命令,即可自动注册.

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧