PC Review


Reply
Thread Tools Rate Thread

Data exchange between two executables

 
 
Arun
Guest
Posts: n/a
 
      1st Sep 2004
I have two vb.net applications running on the same machine, App1.exe and
App2.exe.
On the click of a button in App1.exe, can I retrieve a value from a textbox
in App2.exe?

TIA

-AN


 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?=
Guest
Posts: n/a
 
      1st Sep 2004
Remoting is the right way to go when making cross-process calls (of course,
you might be able to implement some kind of "hack" to retrieve data directly
from the textbox but I don't recommend it).

This will get you started on remoting:
http://msdn.microsoft.com/library/de...roremoting.asp

HTH,
Jakob.


"Arun" wrote:

> I have two vb.net applications running on the same machine, App1.exe and
> App2.exe.
> On the click of a button in App1.exe, can I retrieve a value from a textbox
> in App2.exe?
>
> TIA
>
> -AN
>
>
>

 
Reply With Quote
 
Raghavendra T V
Guest
Posts: n/a
 
      1st Sep 2004
Hi Arun,

I dont think its possible to get Textbox value which is in a different
application ..exe file.

But what you can do is in App1.exe write code to write the textbox value to
an XML file and then read the value from XML file from the App2.exe.

Hope this helps you.

Thanks
Raghavendra
"Arun" <(E-Mail Removed)> wrote in message
news:%23eFnj6%(E-Mail Removed)...
> I have two vb.net applications running on the same machine, App1.exe and
> App2.exe.
> On the click of a button in App1.exe, can I retrieve a value from a

textbox
> in App2.exe?
>
> TIA
>
> -AN
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      1st Sep 2004
* "Arun" <(E-Mail Removed)> scripsit:
> I have two vb.net applications running on the same machine, App1.exe and
> App2.exe.
> On the click of a button in App1.exe, can I retrieve a value from a textbox
> in App2.exe?


Remoting or sockets.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
 
=?Utf-8?B?U3VkaGFrYXIgU2FkYXNpdnVuaVttdnBd?=
Guest
Posts: n/a
 
      2nd Sep 2004
You can exchange data between two .NET app domains (for 2 exe apps) only via
Remoting or Web Services. Remoting would be the best solution.

Sudhakar Sadasivuni
http://one.mvpblog.com
http://www.mugh.net


"Arun" wrote:

> I have two vb.net applications running on the same machine, App1.exe and
> App2.exe.
> On the click of a button in App1.exe, can I retrieve a value from a textbox
> in App2.exe?
>
> TIA
>
> -AN
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data exchange between two executables Arun Microsoft Dot NET Framework 4 2nd Sep 2004 01:13 PM
Executables =?Utf-8?B?VG9kZA==?= Windows XP Help 3 2nd Jun 2004 08:51 PM
Serialization of data for two or more executables ven Microsoft C# .NET 2 27th Dec 2003 09:39 AM
MS-DOS executables S.Sengupta Windows XP General 0 16th Aug 2003 02:35 PM
Re: MS-DOS executables Maurice N Windows XP General 0 16th Aug 2003 02:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:25 AM.