EmbeddedWb控件提示脚本错误询问是否继续怎么办?(50分)

  • 主题发起人 主题发起人 heipi2002
  • 开始时间 开始时间
H

heipi2002

Unregistered / Unconfirmed
GUEST, unregistred user!
EmbeddedWb控件提示脚本错误询问是否继续
采用如下方案无法解决:
1.IE高级选项:无脚本调试/无“显示脚本错误通知"/无"显示友好的错误信息"
2.程序中:onSriptError事件写法如下:
procedure TForm1.EmbeddedWB1ScriptError(Sender: TObject
ErrorLine,
ErrorCharacter, ErrorCode, ErrorMessage, ErrorUrl: String;
var ContinueScript, Showdialog: Boolean);
begin
ContinueScript:=true;或者showdialog:=false;都无效
end;
 
他有选项可以设置的,你不让他提示就行。
具体不记得了,太久没弄它了
 
heipi2002:
你好, 我现在也想用这个组件, 可是我用通常的方法安装后,
在组件板中竟然找不到这个组件的图标, 能告诉我你是怎么安装成功的吗?
 
to:小唐;
卸载Borland Internet包。
再直接安装就可以了,在internet页中
据说Ie6不能安装这个
 
卸载Borland Internet包。
再直接安装就可以了, 可我的却不行啊.

heipi2002, 你用的是delphi几啊?
我用的是delphi5,用Component->Install Component,然后File->open,打开那个dclusr50.dpk, install就出现下面这些提示:
[Warning] dclusr50.dpk(4): File not found: '../../../../song/embedwb116b/embeddedwb.dcr'
[Error] embeddedwb.pas(139): Undeclared identifier: 'TWebbrowser'
[Error] embeddedwb.pas(139): Class type required
[Error] embeddedwb.pas(304): Cannot override a static method
[Error] embeddedwb.pas(305): Method 'Loaded' not found in base class
[Error] embeddedwb.pas(309): Undeclared identifier: 'IWebbrowser2'
[Error] embeddedwb.pas(353): Undeclared identifier: 'QueryInterface'
[Error] embeddedwb.pas(353): Undeclared identifier: '_AddRef'
[Error] embeddedwb.pas(353): Undeclared identifier: '_Release'
[Error] embeddedwb.pas(353): Undeclared identifier: 'QueryInterface'
[Error] embeddedwb.pas(353): Undeclared identifier: '_AddRef'
[Error] embeddedwb.pas(353): Undeclared identifier: '_Release'
[Error] embeddedwb.pas(353): Undeclared identifier: 'QueryInterface'
[Error] embeddedwb.pas(353): Undeclared identifier: '_AddRef'
[Error] embeddedwb.pas(353): Undeclared identifier: '_Release'
[Error] embeddedwb.pas(353): Undeclared identifier: 'QueryInterface'
[Error] embeddedwb.pas(353): Undeclared identifier: '_AddRef'
[Error] embeddedwb.pas(353): Undeclared identifier: '_Release'
[Error] embeddedwb.pas(353): Undeclared identifier: 'QueryInterface'
[Error] embeddedwb.pas(353): Undeclared identifier: '_AddRef'
[Error] embeddedwb.pas(353): Undeclared identifier: '_Release'
[Error] embeddedwb.pas(395): Operator not applicable to this operand type
[Error] embeddedwb.pas(423): Undeclared identifier: 'ReadyState'
[Error] embeddedwb.pas(423): Undeclared identifier: 'READYSTATE_COMPLETE'
[Warning] embeddedwb.pas(423): Comparing signed and unsigned types - widened both operands
[Error] embeddedwb.pas(425): Undeclared identifier: 'document'
[Error] embeddedwb.pas(428): Operator not applicable to this operand type
[Error] embeddedwb.pas(432): Operator not applicable to this operand type
[Error] embeddedwb.pas(450): Undeclared identifier: 'ReadyState'
[Error] embeddedwb.pas(450): Undeclared identifier: 'READYSTATE_COMPLETE'
[Warning] embeddedwb.pas(450): Comparing signed and unsigned types - widened both operands
[Error] embeddedwb.pas(452): Undeclared identifier: 'document'
[Error] embeddedwb.pas(454): Operator not applicable to this operand type
[Error] embeddedwb.pas(637): Undeclared identifier: 'handle'
[Error] embeddedwb.pas(681): Undeclared identifier: 'handle'
[Error] embeddedwb.pas(794): Undeclared identifier: 'handle'
[Error] embeddedwb.pas(849): Undeclared identifier: 'Loaded'
[Error] embeddedwb.pas(855): Undeclared identifier: 'ComponentState'
[Error] embeddedwb.pas(855): Operator not applicable to this operand type
[Error] embeddedwb.pas(857): Undeclared identifier: 'WindowProc'
[Error] embeddedwb.pas(858): Not enough actual parameters
[Error] embeddedwb.pas(887): Incompatible types
[Error] embeddedwb.pas(950): Undeclared identifier: 'ComponentState'
[Error] embeddedwb.pas(950): Operator not applicable to this operand type
[Error] embeddedwb.pas(951): Undeclared identifier: 'Owner'
[Error] embeddedwb.pas(961): Undeclared identifier: 'ComponentState'
[Error] embeddedwb.pas(961): Operator not applicable to this operand type
[Error] embeddedwb.pas(1090): Undeclared identifier: 'handle'
[Error] embeddedwb.pas(1115): Operator not applicable to this operand type
[Error] embeddedwb.pas(1127): Operator not applicable to this operand type
[Error] embeddedwb.pas(1216): Undeclared identifier: 'ReadyState'
[Error] embeddedwb.pas(1216): Undeclared identifier: 'READYSTATE_COMPLETE'
[Warning] embeddedwb.pas(1216): Comparing signed and unsigned types - widened both operands
[Error] embeddedwb.pas(1218): Undeclared identifier: 'Document'
[Error] embeddedwb.pas(1253): Operator not applicable to this operand type
[Error] embeddedwb.pas(1253): ')' expected but identifier 'Document' found
[Error] embeddedwb.pas(1265): Operator not applicable to this operand type
[Error] embeddedwb.pas(1265): ')' expected but identifier 'Document' found
[Error] embeddedwb.pas(1275): Operator not applicable to this operand type
[Error] embeddedwb.pas(1275): ')' expected but identifier 'Document' found
[Error] embeddedwb.pas(1276): Undeclared identifier: 'PFile'
[Error] embeddedwb.pas(1276): Missing operator or semicolon
[Error] embeddedwb.pas(1276): Operator not applicable to this operand type
[Error] embeddedwb.pas(1277): Missing operator or semicolon
[Error] embeddedwb.pas(1277): Undeclared identifier: 'FName'
[Error] embeddedwb.pas(1282): Statement expected but 'FUNCTION' found
[Error] embeddedwb.pas(1293): Undeclared identifier: 'ReadyState'
[Error] embeddedwb.pas(1293): Undeclared identifier: 'READYSTATE_COMPLETE'
[Warning] embeddedwb.pas(1293): Comparing signed and unsigned types - widened both operands
[Error] embeddedwb.pas(1295): Undeclared identifier: 'Document'
[Error] embeddedwb.pas(1305): Undeclared identifier: 'ReadyState'
[Error] embeddedwb.pas(1305): Undeclared identifier: 'READYSTATE_COMPLETE'
[Warning] embeddedwb.pas(1305): Comparing signed and unsigned types - widened both operands
[Error] embeddedwb.pas(1307): Undeclared identifier: 'document'
[Fatal Error] embeddedwb.pas(1319): Compilation terminated
too many errors
 
我用的是Delphi7,出错提示不是你所说的,好象是有几个变量没有定义什么的
 
OK,搞定了谢谢大家
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
964
import
I
后退
顶部