前续的文字大概其的意思是说:如果你抓不到BUG,那就试试
(1)隔离代码(把出错代码单独拷出来另外做project调);
(2)把所有第三方控件替换成标准控件;
(3)写日志文件
(4)然后就是这个很汗的建议:Reduce the search space. If you cannot resolve the problem with any of the above methods, then it is time to eliminate all other non-Visual Basic causes from the problem search space. Copy your AUTOEXEC.BAT and CONFIG.SYS files to backup files. Comment out any and all drivers and programs from these two files that are not absolutely essential to running your program under Windows. Change your Windows video driver to the standard Windows VGA driver. Shut down Windows and reboot your machine. This will eliminate the possibility that there is some other program or driver which is interfering with your program.
If you cannot locate a solution and are unable to isolate or resolve the problem with any of these methods, it's time to look for help. See the technical support documentation. 要酱紫了,才look for help啊。瀑布汗。
怪不得星级用户很少发主帖啊

解决方案 »

  1.   

    之所以到最后了才“look for help”,是因为:如果折腾了半天都没能找到BUG,即使你看 support documentation 也多半没有用处 
      

  2.   


    我一般不会做替换控件还有编那两个BAT文件的事,调不出来直接就上来问。I actually think these two approaches are bit of BIAN TAI.
      

  3.   

    A)AUTOEXEC.BAT and CONFIG.SYS 
    这是一种方法,当内部无法定位错误时可能是外部原因,简化一下系统。
    而现在计算机不稀罕了,完全可以换其它的计算机进行测试。B)it's time to look for help
    提问要有确定性,你无法定位的错误别人只能靠猜,猜中概率极小。问了也是白问。
      

  4.   


    请问这是不是等同于在windows安全模式下运行程序?
      

  5.   

    xxxxxxxxx,真是雷我的英文啊。
      

  6.   


    一般情况下,这些绝招是用不到的。因为普通的 VB 程序不过是数据库或通讯应用,调用的一般也就是被前人用过几千万次的 API 接口,很少涉及到系统底层。初级程序员遇到最多的问题,按频率来排,应该是:语法错误、逻辑错误、API 调用中的数据类型错误和变量实例化错误。
      

  7.   

    安全模式?windows新版本从来就不需要这两个文件不相信你打开看看,里面空的
      

  8.   


    还真是的。现在好像是放在Autoexec.nt里。