Win10中的vb6 [英] vb6 in win10

查看:375
本文介绍了Win10中的vb6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在WinXP计算机上编写的四种形式的vb6程序,该程序可以通过将.exe和.txt文件复制到Program Files的文件夹中而在winXP(按预期)和Win7上工作.我在新的win10笔记本电脑上进行了相同的操作.  三个 表单按计划工作,但是其中一个表单立即显示以下内容:

I have a four form vb6 program written on a winXP computer which works on winXP (as expected) and on  win7 by just copying the .exe and .txt files into a folder in Program Files.  I did the same operation on my new win10 laptop.  Three of the forms work as planned, but one form immediately shows the following:

运行时异常-需要MSSTDFMT.DLL".我安装了.dll,但没有再次发生该特定错误.

"run time exception - MSSTDFMT.DLL is required"  I installed the .dll and that particular error hasn't recurred.

运行时错误17-类型不匹配". vb6调试器,vb6编译器和win7都没有发现任何类型不匹配的情况.  当我单击确定"按钮时,整个程序将关闭.

"run time error 17 - type mismatch"  Neither myself, the vb6 debugger,  the vb6 compiler  nor win7 found any type mismatches.  When I click on the OK button the whole program shuts down.

我还有两个如上所述在win10上运行的vb6程序,它们运行正常.

I have two other vb6 programs running on win10 installed as described above and they run with no problems.

win10是否具有内置的vb6调试器?  为什么三种形式起作用而一种不起作用?

Does win10 have a built-in vb6 debugger?  Why would three forms work and one will not?

什么是简单"?修复此异常"的可用选项?  也许还有另一个未知的.dll?  是否有一个简单的(我必须强调简单")应用程序(甚至在vb 2013中)将vb6程序转换为某种程序 将在win10上运行?

What "simple" options are available for fixing this 'anomoly"?  Another unknown .dll maybe?  Is there a simple (I must emphasize "simple") app out there (or even in vb 2013) that will convert a vb6 program into something that will run on win10?

感谢您可以使用任何灯光解决此问题,因为我站着的地方很暗.

Thanks for any light you can apply to this problem, 'cause it's very dark where I'm standing.

乔·威廉姆斯

推荐答案

乔,

在此论坛上活跃的人们大多不知道VB6是否仍可以在Windows 10上运行.我们现在的版本为VB14,即较新的8个版本.

Those active in this forum don't mostly not know if VB6 runs still on Windows 10. We are now at version VB14, that is 8 versions newer. 

VB6只是老式的.但是同样,对于汽车,您可以为那些使它们保持在互联网上运行的人找到论坛.

VB6 is just vintage. But likewise with cars you can find forums for those who keep them running on Internet. 

与某些人经常写的东西不同,VB的语言部分变化不大.但是,如果您没有太多的Microsoft附加功能,那么您还有很多事要做.

Unlike what is written often by some, is the language part of VB not changed much. However, if you have much not Microsoft additions, then you have a lot to do.

制作的转换器的确发出了比真实代码更多的合法性警告,因此也许某些编写的VB7是不同的.

The converters who were made did create more legality warnings than real code, therefore maybe that some wrote VB7 was different. 

主要变化是整数具有移位(自VB7起,Integer = Int32),代码基于OOP.但是,大多数代码都可以使用,但VB14中可以使用某些代码.

What is changed mainly is that integers have shift (Integer = Int32 in since VB7), the code is based on OOP. However, most of the code can be used but some things in VB14. 

从VB1到VB6,VB6和VB14之间的变化要少得多.

There has much less changed between VB6 and VB14 then there was changed since VB1 to VB6. 

但是可能性以10:100的方式增加了

However the possibilities have increased in a way of 10:100

也许让您惊讶的是,它的运行速度也快了10倍.

And maybe to your surprise well written it runs also 10 times faster.


这篇关于Win10中的vb6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆