从VB 6 EXE调用VB.NET表单 [英] Calling VB.NET form from VB 6 EXE
问题描述
您好
我从vb.net激活我的vb6应用程序。现在用户希望能够从vb6 exe调用
vb.net表格
如何从vb6源代码调用vb.net?
我是否遇到了一些性能问题?
你能给我看一个代码示例吗?
谢谢
Shell(" c\folder\vb.exe",vbMaximizedFocus)
Hello
I activate my vb6 application from vb.net .Now user want to be able to call
vb.net form from vb6 exe
How do I call vb.net from from vb6 source?
Do I hit some perfomances issue?
Can you show me an example of code ?
Thanks
Shell("c\folder\vb.exe", vbMaximizedFocus)
推荐答案
*" Uri Dimant" <乌尔** @ iscar.co.il> scripsit:
* "Uri Dimant" <ur**@iscar.co.il> scripsit:
我从vb.net激活我的vb6应用程序。现在用户希望能够从vb6 exe调用
vb.net表单
如何调用vb.net来自vb6来源?
我是否遇到了一些性能问题?
你能给我看一个代码示例吗?
谢谢
Shell(" c\folder\vb。 exe",vbMaximizedFocus)
I activate my vb6 application from vb.net .Now user want to be able to call
vb.net form from vb6 exe
How do I call vb.net from from vb6 source?
Do I hit some perfomances issue?
Can you show me an example of code ?
Thanks
Shell("c\folder\vb.exe", vbMaximizedFocus)
你想要封装VB6可执行文件吗?您仍然可以使用''Shell''或
''System.Diagnostics.Process.Start'来做到这一点。
-
Herfried K. Wagner [MVP]
< http://www.mvps.org/dotnet>
Do you want to shell the VB6 executable? You can still use ''Shell'', or
''System.Diagnostics.Process.Start'' to do that.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
谢谢
我需要添加的VB6代码中的代码是什么,以便在VB中调用让我说
form1。 NET
" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道
news:bt ************ @ ID-208219.news.uni-berlin.de ...
Hi,
Thanks
What is the code in my VB6 code I have to add in order to call let me say
form1 in VB.NET
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bt************@ID-208219.news.uni-berlin.de...
* Uri Dimant <乌尔** @ iscar.co.il> scripsit:
* "Uri Dimant" <ur**@iscar.co.il> scripsit:
我从vb.net激活我的vb6应用程序。现在用户希望能够从vb6 exe
调用vb.net表单
如何调用vb.net来自vb6来源?
我是否遇到了一些性能问题?
你能给我看一个代码示例吗?
谢谢
Shell(" c\folder\vb。 exe",vbMaximizedFocus)
I activate my vb6 application from vb.net .Now user want to be able to call vb.net form from vb6 exe
How do I call vb.net from from vb6 source?
Do I hit some perfomances issue?
Can you show me an example of code ?
Thanks
Shell("c\folder\vb.exe", vbMaximizedFocus)
你想要封装VB6可执行文件吗?你仍然可以使用''Shell''或'/'''System.Diagnostics.Process.Start'来做到这一点。
-
Herfried K. Wagner [MVP ]
< http://www.mvps.org/dotnet>
Do you want to shell the VB6 executable? You can still use ''Shell'', or
''System.Diagnostics.Process.Start'' to do that.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
" Uri Dimant" <乌尔** @ iscar.co.il> schrieb
"Uri Dimant" <ur**@iscar.co.il> schrieb
我的VB6代码中的代码是什么我必须添加才能调用让我在VB.NET中说form1
What is the code in my VB6 code I have to add in order to call let me
say form1 in VB.NET
您不能致电表格。你可以调用可执行文件。您可以在命令行中将参数
传递给exe。在vb.net Exe中,使用Command函数(Microsoft.VisualBasic.Interaction.Command)或
System.Environment.CommandLine或添加命令行
byval args()as string分$
main。
-
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
You can not call a Form. You can call an executable. You may pass arguments
in the command line to the exe. In the vb.net Exe, you get the command line
using the Command function (Microsoft.VisualBasic.Interaction.Command) or
System.Environment.CommandLine or by adding "byval args() as string" to sub
main.
--
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
这篇关于从VB 6 EXE调用VB.NET表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!