win7以上系统安装vb6的解决办法 附上个批处理。
番茄系统家园 · 2021-08-26 01:10:22
一、安装时显示不能在系统注册数据库中注册
在C盘查找,改名为-即可,dll冲突了。
二、WIN7安装VB6提示错误的解决办法:
发现是文件参数错误,办法:
1、不要把VB6放在带有空格的目录!!!
2.打开,把"acme="改为"=\acmsetup.exe";
3.STF=setup\vb98ent.stf改为=setup\acmsetup.stf,保存退出;
4.进入setup文件夹,把vb98ent.stf改名为acmsetup.stf;
5.把vb6.0\SETUP下的所有文件复制到vb6.0,目录下,会提示有个文件是否要替换,我是选择了替换。
6.运行setup.exe即可。
或者,直接用这个批处理:
安装VB6批处理文件(请拷贝到VB6所在的目录双击运行).bat
@echooff
cd/d%~dp0
ren"C:\ProgramFiles(x86)\CommonFiles\System\OleDB\oledb32r.dll"oledb32r-2.dll
ren"C:\ProgramFiles\CommonFiles\System\OleDB\oledb32r.dll"oledb32r-2.dll
echon|copy/-y%~dp0setup\VB98ENT.STF%~dp0setup\acmsetup.stf
echon|copy/-y%~dp0setup\*.*%~dp0
rem替换setupwiz.ini中的错误参数:
@echooffsetlocalenabledelayedexpansion
delnew_1.txt
for/f"tokens=*"%%iin(SETUPWIZ.INI)do(
if"%%i"==""(echo.)else(set"line=%%i"call:chg)
)new_1.txt
attrib-s-h-r%~dp0setupwiz.ini
movenew_1.txtsetupwiz.ini
startsetup.exe
exit
:chg
rem这个是保留空行
set"line=!line:acmboot.exe=acmsetup.exe!"
set"line=!line:vb98ent.stf=acmsetup.stf!"
echo!line!
goto:eof
三、win8.1WIN1064位装vb6.0卡在装程序正在更新您的系统
1、安装时提示是否用VisualSourceSafe,要选择否。
2、自定义安装,接着选择“数据访问”,再点击2次“更改选项”,把ADO和RDS前面的勾去掉即可。