0

I have application 'a' (vb6) and application 'b' (vb.net). What is the best way to call method in 'a' using 'b' source code? I mean 'a' is recording calling numbers and when particular number calls it should change application's 'b' panel text (name). Yes, app 'a' could save all calling numbers to text file and 'b' could check for that particular number every one second or so, but it would be not efficient at all. Any ideas?

4

1 回答 1

0

一种方法是使用套接字。在项目 A 中放置一个插座,在项目 B 中放置另一个插座,并允许它们相互交谈。这样,每次数据从 Socket 发送到另一个时都会引发一个事件

于 2012-11-07T03:03:10.513 回答