需要在应用程序之间传递数据的信息。赢[C#] [英] Needing info on passing data between applications. Win[C#]

查看:76
本文介绍了需要在应用程序之间传递数据的信息。赢[C#]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许有人可以指出我找到代码的正确方向,或者

找到有关如何传递信息的阅读信息(即.ArrayList,

string等)两个正在运行的窗口应用程序之间,不一定会在同一台机器上运行。


这将是我第一次尝试这个,我'我不确定这是否属于

COM或ActiveX。


感谢所有和所有帮助。


提前致谢。


Mike

Perhaps someone can point me in the right direction in finding code, or
finding reading information on how to pass information (ie. ArrayList,
string, etc) between two running window applications, that won''t
neccessarily be on the same machine.

This will be my first attempt at this, and I''m not sure if this falls under
COM, or ActiveX.

Any and all help is appreciated.

Thanks in advance.

Mike

推荐答案

Mike,


它们都是.NET应用程序吗?如果是这样,你应该查看

Windows Communication Foundation,或者远程处理(我建议你先看看WCF

)。

-

- Nicholas Paldino [.NET / C#MVP]

- mv * @ spam.guard.caspershouse.com


" MikeY" < mi ******* @ yahoo.comwrote in message

news:%2 **************** @ TK2MSFTNGP06.phx.gbl ...
Mike,

Are they both .NET applications? If so, you should be looking into
Windows Communication Foundation, or remoting (I urge you to look at WCF
though first).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"MikeY" <mi*******@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...

也许有人可以指出我找到代码的正确方向,或者

查找有关如何传递信息的阅读信息(即。在两个正在运行的窗口应用程序之间的ArrayList,

string等,不一定会在同一台机器上进行



这将是我第一次尝试这个,我不确定这是否会在COM或ActiveX下失去



任意感谢所有帮助。


提前致谢。


Mike
Perhaps someone can point me in the right direction in finding code, or
finding reading information on how to pass information (ie. ArrayList,
string, etc) between two running window applications, that won''t
neccessarily be on the same machine.

This will be my first attempt at this, and I''m not sure if this falls
under COM, or ActiveX.

Any and all help is appreciated.

Thanks in advance.

Mike

您好Nicholas,


是的,它们都是Windows / Forms .NET C#应用程序。我真正想要实现的目标是将信息从一个应用程序发送到另一个应用程序

应用程序,在那里它(最终)将被发送出去打印一个

各种打印机。将信息发送到第二个应用程序是

安全保护,更改打印机名称等。


如果这样做,它可能只是最终在服务器上,或在另一台机器上。在

我脑子里,我认为这是最好的行动方案,除非有更好的解决方案。


但谢谢Nicholas,我现在就走开,看看WCFand或

远程处理。


再次感谢。


MIkeY

Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.com写在

消息新闻:1F ************************* ********* @ microsof t.com ...
Hi Nicholas,

Yes they are both Windows/forms .NET C# applications. What I really want to
try to accomplish is to send information from one application to another
application, where it will (eventually) be sent off to be printed one of
various printers. Having the info be send to the 2nd application is to
safe-guard, incase the printer name changes, etc.

If this works, it might just end up on a server, or on another machine. In
my head I''m thinking this is the best course of action, unless there is a
better solution out there.

But thank you Nicholas, I"ll head off right now and check out WCFand or
remoting.

Thanks again.

MIkeY
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:1F**********************************@microsof t.com...

Mike,


他们俩都是.NET应用程序?如果是这样,你应该查看

Windows Communication Foundation,或者远程处理(我建议你先看看WCF

)。


-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" MikeY" < mi ******* @ yahoo.comwrote in message

news:%2 **************** @ TK2MSFTNGP06.phx.gbl ...
Mike,

Are they both .NET applications? If so, you should be looking into
Windows Communication Foundation, or remoting (I urge you to look at WCF
though first).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"MikeY" <mi*******@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...

>也许有人可以指出我找到代码的正确方向,或者找到有关如何传递信息的阅读信息(即。两个正在运行的窗口应用程序之间的ArrayList,
字符串等,不一定会在同一台机器上。

这将是我的第一次尝试,并且我不确定这是否属于COM或ActiveX。

任何和所有帮助都表示赞赏。

提前致谢。

Mike
>Perhaps someone can point me in the right direction in finding code, or
finding reading information on how to pass information (ie. ArrayList,
string, etc) between two running window applications, that won''t
neccessarily be on the same machine.

This will be my first attempt at this, and I''m not sure if this falls
under COM, or ActiveX.

Any and all help is appreciated.

Thanks in advance.

Mike



不幸的是我正在使用VS.NET 2002,我的理解是WCF

需要2005年及更高版本。

" MikeY" < mi ******* @ yahoo.comwrote in message

news:%2 *************** @ TK2MSFTNGP06.phx.gbl。 ..
Unfortunitly I''m work with VS.NET 2002 and it is my understanding that WCF
needs 2005 and greater.
"MikeY" <mi*******@yahoo.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...

您好Nicholas,


是的,它们都是Windows / Forms .NET C#应用程序。我真正想要的是尝试完成的
是将信息从一个应用程序发送到另一个应用程序,然后将其(最终)发送出来进行打印
各种打印机之一。将信息发送到第二个应用程序

是安全保护,更改打印机名称等。


如果这样做,它可能只是最终在服务器上,或在另一台机器上。

在我的脑海里,我认为这是最好的行动方案,除非有更好的解决方案在那里。


但是谢谢Nicholas,我现在就去看看WCFand或

远程处理。


再次感谢。


MIkeY


" Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.comwrote

留言新闻:1F ************************* ********* @ microsof t.com ...
Hi Nicholas,

Yes they are both Windows/forms .NET C# applications. What I really want
to try to accomplish is to send information from one application to
another application, where it will (eventually) be sent off to be printed
one of various printers. Having the info be send to the 2nd application
is to safe-guard, incase the printer name changes, etc.

If this works, it might just end up on a server, or on another machine.
In my head I''m thinking this is the best course of action, unless there is
a better solution out there.

But thank you Nicholas, I"ll head off right now and check out WCFand or
remoting.

Thanks again.

MIkeY
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:1F**********************************@microsof t.com...

> Mike,

它们都是.NET应用程序?如果是这样,你应该调查Windows Communication Foundation或者远程处理(我建议你先看看WCF
)。

-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

MikeY < mi ******* @ yahoo.com写了留言
新闻:%2 **************** @ TK2MSFTNGP06.phx.gbl ...
>Mike,

Are they both .NET applications? If so, you should be looking into
Windows Communication Foundation, or remoting (I urge you to look at WCF
though first).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"MikeY" <mi*******@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...

>>也许有人可以指出我找到代码的正确方向,或者找到有关如何传递信息的阅读信息(即ArrayList,
字符串等)两个正在运行的窗口应用程序之间,它们不会在同一台机器上完成。

这将是我第一次尝试这个,我'我不确定这是否会在COM或ActiveX下失效。

感谢任何和所有的帮助。

提前致谢。

Mike
>>Perhaps someone can point me in the right direction in finding code, or
finding reading information on how to pass information (ie. ArrayList,
string, etc) between two running window applications, that won''t
neccessarily be on the same machine.

This will be my first attempt at this, and I''m not sure if this falls
under COM, or ActiveX.

Any and all help is appreciated.

Thanks in advance.

Mike




这篇关于需要在应用程序之间传递数据的信息。赢[C#]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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