需要将VB 6表单转换为HTML表单 [英] Need to convert VB 6 forms to Html forms

查看:61
本文介绍了需要将VB 6表单转换为HTML表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经使用Visual Basic 6开发了一个独立的应用程序.现在,我们将独立应用程序更改为Web应用程序.有什么方法可以将VB6表单转换为纯HTML表单,从而使我的工作大大减少.请提出您的建议.

We have developed a standalone application using visual basic 6. Now we are changing the standalone application to web application. Is there any way to convert VB6 forms into plain HTML forms so that my work will be reduced alot. please give your suggestions.

编辑:我是VB6和.net技术的新手

I am new to VB6 and .net technology

推荐答案

甚至都不认为有关转换".这不仅仅是一个转换"过程.整个范例在Web应用程序和桌面应用程序之间是不同的.它们完全不同.

Don't even think about "converting". It's not just a "conversion" process. The entire paradigm is different between web applications and desktop applications. They're just totally different.

ASP.NET Web表单试图使差异不那么明显.但是,差异仍然存在,而且仍然很大.

ASP.NET web forms try to make the differences less apparent. However, the differences are still there, and are still huge.

您应该做的是在VB6应用程序中将业务逻辑与表单逻辑分开.然后,您将能够更轻松地将业务逻辑转换为.NET业务逻辑.您仍然需要创建等效的表单,但是逻辑是相同的.

What you should do is separate your business logic from your forms logic in your VB6 application. You will then be more easily able to convert the business logic into .NET business logic. You'll still need to create equivalent forms, but the logic will be the same.

这篇关于需要将VB 6表单转换为HTML表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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