例如: 先网上下载一个MtbLine.ocx控件放入C:WindowsSysWOW64目录下
1、首先确保你的 Windows7 账户是管理员权限
2、下载MtbLine.ocx控件,网上可搜到
3、把 MtbLine.ocx 放到 c:WindowsSysWOW64(注:需要管理员权限)
4、开始-程序-附件-cmd命令提示符,右键点击,管理员身份运行
5、regsvr32 c:WindowsSysWOW64MtbLine.ocx(相应控件名)
弹出提示 DllRegisterServer in C:WINDOWSSysWOW64MtbLine.ocx succeeded 即表示控件注册成功
6.如果不行,试试放入c:WindowsSystem32下,再按上述注册控件步骤试试,
===============================================================
其他问题:在VB6环境下调试时,系统提示存在兼容性问题,这又应该怎么办?
解决方法:右键点击程序 属性 兼容性 以兼容模式运行这个程序 选xp 不行就换兼容别的系统试试