zoukankan      html  css  js  c++  java
  • WIN7以上系统安装VB6的解决办法,附上个批处理。

    一、安装时显示oledb32r.dll不能在系统注册数据库中注册
    在C盘查找oledb32r.dll,改名为oledb32r-2.dll即可,dll冲突了。

    二、WIN7安装VB6提示VB98ENT.STF错误的解决办法:
    发现是 setupwiz.ini文件参数错误,办法:

    1、不要把VB6放在带有空格的目录!!!

    2.打开setupwiz.ini,把"acme=acmboot.exe"改为"=setupacmsetup.exe"; 

    3.STF=setupvb98ent.stf改为=setupacmsetup.stf, 保存退出;
    4.进入setup文件夹,把vb98ent.stf改名为acmsetup.stf;
    5.把 vb6.0SETUP 下的所有文件复制到vb6.0,目录下,会提示有个文件是否要替换,我是选择了替换。
    6.运行setup.exe即可。

     或者,直接用这个批处理:

    安装VB6批处理文件(请拷贝到VB6所在的目录双击运行).bat

    @echo off
    cd /d %~dp0
    ren "C:Program Files (x86)Common FilesSystemOle DBoledb32r.dll" oledb32r-2.dll
    ren "C:Program FilesCommon FilesSystemOle DBoledb32r.dll" oledb32r-2.dll
    echo n|copy /-y %~dp0setupVB98ENT.STF %~dp0setupacmsetup.stf
    echo n|copy /-y %~dp0setup*.* %~dp0
    rem 替换setupwiz.ini中的错误参数:
    @echo off & setlocal enabledelayedexpansion
    del new_1.txt
    for /f "tokens=*" %%i in (SETUPWIZ.INI) do (
    if "%%i"=="" (echo.) else (set "line=%%i" & call :chg)
    )>>new_1.txt
    attrib -s -h -r %~dp0setupwiz.ini
    move new_1.txt setupwiz.ini
    start setup.exe
    exit

    :chg
    rem 这个是保留空行
    set "line=!line:acmboot.exe=acmsetup.exe!"
    set "line=!line:vb98ent.stf=acmsetup.stf!"
    echo !line!
    goto :eof

     三、win8.1 WIN10 64位装vb6.0卡在装程序正在更新您的系统

    1、安装时提示是否用Visual SourceSafe,要选择否。
    2、自定义安装,接着选择“数据访问”,再点击2次“更改选项”,把ADO和RDS前面的勾去掉即可。
    3、根据提示正常重启下即可。

  • 相关阅读:
    GRUB引导Win8,Win7,Ubuntu
    The vim syntax of systemd unit file
    Win8蓝屏(WHEA_UNCORRECTABLE_ERROR)
    C#生成Excel
    IE中使用IFrame或Frameset导致session丢失的问题
    Apache 配置详解 ( 最好的 APACHE 配置教程 )
    关于(enctype="multipart/formdata") post 提交时中文乱码解决方案(使用jspsmartupload时)
    Java获取当前时间
    windows中定时操作(SetTimer函数用法)
    _RecordsetPtr的 open函数
  • 原文地址:https://www.cnblogs.com/liuzhaoyzz/p/9098377.html
Copyright © 2011-2022 走看看