我的VB6是安装在d:\Microsoft Visual Studio\VB98
操作系统:win2000重新安装VB6之前的问题:
错误提示如题(A Script Engine For The Specified Language Can Not Be Created)
"部件"中
Microsoft Script Control 1.0的定位是:
c:\winnt\system32\msscript.ocx但是"工程"的"引用"里的
Microsoft Script Control 1.0的定位是:
d:\Microsoft Visual Studio\VB98\msscript.oca运行程序后就提示如题的英文.
重新安装VB6之后的问题:
错误提示如题(A Script Engine For The Specified Language Can Not Be Created)
"部件"中
Microsoft Script Control 1.0的定位是:
c:\winnt\system32\msscript.ocx但是"工程"的"引用"里的
Microsoft Script Control 1.0的定位是:
d:\Microsoft Visual Studio\VB98\vbc02851.oca运行程序后就提示如题的英文.高手指点我要怎么做,以前的程序现在打开都是这个问题
很头疼啊
操作系统:win2000重新安装VB6之前的问题:
错误提示如题(A Script Engine For The Specified Language Can Not Be Created)
"部件"中
Microsoft Script Control 1.0的定位是:
c:\winnt\system32\msscript.ocx但是"工程"的"引用"里的
Microsoft Script Control 1.0的定位是:
d:\Microsoft Visual Studio\VB98\msscript.oca运行程序后就提示如题的英文.
重新安装VB6之后的问题:
错误提示如题(A Script Engine For The Specified Language Can Not Be Created)
"部件"中
Microsoft Script Control 1.0的定位是:
c:\winnt\system32\msscript.ocx但是"工程"的"引用"里的
Microsoft Script Control 1.0的定位是:
d:\Microsoft Visual Studio\VB98\vbc02851.oca运行程序后就提示如题的英文.高手指点我要怎么做,以前的程序现在打开都是这个问题
很头疼啊
Microsoft Script Control 1.0
而不引用试试
删除 .oca 文件
重新注册 .ocx 文件
重新打开工程
1.窗体上放一个Microsoft Script Control 1.0 控件.
2.regsvr32命令注册
regsvr32c:\winnt\system32\msscript.ocx
反注册
d:\Microsoft Visual Studio\VB98\vbc0285.oca
1.窗体上放一个Microsoft Script Control 1.0 控件.
2.注册
regsvr32 regsvr32c:\winnt\system32\msscript.ocx
反注册
regsvr32/u d:\Microsoft Visual Studio\VB98\vbc0285.oca
部件里直接添加,工程里的引用就会自动添加上"D:\Microsoft Visual Studio\VB98\....."#2楼:
按照你的步骤,先关闭工程,然后删除.OCA,然后重新注册"regsvr32 c:\winnt\system32\msscript.ocx"
(我的是WIN2000系统),最后重新打开工程,"部件"里的路径没有错,就是C盘的SYSTEM32下面的msscript.ocx 但是去看"引用",路径依然是错的.这次不是"d:\Microsoft Visual Studio\VB98\vbc02851.oca " 而是:"d:\Microsoft Visual Studio\VB98\vbc19736.oca "#3楼:
反注册d:\Microsoft Visual Studio\VB98\vbc0285.oca
显示错误:LoadLibrary("d:\microsoft") failed-找不到指定模块
但是D盘上是有这个文件夹 路径一直到vbc0285.oca都有的
还有其他建议么,头疼了好几天了
2)删除 .oca 文件
3)重新注册 .ocx 文件
4)打开 VB 新建工程,添加组件 Microsoft Script Control 1.0,保存工程
5)用记事本编辑 .vbp,将类似下面的内容替换旧工程的 .vbp、.frm 内的内容
[code=INI]Object={0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}#1.0#0; msscript.ocx[/code]