asp中如何使用ActiveX control

huitor 2000-06-05 05:44:00
在asp中如何使用ActiveX Control?
我的想法是,asp中无法使用ActiveX Control,因为ActiveX Control需要容器,嵌入到主页上自然可以使用,因为浏览器就是容器。但在asp中,iis如何提供容器呢?请大虾指点,上述看法是否正确?
...全文
126 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
cjlong 2000-06-09
  • 打赏
  • 举报
回复
我的经验:
先使用pad编写含activex的htm,
然后用vb编一小程序,将《body》中的每一行替换成responre.write("行内容")
再改成asp页
2、你不能先建sheet,要先建工作簿
WHQ 2000-06-07
  • 打赏
  • 举报
回复
概念错误:ASP只是一个包含了在服务器端运行的脚本代码的文件,它的功能就是产生一个静态的HTML传递到客户端以供显示,你自然也可以产生一个含有ACTIVEX控件的HTML
huitor 2000-06-07
  • 打赏
  • 举报
回复
如下代码来自msdn,运行没有问题。但问题是Excel类库里并没有Excel.Sheet,请问这是怎么回事?

Dim ExcelSheet
Set ExcelSheet = CreateObject("Excel.Sheet")

'上述代码启动创建对象(在此实例中,是 Microsoft Excel 电子表格)的应用程序。对象创建后,就可以在代码中使用定义的对象变量引用此对象。在下面的示例中,可使用对象变量、ExcelSheet 和其他 Excel 对象,包括 Application 对象和 Cells 集合访问新对象的属性和方法。例如:
' 通过 Application 对象使 Excel 可见。
ExcelSheet.Application.Visible = True
' 在工作表的第一个单元中放置文本。
ExcelSheet. ActiveSheet.Cells(1,1).Value = "这是 A 列第一行"
' 保存工作表。
ExcelSheet.SaveAs "C:\DOCS\TEST.XLS"
' 在 Application 对象中使用 Quit 方法退出 Excel。
ExcelSheet.Application.Quit
' 释放对象变量。
Set ExcelSheet = Nothing

王释之 2000-06-05
  • 打赏
  • 举报
回复
当然能用,用visual interdev编写asp时,
不是用到横多空间.
=========================================== TeeChart Pro Activex Control v5 Copyright (c) 1997-2002 by David Berneda and Marc Meumann All Rights Reserved. http://www.steema.com email: info@steema.com supportx@steema.com =========================================== July 2002 TeeChart Pro Activex Control v5 v5.0.4.0 Release notes: ===================================== For information about differences and use of TeeChart Pro ActiveX v5 with respect to TeeChart Pro ActiveX v4 please refer to the 'Upgrading from TeeChart v4.doc' document accessible via the TeeChart Program Manager group. =========================================== Changes for this release: ------------------------- Bugs resolved: 1. Print Preview from TeeCommander for multi-page Charts in v5.0.3.x functioned incorrectly. Now resolved. 2. ZoomPen definition failed to save in tee files. Now resolved. 3. Integer overflow error reported after multiple zooms. Now resolved. 4. The property 'Controls' in TeeCommander coincides with a protected word in VBA. To permit access to this functionality in VBA the method has been duplicated with name 'Buttons'. 5. Omission in previous releases, the OffsetValues ValueList for Bar3D Series is accessible by code for this release. 6. Omission in previous releases, MACD function has new Period3 property. 7. Visual Studio.NET doesn't support the passing as Interface of the Chart to the TeePreviewPanel AddChart method. A substitute AddChartLink has been added for this release to accept ChartLink. 8. The keyword 'Months' as a database field name was incompatible with prior translation system for non-english language versions' db access via the Editor. Now resolved. 9. TeePolar/Radar Series problem when labelling datasets of 13, 19, 25, etc. values. Internal rounding error resolved. 10.Help button on Chart Editor not functioning. Now resolved. New features: 1.
1,01.zipActiveX script hostingActiceX script主机程序(20KB)2,02.zipActiveX Control TutorialActiveX控件指南(11KB)3,03.zipAn ASP Component to Send Arbitary Large File from Server to Client一个服务器端的组件用于从服务器传送文件到客户机(6KB)4,04.zipAsynchronous Pluggable Protocol异步可插的协议(9KB)5,05.zipATL Coding HelpersATL编码助手(5KB)6,06.zipConverting the CONNECT sample to a local server在本地服务器实现连接的例子(6KB)7,07.zipAn ATL project to run PING and TRACERT一个运行PING和TRACERT的ATL应用例子(86KB)8,08.zipMicrosoft Script Control如何使用Script控制(6KB)09,09.zipImplementing Active Script Site with ATL用ATL实现Active script站点(10KB)10,10.zipATL Client Application Tutorial这个指南教你如何用ATL实现客户端的应用程序(8KB)11,11.zipHow does _ATL_DEBUG_INTERFACES work?有关ATL调试的话题(8KB)12,12.zipCOlePropertyPage in ATL server在ATL服务程序实现属性页的类--COlePropertyPage(8KB)13,13.zipProperty Pages for ActiveX Controls使用ActiveX控件实现的属性页(11KB)14,14.zipAn ATL Project to View Type Library Information一个查看类型库信息的ATL应用程序(5KB)15,15.zipUsing ATL to Automate a MFC Application使用ATL自动化一个MFC应用程序(14KB)16,16.zipProgramming Active Document ContainersActive文档容器的编程例子(8KB)17,17.zipHandling Interdependent Objects in Automation一个银行记数服务系统的实现(6KB)18,18.zipA BSTR wrapper-class with string manipulation members一个串处理的类--CBstr(7KB)19,19.zipDisplaying System Interfaces in ClassView在ClassView显示系统界面(4KB)20,20.zipDialog frame as an ActiveX control一个ActiveX控件实现对话框的功能(5KB)21,21.zipData Source ActiveX control for DAO一个用于DAO的ActiveX控件(6KB)22,22.zipA Control for Displaying Animated GIF Images显示动画GIF的控件和例子(5KB)23,23.zipReusing Internet Explorer 4.0 Technolgies in VC++(1)在VC++自动化IE. 在VC++ 5.0必须安装Internet Client SDK(8KB)24,24.zip

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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