visual-studio 打开 vbp Visual Basic 项目
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2959427/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Opening vbp Visual Basic Project
提问by Roman
I have got some old sources written in Visual Basic. There are *.bas, *.cls, *.frmand *.vbpfiles. As I understand, vbpis a project file. But I cannot open it with my Visual Studio 2008.
我有一些用 Visual Basic 编写的旧源代码。有*.bas,*.cls,*.frm和*.vbp文件。据我了解,vbp是一个项目文件。但是我无法使用 Visual Studio 2008 打开它。
What version of VS should I install to open *.vbpfile? Google says it is Visual Studio 6, but I am not sure and I cannot findVisual Studio 6 for downloading. Is there any publicly available free edition of Visual Studio 6 with Visual Basic?
我应该安装什么版本的 VS 来打开*.vbp文件?Google 说它是 Visual Studio 6,但我不确定,也找不到可供下载的 Visual Studio 6。是否有任何公开可用的带有 Visual Basic 的 Visual Studio 6 的免费版本?
Thanks.
谢谢。
采纳答案by Alex K.
vbp is indeed a VB 5/6 Project File.
vbp 确实是一个 VB 5/6 项目文件。
VS6/VB5/VB6 are not free, so if you want to build the project you will need to spend $5 on ebay.
VS6/VB5/VB6 不是免费的,所以如果你想构建这个项目,你需要在 ebay 上花费 5 美元。
The VB5 Control Creation Edition(build COM components only) was the only free version MS released.
在VB5控件创建版(只有构建COM组件)发布的唯一免费版本的MS。
Older versions of VS.net included a way to import a VBP and upgrade it to VB.NET, but YMMV (significantly).
较旧版本的 VS.net 包括一种导入 VBP 并将其升级到 VB.NET 的方法,但 YMMV(显着)。
Edit; If you just want to look at the source/project structure all the files except .frx are plain ascii.
编辑; 如果您只想查看源/项目结构,除 .frx 之外的所有文件都是纯 ascii。
回答by MarkJ
回答by lyncas
Microsoft recommends users get a 3rd party conversion program called ArtinSoft, http://msdn.microsoft.com/en-us/ff793478
Microsoft 建议用户使用名为 ArtinSoft 的 3rd 方转换程序, http://msdn.microsoft.com/en-us/ff793478
回答by RandyMorris
When opening the vbp file which is the project file, you will most likely have an import wizard show up, which after trying to import the project it will likely tell you there are a bunch of dependencies vb6 used to use which .net does not and will error out. You need to have vb5/6 installed or at least the dependency files installed in order to proceed with the import. You can view source code from the plain ascii text files of the .frM files.
当打开作为项目文件的 vbp 文件时,您很可能会出现一个导入向导,在尝试导入项目后,它可能会告诉您有一堆依赖项 vb6 用于使用 .net 没有和会出错。您需要安装 vb5/6 或至少安装依赖文件才能继续导入。您可以从 .frM 文件的纯 ascii 文本文件中查看源代码。
回答by T.A.Chathura Priyahsad
you need Visual Basic, not Visual Studio to open these files. or you can open it using a normal text editor like sublime text file separately. but if you want to open it like a project then you should use Microsoft Visual Basic 6.0 / 5.0 . There is a portable version too.
您需要 Visual Basic 而不是 Visual Studio 来打开这些文件。或者您可以单独使用普通文本编辑器(如 sublime 文本文件)打开它。但是如果你想像一个项目一样打开它,那么你应该使用 Microsoft Visual Basic 6.0 / 5.0。还有便携版。
If you still want to open .vbp file using visual studio try to use VB tools for Visual Studio. I think it will help you.
如果您仍想使用 Visual Studio 打开 .vbp 文件,请尝试使用 Visual Studio 的 VB 工具。我想它会帮助你。

