powerbuilder window ActiveX

 html文件语法:

< html >
    
< HEAD >
        
< TITLE > PB window ActiveX </ TITLE >
    
</ HEAD >
    
< BODY >         
        
< H1 > PB window ActiveX </ H1 >
        
< P > 使用window ActiveX在浏览器中显示一个child类型窗口。 </ P >                 
        
< OBJECT  NAME ="PBRX1"  WIDTH =225  HEIGHT =83
        
CLASSID ="CLSID:88881304-8888-1000-8000-080009AC61A9" >
        
< PARAM  NAME ="_Version"  VALUE ="65536" ></ PARAM >
        
< PARAM  NAME ="_ExtentX"  VALUE ="5962" ></ PARAM >
        
< PARAM  NAME ="_ExtentY"  VALUE ="2164" ></ PARAM >
        
< PARAM  NAME ="_StockProps"  VALUE ="0" ></ PARAM >
        
< PARAM  NAME ="PBWindow"  VALUE ="w_web_test" ></ PARAM >
        
< PARAM  NAME ="LibList"  VALUE ="http://192.168.1.2:8080/crp.pbd;" ></ PARAM >
        
</ OBJECT >         
    
</ BODY >
</ HTML >

 object其他属性:CODEBASE:A URL identifying the location of the OCX or CAB file to be downloaded if the client machine does not contain the PowerBuilder window ActiveX.

param其他元素:PBAPPLICATION:The PowerBuilder Application object

                                DISPLAYERRORS:Boolean indicating whether to display execution time errors

                                COMMANDPARM :A string you want to pass to your window. To access this string from within your window, call the CommandParm function

web服务器配置:将PBD和PBRX80.ocx(标准模式)或PBRXs80.ocx(安全模式)拷贝到web站点相应目录下,根据liblist和codebase所用url而定。

browser端:注册PBRX80.ocx

IE浏览器要注意安全设置,IE6能正常使用,Netscape7不能显示,可能是没有安装NCompass ScriptActive plug-in

注意:liblist所使用的URL如果web端口不是80则要指定端口

 

                               

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值