如何在BCB中调试Active Form

王朝other·作者佚名  2008-06-01
宽屏版  字体: |||超大  

1. Project--Options--Compiler--点击Full Debug

2. Project--Build All Projects

3. 在需要调试的代码处加断点。

4. Project--Web Deployment Options--Directories and URLs

(1)Target dir(Full path of the deployed OCX)

填写你的OCX发布的地址,如C:\ccrun\www

(2)Target URL (Virtual path of the deployed OCX)

填写目标地址,也就是OCX的虚拟路径,如 http://192.168.0.1

(3)Html dir(Full path of the deployed HTML file)

填写HTML页面的地址,如C:\ccrun\www\

5. Projcet--Web Deoloy,生成html页面和Ocx。

6. Run--Parameters--Host Application--点击Browser找到IE

7. Run--Parameters--Parameters--填入你的Web Deploy以后产生的页面地址,如C:\ccrun\www\myocx.htm。

8. Run--Register ActiveX Server

9. ok了,Run吧。

假如您有什么意见和建议,欢迎来信讨论。info@ccrun.com

ccrun保留版权信息,强烈BS不负责任的转载者。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有