Re: Directly Passing Variables



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.





.



Relevant Pages

  • Re: Directly Passing Variables
    ... I have also tried and it does work - to write to the Log File. ... Somehow windows stores the Log even after you delete it from registery and ... Currently my solution is that the 1 exe writes a text file and the other ... Perhaps you could create a pipe or message queue? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: CUPS, Sarge/Debian/GNU/Linux and Mac OS X
    ... blocking port 631 on your linux box? ... # This is the CUPS configuration file. ... the access log file; if this does not start with a leading / ... determines whether the scheduler will allow new printers ...
    (Debian-User)
  • Re: FTP Send Port doesnt transmit messages!
    ... < 230 User TestSFTP logged in. ... retransmitted after the retry interval specified for this Send Port. ... The "FTP" adapter is suspending an outbound message going to destination ... The log file shows only the above text repeated three times!!! ...
    (microsoft.public.biztalk.general)
  • Re: IIS 6 - post problem at port 80
    ... Are you sure that your ISP/network-environment is not blocking port 80 ... Please check your W3SVC log file to see if the POST request is in the log ...
    (microsoft.public.windows.server.security)
  • Re: krdc error when trying to connect
    ... The log file may be in the ... I'm using guarddog too. ... Port 427 is used by the SLP and SLP is used by krdc ... I have enabled port 427 in every zone and yet I still get the error message. ...
    (comp.windows.x.kde)