在vb.net项目中使用VB6 exe? [英] using VB6 exe in vb.net project?

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

问题描述




我曾经在vb6做了一个小游戏......这是一个表格申请...

现在我'我想知道我是否可以在我的vb.net项目中获得该应用程序我现在正在制作... b $ b现在制作...我想把它作为复活节彩蛋或者什么东西


这是可能的 - 没有翻译成vb.net - ?

也许如果我在vb6中制作一个dll?


thx for any关于这个的信息

Hi,

I have once made a little game in vb6 ... it''s a 1 form application...
Now i''m wondering if i can get that application in my vb.net project i''m
making now... i want it as an easter egg or something

Is that possible - without translating it to vb.net - ?
Maybe if i make a dll of it in vb6?

thx for any info on this

推荐答案

如果你把它变成一个VB 6.0 .dll,你可以把它作为一个COM引用它/ br / > .NET中的
对象并在.NET中使用它。

" sotto" <菊** @ sotto.invalid>在消息中写道

news:nj ********************* @ hestia.telenet-ops.be ...
If you turned it into a VB 6.0 .dll, you could just reference it as a COM
object from .NET and use it in .NET.
"sotto" <ju**@sotto.invalid> wrote in message
news:nj*********************@hestia.telenet-ops.be...


我曾经在vb6做了一个小游戏......这是一个表单应用程序......
现在我想知道我是否能得到那个应用程序在我的vb.net项目中我现在正在制作......我想把它作为一个复活节彩蛋或者什么东西

这是可能的 - 没有把它翻译成vb.net - ?
也许如果我在vb6中制作了一个dll?

thx有关此的任何信息
Hi,

I have once made a little game in vb6 ... it''s a 1 form application...
Now i''m wondering if i can get that application in my vb.net project i''m
making now... i want it as an easter egg or something

Is that possible - without translating it to vb.net - ?
Maybe if i make a dll of it in vb6?

thx for any info on this



* sotto< ju ** @ sotto.invalid> scripsit:
* sotto <ju**@sotto.invalid> scripsit:
我曾经在vb6做了一个小游戏......这是一个表单应用程序...
现在我想知道我是否可以在我的应用程序中获取该应用程序vb.net项目
我现在正在制作......我想把它作为一个复活节彩蛋或其他东西

这是可能的 - 没有翻译成vb.net - ?
也许如果我在vb6中制作一个dll?
I have once made a little game in vb6 ... it''s a 1 form application...
Now i''m wondering if i can get that application in my vb.net project
i''m making now... i want it as an easter egg or something

Is that possible - without translating it to vb.net - ?
Maybe if i make a dll of it in vb6?




您可以将它与.NET应用程序一起发送并启动可执行文件

using ''Shell''或''System.Diagnostic.Process.Start''。


-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>



You can ship it with your .NET application and start the executable
using ''Shell'' or ''System.Diagnostic.Process.Start''.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


但是这会让他的VB 6应用运行in他的.NET应用就像他说的那样?

" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

新闻:呃************** @ TK2MSFTNGP09.phx.gbl ...
But would that get his VB 6 app running "in" his .NET app like he said?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
* sotto< ju **@sotto.invalid> scripsit:
* sotto <ju**@sotto.invalid> scripsit:
我曾经在vb6做了一个小游戏......这是一个表单应用程序...
现在我想知道我是否可以在我的应用程序中获取该应用程序vb.net项目
我现在正在制作......我想把它作为一个复活节彩蛋或其他东西

这是可能的 - 没有翻译成vb.net - ?
也许如果我在vb6中制作一个dll?
I have once made a little game in vb6 ... it''s a 1 form application...
Now i''m wondering if i can get that application in my vb.net project
i''m making now... i want it as an easter egg or something

Is that possible - without translating it to vb.net - ?
Maybe if i make a dll of it in vb6?



你可以使用你的.NET应用程序发送它并使用''Shell'或''启动可执行文件
System.Diagnostic.Process.Start''。

-
Herfried K. Wagner [MVP]
< http://www.mvps.org/dotnet>



You can ship it with your .NET application and start the executable
using ''Shell'' or ''System.Diagnostic.Process.Start''.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>



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

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