Re: Directly Passing Variables
- From: "Miro" <mironagy@xxxxxxxxxx>
- Date: Wed, 2 Aug 2006 14:25:20 -0400
Can you point me in the right direction of where I can read on a
simple prog that opens listens and closes a tcp/ip / or udp port.
/ or sends.
I am a bit new to vb and not sure exactly the terminology to search for.
Im not asking for the code... just 'what am i looking for in vb / or the web
for help'
Thanks
Miro
"The Grim Reaper" <grim_reaper@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DKWdnRp-Iq5-fU3ZRVnyvg@xxxxxxxxx
Miro,
I think the "easiest" way to do it, like you said originally is to open a
port and send from one app and listen from the other!
Just use TCP/IP or UDP to open a port - it works on the local machine, not
just across cables.
Solution worked well for me anyway!
HTH
___________________________________
The Grim Reaper
"Miro" <mironagy@xxxxxxxxxx> wrote in message
news:%2323vv2ktGHA.4752@xxxxxxxxxxxxxxxxxxxxxxx
I have no idea those are, and they are present in vb.net 2003
I will read up on those and see how I can use those and see if it works.
If it does work, or I do run into a different solution I will post it
here.
I have also tried and it does work - to write to the Log File. This
works fine, and i read the log file
for the data i needed and continued. However I dropped this solution
originally because not all machines
allow you to write to the registry ( which the log file uses ) - I never
ran into that situation, but if you do look
into your registery - that is where it stores the Log and the Source.
Its really also a pain kinda to get working.
Somehow windows stores the Log even after you delete it from registery
and stuff.
But that was also another solution I used and dropped.
Miro
"Brian Tkatch" <Maxwell_Smart@xxxxxxxxxxxxxxx> wrote in message
news:1154534131.418658.31370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Miro wrote:
Hi, ( using vb.net 2003 )
Im not quite sure what to look for in the help / online for this.
Example: You have 2 seperate .exe files running ( both written in
vb.net )
Is there a way to make 1 exe "listen" on a port or something ( other
than
a text file ) so the 2nd
exe can transfer a variable to it or an array ?
Currently my solution is that the 1 exe writes a text file and the
other
goes and reads it.
I was wondering if I can create a direct approach somehow. I do not
want to
use a db file. I barely
had the rights to a computer to write the txt file.
Thanks
Miro
Perhaps you could create a pipe or message queue?
I have no idea how to use these, but i see message queues in Server
Explorer (in 2005 at least).
B.
.
- Follow-Ups:
- References:
- Directly Passing Variables
- From: Miro
- Re: Directly Passing Variables
- From: Brian Tkatch
- Re: Directly Passing Variables
- From: Miro
- Re: Directly Passing Variables
- From: The Grim Reaper
- Directly Passing Variables
- Prev by Date: Re: Function doesn't return a value on all code paths
- Next by Date: DataBindings problem
- Previous by thread: Re: Directly Passing Variables
- Next by thread: Found Good Example: Directly Passing Variables
- Index(es):
Relevant Pages
|