VS6中的VB6项目 [英] VB6 project's in VS 2012

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

问题描述

大家好,



只是想问一下,在Visual Studio 2012中是否有任何(我的意思是)支持VB6?我做了我的作业直到现在,但我想到了你所以我来总结代码项目的答案:)。

我发现的信息主要包括VB6最后与VS2005一起工作的说法,但是其他人说VB6项目可以逐步升级到VS2010 SP1。

我自己看到的是VS2012可以打开让我们说一个VB6项目的.frm文件,甚至提供兼容文件的字体和颜色(没有IntelliSense),但一切都结束了在尝试打开VB6 .vbp文件时。

VS2012是否有像我这样的谦逊用户可以查看的兼容性选项?如果是,在哪里可以找到它们?

解决方案

你无法在2005年以后的任何版本的VS中打开(或写入)VB6项目 - 至少在形式,你可以再次倒退。您可以尝试升级到更新的版本,但是因为VB6在.NET版本问世时就死了(就微软而言),它不会期望它取得巨大的成功 - 我知道有些元素具有相同的名称但行为却截然不同。虽然升级向导确实尝试了它,但它可能非常好。但是你可能必须去VB6 - > 2005年 - > 2008 - > 2010年 - > 2012年每一步都使用升级向导(尽管你可能会逃避2008年和2010年,但我不确定)



说实话,你可能会通过坚持使用VB6,或者在VS2010或2012中完全重写它来获得更好的结果


嘿,



以防您或其他人仍对此感兴趣。我正忙着在我的业余时间将VB6集成到 SharpDevelop 中。为何选择SD?因为它是免费的,很小,而且还有一个非常好的和漂亮的文本编辑器。



你可以在这里查看进度:



https://github.com/chrishensel/vb6leap [ ^ ]



SD-Add-in是正在建设中,但正在取得进展。建筑工程(您需要安装VB6)。其余的,最好查看源代码和维基,因为还没有文档。



它是开源的,免费的。



HTH



chris


这个visual studio addin支持VB6项目: http://vbvs.cloudapp.net

Hi all,

just wanted to ask is there any (and I mean ANY) kind of support for VB6 in Visual Studio 2012? I did my homework until now, but I thoughtof you so I come to sum up the answer on Code Project :).
The info I found mainly consists of sayings that VB6 was last to work with VS2005, but some other say that a VB6 project can be step-wise upgraded to VS2010 SP1.
What I have seen for myself is that VS2012 can open lets say a .frm file from a VB6 project, and offers even the fonts and colors of a compatible file (no IntelliSense), but it all ends while trying to open a VB6 .vbp file.
Does VS2012 have any compatibility options a humble user like me can check out? If yes, where to find them?

解决方案

You can't open (or write) a VB6 project in any version of VS past 2005 - at least not in a form that you can go backwards again. You can try to upgrade to a newer version, but since VB6 died (as far as Microsoft is concerned) when the .NET version came out, it would not expect it to be a vast success - I know that some elements have the same name but very different behaviours. The upgrade wizard does try it's best though, and it can be quite good. You may however have to go VB6 -> 2005 -> 2008 -> 2010 ->2012 using the upgrade wizard at each step (though you may get away with skipping 2008 and 2010, I'm not sure)

To be honest, you will probably get a better result either by sticking to VB6, or by re-writing it completely in VS2010 or 2012 for .NET


Hey,

just in case you or someone else is still interested in this. I'm working on an integration of VB6 into SharpDevelop in my spare time. Why SD? Because it is free, is tiny and also has a pretty good and nifty text editor.

You can check out the progress here:

https://github.com/chrishensel/vb6leap[^]

The SD-Add-in is under construction, but is making progress. Building works (you need to have VB6 installed). For the rest, it is better to check out the source and wiki since there is no documentation yet.

It is open-source and free of charge.

HTH

chris


This visual studio addin supports VB6 projects: http://vbvs.cloudapp.net


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

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